GET | /spytec/behaviours/status | Get device behaviour status. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TaskId | query | string | Yes | The Imei of the GPS device. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | BehaviourStatusResult | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Success | form | bool | No | |
Message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Status | form | string | No | |
CompletionPercentage | form | string | No | |
Imeis | form | List<BehaviourStatusResultItem> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Imei | form | string | No | |
Status | form | string | No | |
CompletionPercentage | form | string | No | |
commandStatuses | form | List<CommandStatus> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CommandId | form | string | No | |
Status | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /spytec/behaviours/status HTTP/1.1 Host: api.paylock.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"result":{"status":"String","completionPercentage":"String","imeis":[{"imei":"String","status":"String","completionPercentage":"String","commandStatuses":[{"commandId":"String","status":"String"}]}]},"success":false,"message":"String"}