Query a device information by identifier
HTTP request
GET /api/device/{deviceId}
Path parameters
Parameter | Type | Description |
---|---|---|
deviceId | string | Device identification |
Headers
Parameter | Value | Description |
---|---|---|
Authorization | Bearer {token} | Token generated on authentication |
Response body
{
"success": true,
"error": "string",
"device": {
"id": "string",
"name": "string",
"description": "string",
"min": "string",
"tags": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"expires": "2022-10-30T17:02:08.433Z"
}
}
Parameter | Type | Description |
---|---|---|
success | bool | Return if operation was successful |
error | string | Text with description of the error |
device | object | |
device.id | string | Device identifier |
device.name | string | Device name |
device.descripcion | string | Device description |
device.min | string | Device phone number |
device.tags | object | Additional device information |
device.expires | datetime | Device expiration date |
Índice
- Welcome to ALTAGAMA GPS help
- Map
- Reports
- Left panel
- Show Route
- GeoFences
- Alerts
- Mileage Calculation
- Atributes
- Enable map notifications
- Statistics
- Devices
- Alerts
- Enable Telegram notifications
- Email alerts sending limits
- Groups
- Share Access
- Users
- Settings
- SMS
- Activation Code
- Line Renewal
- Points redemption
- Developers
- API Activation
- Rest API
- Authentication
- Devices
- Device
- Last Location
- Locations
- Alerts
- Embed on my website
- Embed the map on my website
- Mobile App
- Advanced Mobile App
- Mobile application with push notifications
- API (Obsolete)
- Operations and results
- Format of requests and responses
- Example
- Sample Codes