OnDemand

In this method, the on-demand distribution category is assigned to the device. The app is installed once, with continual re-installation not being required.

HTTP Method - POST

Adds a new device to the on-demand distribution list and attempts to install the app on the targeted device as soon as possible.

POST Method

Request URI

POST /targetDevice/external

Adds a device to the system for on-demand distribution of the specified apps (package IDs).

Header Parameters

Name Type Description

Authorization

String

Use the Bearer <access-token> value determined during the Authentication process.

Request Body Parameters

Name Type Description
api-version

String

The current API version number.

Example Response

{
  "device": {
    "agentId": "string",
    "discoveryId": "string",
    "displayName": "string",
    "domain": "string",
    "platform": "string",
    "os": "string",
    "deviceType": "string",
    "addedDate": "2024-08-28T06:52:27.990Z",
    "addedUser": "string",
    "addedUserId": "string",
    "addedUserName": "string"
  },
  "packageIds": [
    "string"
  ]
}