API Reference - pims.vehicle.event-sendToNav
This api allows to be notified when a navigation is sent with pims.vehicle.destination
or when old navigation are removed from cache.
Events are received when a navigation is successfully sent to the vehicle or when a navigation is removed from cache (after 24h).
Input Parameter | |||||
---|---|---|---|---|---|
Param name | Description | Type | Unit/Values | Example | Required |
actionType | Action name, in this case |
String |
|
sendToNav
|
true |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
vin | Vehicle Identification Number |
String |
|
VR1AB12C3D4567890
|
Location | Location destination of the nav send. This field is returned when a navigation is successfully sent. |
Object |
/ |
|
Location
.latitude |
latitude value |
Double |
|
48.77232
|
Location
.longitude |
longitude value |
Double |
|
2.2151043
|
Location
.address |
address value |
String |
|
Rte de Gisy, 78140 VĂŠlizy-Villacoublay
|
userid | User id value. This field is returned when a navigation is successfully sent. |
String |
|
user@provider.tld
|
message | Deletion message. This field is returned when a navigation is deleted from cache. |
String |
|
Some locations have been removed.
|
Error | |
---|---|
Error Code | Error Label |
2001 | Facade not initialized |
2301 | Need Basic Authentication (to get CVS token) |