GET /devices/{serial_number}
Get device info
This endpoint provides detailed information about a specific device associated with the DTM account. By providing the serial number of the device, you can obtain detailed information about it.
Get device info
Authorizations
Path parameters
serial_numberstringRequired
serial_number
Responses
200
Successful operation
application/json
400
Invalid parameters
404
Device not found
get
GET /dtm-api/v1/devices/{serial_number} HTTP/1.1
Host: api.getdor.com
Authorization: Basic username:password
Accept: */*
{
"data": {
"serial_number": "AA000000",
"device_type_name": "DTM",
"board_id": "05555ee6f77c888e",
"firmware_version_name": "1.0.0",
"last_checkin_at": "2021-10-10T00:00:00Z",
"update_interval_s": 3000,
"location": {
"id": "loc_xxx",
"name": "Mike's Bikes"
}
},
"meta": {}
}
Last updated