Creates a new mobile or custom app.
The request consumes and produces an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/applications/mobile |
To execute this request, you need an access token with WriteConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The JSON body of the request. Contains the parameters of the new mobile or custom application.
NewMobileCustomAppConfig
objectConfiguration of a mobile or custom application to be created.
Apdex configuration of a mobile or custom application.
A duration less than the tolerable threshold is considered satisfied.
The UUID of the application.
It is used only by OneAgent to send data to Dynatrace.
The type of the application.
CUSTOM_APPLICATION
MOBILE_APPLICATION
The type of the beacon endpoint.
CLUSTER_ACTIVE_GATE
ENVIRONMENT_ACTIVE_GATE
INSTRUMENTED_WEB_SERVER
The URL of the beacon endpoint.
Only applicable when the beaconEndpointType is set to ENVIRONMENT_ACTIVE_GATE
or INSTRUMENTED_WEB_SERVER
.
The percentage of user sessions to be analyzed.
Custom application icon.
Mobile apps always use the mobile device icon, so this icon can only be set for custom apps.
AMAZON_ECHO
DESKTOP
EMBEDDED
IOT
MICROSOFT_HOLOLENS
UFO
USERS
The name of the application.
The opt-in mode is enabled (true
) or disabled (false
).
This value is only applicable to mobile and not to custom apps.
The session replay is enabled (true
) or disabled (false
).
This value is only applicable to mobile and not to custom apps.
Deprecated. Please use sessionReplayEnabled
to enable or disable session replay for mobile apps.
MobileCustomApdex
objectApdex configuration of a mobile or custom application.
A duration less than the tolerable threshold is considered satisfied.
Apdex error condition: if true
the user session is considered frustrated when an error is reported.
Apdex frustrated threshold, in milliseconds: a duration greater than or equal to this value is considered frustrated.
Apdex tolerable threshold, in milliseconds: a duration greater than or equal to this value is considered tolerable.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"apdexSettings": {"frustratedOnError": true,"frustratingThreshold": 1,"toleratedThreshold": 1},"applicationId": "string","applicationType": "CUSTOM_APPLICATION","beaconEndpointType": "CLUSTER_ACTIVE_GATE","beaconEndpointUrl": "string","costControlUserSessionPercentage": 1,"iconType": "AMAZON_ECHO","name": "string","optInModeEnabled": true,"sessionReplayEnabled": true,"sessionReplayOnCrashEnabled": true}
Success. The application has been created. The response contains the identifier and name of the new application.
EntityShortRepresentation
objectThe short representation of a Dynatrace entity.
A short description of the Dynatrace entity.
The ID of the Dynatrace entity.
The name of the Dynatrace entity.
{"description": "Dynatrace entity for the REST API example","id": "6a98d7bc-abb9-44f8-ae6a-73e68e71812a","name": "Dynatrace entity"}
We recommend that you validate the payload before submitting it with an actual request. A response code of 204 indicates a valid payload.
The request consumes an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/mobile/validator |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/applications/mobile/validator |
To execute this request, you need an access token with WriteConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Success. The submitted configuration is valid. Response doesn't have a body.