APIs to manage Target Runs. Target run status descriptions
All Target runs for the Stage Run
Target run get error
{- "code": 0,
 - "message": "string",
 - "content": {
- "count": 0,
 - "previous": "string",
 - "next": "string",
 - "results": [
- {
- "id": "string",
 - "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315",
 - "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91",
 - "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428",
 - "command_id": "string",
 - "command_status": "string",
 - "command_meta": { },
 - "status": "pending",
 - "created_by": 0,
 - "updated_by": 0,
 - "created_at": "2019-08-24T14:15:22Z",
 - "updated_at": "2019-08-24T14:15:22Z",
 - "started_at": "2019-08-24T14:15:22Z",
 - "ended_at": "2019-08-24T14:15:22Z"
 
} 
] 
} 
}Created Target Runs
Target Run create error
{- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
 - "device_name": "string",
 - "device_alias": "string"
 
}{- "code": 0,
 - "message": "string",
 - "content": [
- {
- "id": "string",
 - "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315",
 - "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91",
 - "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428",
 - "command_id": "string",
 - "command_status": "string",
 - "command_meta": { },
 - "status": "pending",
 - "created_by": 0,
 - "updated_by": 0,
 - "created_at": "2019-08-24T14:15:22Z",
 - "updated_at": "2019-08-24T14:15:22Z",
 - "started_at": "2019-08-24T14:15:22Z",
 - "ended_at": "2019-08-24T14:15:22Z"
 
} 
] 
}Get target run
Operation get error
{- "code": 0,
 - "message": "string",
 - "content": {
- "id": "string",
 - "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315",
 - "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91",
 - "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428",
 - "command_id": "string",
 - "command_status": "string",
 - "command_meta": { },
 - "status": "pending",
 - "created_by": 0,
 - "updated_by": 0,
 - "created_at": "2019-08-24T14:15:22Z",
 - "updated_at": "2019-08-24T14:15:22Z",
 - "started_at": "2019-08-24T14:15:22Z",
 - "ended_at": "2019-08-24T14:15:22Z"
 
} 
}Updated Target Run run information
Target Run update error
Target Run update error
{- "status": "pending",
 - "device_name": "string"
 
}{- "code": 0,
 - "message": "string",
 - "content": {
- "id": "string",
 - "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315",
 - "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91",
 - "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428",
 - "command_id": "string",
 - "command_status": "string",
 - "command_meta": { },
 - "status": "pending",
 - "created_by": 0,
 - "updated_by": 0,
 - "created_at": "2019-08-24T14:15:22Z",
 - "updated_at": "2019-08-24T14:15:22Z",
 - "started_at": "2019-08-24T14:15:22Z",
 - "ended_at": "2019-08-24T14:15:22Z"
 
} 
}Command processor request status
Command request create error
{- "code": 0,
 - "message": "string",
 - "content": {
- "target_run_id": "0f2ab1df-1de3-4f85-b0b8-63282bf0d88f",
 - "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52",
 - "enterprise_id": "2dbe425a-b3bc-4170-8bae-9e5391aafea6",
 - "command": "string",
 - "command_type": "DEVICE",
 - "device_type": "all",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "schedule": "IMMEDIATE",
 - "args": { },
 - "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
 - "request_status": "string",
 - "request_status_reason": "string"
 
} 
}Created command processor request
Command request create error
{ }{- "code": 0,
 - "message": "string",
 - "content": {
- "target_run_id": "0f2ab1df-1de3-4f85-b0b8-63282bf0d88f",
 - "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52",
 - "enterprise_id": "2dbe425a-b3bc-4170-8bae-9e5391aafea6",
 - "command": "string",
 - "command_type": "DEVICE",
 - "device_type": "all",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "schedule": "IMMEDIATE",
 - "args": { },
 - "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
 - "request_status": "string",
 - "request_status_reason": "string"
 
} 
}Command processor request status
Target run command update error
{- "request_status": "cancelled"
 
}{- "code": 0,
 - "message": "string",
 - "content": {
- "target_run_id": "0f2ab1df-1de3-4f85-b0b8-63282bf0d88f",
 - "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52",
 - "enterprise_id": "2dbe425a-b3bc-4170-8bae-9e5391aafea6",
 - "command": "string",
 - "command_type": "DEVICE",
 - "device_type": "all",
 - "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
 - "schedule": "IMMEDIATE",
 - "args": { },
 - "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
 - "request_status": "string",
 - "request_status_reason": "string"
 
} 
}