Takeover action from Service Desk
Release Time
06/07/2018
Views
8780 times
Category
ITSM
Tags
No results found.
An interface with which to generate the takeover link.
Scheme
https
Host
Valid ITSM host (example: subdomain-msp.cmdm.comodo.com )
Path
/api/rest/v1/web-rtc/remote-control – the actual path
/api/rest/v1/web-rtc/ccv – deprecated
Method | POST |
Content-Type | JSON (application/json) |
Request Headers
Key | Value | Description |
x-auth-type | 2 | Authentication type identifier |
x-auth-token | sso-token | Authentication SSO token |
Request Parameters
Name | Type | Required | Description | Limitation |
mdmTokens |
JSON Array | required | Array of devices mdm-tokens | count - min 1, max 10 |
mdmTokens[] |
String | required | Device mdm-token |
Response Parameters
Name | Type | Required | Description | Limitation |
status | Integer | required | Device status |
Possible values are:
|
message | String | optional | CRC or CCV link for Windows XP/Server 2003 | Meet when status = 1 |
See the below link for details:
- Comodo ONE 3rd Party Authentication API Definition
- Token Renew Service
- Token Validation Service
- Usage of Access Token
Execution
Sample execution can be handled via Postman Application.
9
1
{
2
"mdmTokens": [
3
"some_token_0", // in this example: online and not deleted device
4
"some_token_1", // in this example: offline device
5
"some_token_2" // in this example: deleted device
6
"some_token_3" // in this example: not supported device
7
"some_token_4" // token out of scope
8
]
9
}
Header part can be handled via Postman Application
1
1
Success Output
18
1
{
2
"some_token_0": {
3
"status": 1,
4
"message": "crc://some_token_0..."
5
},
6
"some_token_1": {
7
"status": 2
8
},
9
"some_token_2": {
10
"status": 3
11
},
12
"some_token_3": {
13
"status": 4
14
},
15
"some_token_4": {
16
"status": 5
17
}
18
}
Error Output
5
1
Code Reason
2
200 Ok.
3
400 Bad request. Returns if mdmTokens is not provided or empty. Also you can get this error when required headers is missing
4
401 Unauthorized. Returns if x-auth-token is not provided
5
403 Forbidden. Returns if authentication failed