curl --request GET \
--url https://app.msportal.ai/api/public/v1/devices/locations/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>",
"deviceCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Retrieve a single location by ID with device count.
curl --request GET \
--url https://app.msportal.ai/api/public/v1/devices/locations/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"companyId": "<string>",
"companyName": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>",
"deviceCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}