The API returns the following responses.
| Response | Description |
|---|---|
| 200 | OK |
| 400 | Bad request. |
| 401 | Unauthorized. An API key was not provided. |
| 403 | Forbidden. The API key is not valid. |
| 404 | The service could not be reached. |
| 500 | Internal server error. |
Schema for response 200
Example
The example shows a single device in the
response. In real responses, all the devices of a subscription are returned.
[
{
"id": "urn:dev:ops:16961-DMU801-S1940040",
"serialNumber": "S1940040",
"name": "S1940040",
"productCode": "DMU801",
"location": {
"latitude": 22,
"longitude": 63,
"altitude": 2
},
"sensors": [
{
"id": "urn:dev:ops:16961-WXT536-S4131015",
"serialNumber": "S4131015",
"name": "WXT_1",
"productCode": "WXT536"
}
]
}
]