• Home
  • Dynatrace API
  • Configuration
  • RUM
  • Mobile and custom app
  • User action and session properties
  • GET user session property

Mobile and custom app API - GET user session property

Gets the parameters of the specified user session property of an app.

The request produces an application/json payload.

GETManaged https://{your-domain}/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/userActionAndSessionProperties/{key}
SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile/{applicationId}/userActionAndSessionProperties/{key}
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/applications/mobile/{applicationId}/userActionAndSessionProperties/{key}

Authentication

To execute this request, you need an access token with Read configuration (ReadConfig) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
applicationIdstring

The ID of the required application.

pathrequired
keystring

The key of the required mobile session or user action property.

pathrequired

Response

Response codes

CodeTypeDescription
200MobileSessionUserActionProperty

Success

404-

Failed. The specified entity doesn't exist.

Response body objects

The MobileSessionUserActionProperty object

Configuration of the mobile session or user action property.

ElementTypeDescription
keystring

The unique key of the mobile session or user action property.

displayNamestring

The display name of the property.

Can be null.

typestring

The data type of the property.

The element can hold these values
  • DOUBLE
  • LONG
  • STRING
originstring

The origin of the property

The element can hold these values
  • API
  • SERVER_SIDE_REQUEST_ATTRIBUTE
aggregationstring

The aggregation type of the property.

It defines how multiple values of the property are aggregated.

The element can hold these values
  • AVERAGE
  • FIRST
  • LAST
  • MAX
  • MIN
  • SUM

Can be null.

storeAsUserActionPropertyboolean

If true, the property is stored as a user action property

Can be null.

storeAsSessionPropertyboolean

If true, the property is stored as a session property

Can be null.

cleanupRulestring

The cleanup rule of the property.

Defines how to extract the data you need from a string value. Specify the regular expression for the data you need there.

Can be null.

serverSideRequestAttributestring

The ID of the request attribute.

Only applicable when the origin is set to SERVER_SIDE_REQUEST_ATTRIBUTE.

Can be null.

namestring

The name of the reported value.

Only applicable when the origin is set to API.

Can be null.

Response body JSON model

json
{ "key": "string", "displayName": "string", "type": "DOUBLE", "origin": "API", "aggregation": "AVERAGE", "storeAsUserActionProperty": true, "storeAsSessionProperty": true, "cleanupRule": "string", "serverSideRequestAttribute": "string", "name": "string" }