api:iptv:mdmconfigs:create
Table of Contents
API : IPTV : MDM Config : Create
Introduction
This request will create a new MDM config.
Request
| URL | https://api.telecomx.dk/iptv/mdmconfig | ||
|---|---|---|---|
| Method | POST | ||
| Access level | ADMIN | ||
| Body | name | String | Name of MDM config. |
| mdm | String | Name of MDM this config is for. Allowed values are 'FLEXCARE', 'MOBILE_IRON', 'AIRWATCH', 'SCALEFUSION'. | |
| config | Object | The configuration itself. It varies between configurations. | |
Query example
{
_id: '12345678901234567890ABCD',
name: 'FlexCare standard configuration',
config: {},
mdm: 'FLEXCARE'
}
Response
The newly created MDM config.
| JSON object | ||
|---|---|---|
| _id | Id | Unique id of the TV channel. |
| name | String | Name of config. |
| mdm | String | Name of MDM this config is for |
| config | Object | The configuration itself. It varies between configurations. |
Note that properties holding no value may be omitted from the object.
Example
{ _id: '12345678901234567890ABCD', name: 'FlexCare standard configuration', config: {}, mdm: 'FLEXCARE' }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 422 | invalid_data | Invalid data |
| 500 | internal_error | <Unspecified> |
api/iptv/mdmconfigs/create.txt · Last modified: 2022/01/21 14:00 by Joakim Andersen