GET /devices/services
Gets the status of the Hyper Precise Location service on a device
See also:
PUT /devices/services
- Enable/Disable Hyper Precise Location service on a device
A vz-m2m-token
is required to use these APIs. To obtain a token, please visit Getting Started to get a token.
GET https://thingspace.verizon.com/api/hyper-precise/v1/devices/services?imei={imei}&accountNumber={accountNumber}
Parameter | Data Type | Description |
---|---|---|
accountNumber required |
string | The account the device belongs to. |
imei required |
string | The International Mobile Equipment Identifier of the device. |
Example request:
curl -X 'GET' \
'https://thingspace.verizon.com/api/hyper-precise/v1/devices/services?imei={imei}&accountNumber={accountNumber}' \
-H 'accept: application/json' \
-H 'VZ-M2M-Token: {token}'
Status 200
A successful request returns the status of Hyper Precise Location on the device
Example Response:
{
"accountNumber": "string",
"deviceList": [
{
"imei": "string",
"BullseyeEnable": true
}
],
}
Parameter | Data Type | Description |
---|---|---|
accountNumber | string | The account the device belongs to. |
deviceList | array | An array of the following parameters: |
imei | string | The International Mobile Equipment Identifier of the device. |
BullseyeEnable | Boolean | Shows if Hyper Precise is enabled (true) or disabled (false). |
Code and Meaning | Format |
---|---|
400 - Bad Request. |
|
401 - Unauthorized request. Access token is missing or invalid. |
|
403 - Forbidden request. |
|
404 - Bad request. Not found. |
|
409 - Bad request. Conflict state. |
|
500 - Internal Server Error. |
|