Device Status Dashboard¶
Based on Trip id, you can get more detailed information of a single trip. This api is coming soon.
Get complete status of the device.
Request¶
POST https://amberdomain.xyz/v1/openapi/customersupportdashboard
Rasie a request to support@amberconnect.com and gain the api access.
Accept: application/json
- DeviceOffset - Mandatory, Default=0
- AmberAuthToken - Mandatory, Amber device’s unique QR code.
- APIKey - Mandatory
- Currency - Optional parameter. Default to User’s Currency. ISO Currency code list can be found in the another api endpoint under settings.
- DistanceUnit - “kms” or “mi” Optional parameter. Default to User’s measurement unit.
Response¶
HTTP/1.1 200 OK
Content-Type: application/json
{
"success":"Y",
"Items":{
"Latitude":"11.02124",
"Longitude":"77.01998",
"Address":"periyar nagar, Coimbatore",
"ParkingFlag":"Y",
"DateTime":"2017-05-17 12:51:48",
"IMEI":"0358899054022275",
"PhoneNumber":"123456",
"LastTripDetails":{
"success":"Y",
"Trips":[
{
"Id":"******N3GA****4524",
"TripStartPoint":"Avinashi Road, Coimbatore, TN",
"TripEndPoint":"Office",
"StartTime":"2017-04-07 05:45:25",
"EndTime":"2017-04-07 06:31:48",
"Distance":"16.1",
"TopSpeed":"60",
"Duration":"0.77",
"Idle":"0.29",
"Polyline":"a",
"LatLong":{
"StartPointLat":"11.024013333333",
"StartPointLong":"77.006337777778",
"EndPointLat":"11.02111",
"EndPointLong":"77.019937777778",
"MapsImage":"http:\/\/maps.image"
}
}
]
},
"Name":"Demo",
"GSMSignal":"3",
"DeviceStatus":"Y",
"AppStatus":"Y",
"UserMappedStatus":"1",
"DeviceType":"WGPS",
"SubType":"TR06",
"SimActivateFlag":"N",
"AmberModel":"AMB363",
"FleetId":"651187",
"Email":"demo@amberconnect.xyz",
"SubscriptionStartTime":"2017-02-02 06:18:54",
"SubscriptionEndTime":"2033-01-05 09:43:08",
"ShieldSubscriptionStartTime":"2017-01-05 09:43:08",
"ShieldSubscriptionEndTime":"2034-01-05 09:43:08",
"Voltage":"5",
"TeleCutStatus":"ON",
"TotalVoltage":"6",
"LastAlerts":[
{
"Message":"Urgent! Wired India is being towed near Access Road, Coimbatore",
"Image":"http:\/\/amberdomain.xyz\/vibration.png",
"HighlightText":[
{
"Text":"tow alert"
}
],
"NotificationType":"MOVINGALERT",
"DateCreated":"2017-08-10 06:55:04"
},
{
"Message":"Urgent! Wired India is being towed near Access Road, Coimbatore",
"Image":"http:\/\/amberdomain.xyz\/vibration.png",
"HighlightText":[
{
"Text":"tow alert"
}
],
"NotificationType":"MOVINGALERT",
"DateCreated":"2017-08-10 06:23:42"
},
{
"Message":"Urgent! Wired India is being towed near Access Road, Coimbatore",
"Image":"http:\/\/amberdomain.xyz\/vibration.png",
"HighlightText":[
{
"Text":"tow alert"
}
],
"NotificationType":"MOVINGALERT",
"DateCreated":"2017-08-04 07:10:05"
},
{
"Message":"Urgent! Wired India is being towed near Access Road, Coimbatore",
"Image":"http:\/\/amberdomain.xyz\/vibration.png",
"HighlightText":[
{
"Text":"tow alert"
}
],
"NotificationType":"MOVINGALERT",
"DateCreated":"2017-08-04 07:08:02"
},
{
"Message":"Urgent! Wired India is being towed near Access Road, Coimbatore",
"Image":"http:\/\/amberdomain.xyz\/vibration.png",
"HighlightText":[
{
"Text":"tow alert"
}
],
"NotificationType":"MOVINGALERT",
"DateCreated":"2017-08-01 09:25:36"
},
{
"Message":"Alert! Wired India Stolen Vehicle Recovery request Closed",
"Image":"http:\/\/amberdomain.xyz\/help_king.png",
"HighlightText":[
{
"Text":"Stolen Vehicle Recovery"
}
],
"NotificationType":"RECOVERYCLOSED",
"DateCreated":"2017-07-21 13:44:05"
},
{
"Message":"Urgent! Wired India\u0027s device has been unplugged near Access Road, Coimbatore, Please check the device\u2019s connection",
"Image":"http:\/\/amberdomain.xyz\/plug@2x.png",
"HighlightText":[
{
"Text":"unplugged"
}
],
"NotificationType":"POWERCUT",
"DateCreated":"2017-07-21 13:41:07"
},
{
"Message":"Alert! Wired India Stolen Vehicle Recovery request Closed",
"Image":"http:\/\/amberdomain.xyz\/help_king.png",
"HighlightText":[
{
"Text":"Stolen Vehicle Recovery"
}
],
"NotificationType":"RECOVERYCLOSED",
"DateCreated":"2017-07-21 13:40:30"
},
{
"Message":"Alert! Wired India Stolen Vehicle Recovery request Closed",
"Image":"http:\/\/amberdomain.xyz\/help_king.png",
"HighlightText":[
{
"Text":"Stolen Vehicle Recovery"
}
],
"NotificationType":"RECOVERYCLOSED",
"DateCreated":"2017-07-21 12:31:30"
},
{
"Message":"Alert! Wired India Stolen Vehicle Recovery request Closed",
"Image":"http:\/\/amberdomain.xyz\/help_king.png",
"HighlightText":[
{
"Text":"Stolen Vehicle Recovery"
}
],
"NotificationType":"RECOVERYCLOSED",
"DateCreated":"2017-07-21 12:30:04"
},
{
"Message":"Alert! Wired India Stolen Vehicle Recovery request Closed",
"Image":"http:\/\/amberdomain.xyz\/help_king.png",
"HighlightText":[
{
"Text":"Stolen Vehicle Recovery"
}
],
"NotificationType":"RECOVERYCLOSED",
"DateCreated":"2017-07-21 12:29:59"
},
{
"Message":"Urgent! Wired India\u0027s device battery is low. Please charge your Amber Connect device.",
"Image":"http:\/\/amberdomain.xyz\/engine_battery.png",
"HighlightText":[
{
"Text":"battery is low"
}
],
"NotificationType":"LOWBATTERY",
"DateCreated":"2017-07-19 07:41:01"
}
],
"NightMode":[
{
"ModeType":"SentryModeType",
"NightModeUpdatedTime":"2017-08-10 05:10:09",
"Hours":"",
}
],
"DeviceName":"Wired India",
"BufferedTripsCount":"0",
"AmberAuthToken":"LJVPI9MYN3GA",
"TripCount":"1421",
"AlertsCount":"8018",
"HeartBeatPacketCount":"8",
"LastHeartBeatTime":"2017-05-17 12:48:31"
},
"ServerCurrentTime":"2017-09-05 17:48:35",
"ServerTimezone":"UTC",
"ServerTz":"UTC"
}