Favicon

You are here: Home > API Reference > Windows > Windows Commands > Get winCommand actions by Id or Slug

Get winCommand actions by Id or Slug

Get winCommand actions by Id or Slug

GET
/v1/organizations/:organizationId/mdm/windows/enterprise/devices/:winDeviceId/commands/:winCommandId/actions
Copy to clipboard

Get winCommand actions by Id or Slug

Get winCommand actions by Id or Slug

Request

Add parameter in header authorization
Example: Authorization: Bearer <token>
organizationId string
required
Entity Id or Slug
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
winDeviceId string
required
Entity Id, IMEI or Serial Number
Match pattern: ^(([a-fA-F0-9]{24})|(\w{1,}))$
winCommandId string
required
Entity Id
Match pattern: ^[a-fA-F0-9]{24}$
page integer
optional
Page number
limit integer
optional
Number of elements by page
sort string
optional
Match pattern: ^[\w.]*((:asc)|(:desc))?$

Responses

200 Response application/json
status boolean optional
data object optional
items array [object] optional
path string required
≤ 500 characters
action string required
Add Copy Delete Exec Get Replace
value string optional
≤ 500 characters
format string optional
b64 bin bool chr int node null xml date time float
totalDocs integer optional
≥ 0
{
    "status": true,
    "data": {
        "items": [
            {
                "path": "string",
                "action": "Add",
                "value": "string",
                "format": "b64"
            }
        ],
        "totalDocs": 0
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}