##Description
This service passes fuel tank levels through the Data Delivery service whenever a fuel authorization event occurs. In the event the truck has stopped at a fueling location, the fuel authorization event information can be used to validate that all fuel purchased was delivered to the vehicle.
[[SQS]]
p.{companyId}.mos.fuelauthorization
###Schema
Important! JSON standards and attributes may change at any time. Follow industry best practices and standards to ensure that your application gracefully handles new elements and other small changes to this service. It is also a good idea to periodically check this documentation, PeopleNet Integration/Link Newsletters, or work with your PeopleNet Integration contact to ensure you are using the latest standards for your data. If large structural changes are required for this service, they will be implemented in such a way as to preserve the existing functionality.
{
"type": "object",
"properties": {
"version": {
"type": "Number",
"description": "Version of the JSON file format."
},
"type": {
"type": "String",
"description": "Name of Service."
},
"companyId": {
"type": "String",
"description": "Company number."
},
"dsn": {
"type": "String",
"description": "Device Serial Number."
},
"vehicleNumber": {
"type": "String",
"description": "Vehicle number."
},
"sentDateTime": {
"type": "String",
"description": "Date and time the event was sent."
},
"effectiveDateTime": {
"type": "String",
"description": "Date and time the event was created on the OBC"
},
"eventType": {
"type": "String",
"description": "Type of event"
},
"gpsQuality": {
"type": "String",
"description": "Current GPS quality"
},
"driverId": {
"type": "String",
"description": "PFM Driver ID that uniquely identifies the responsible driver within the PeopleNet system"
},
"driverLoginId": {
"type": "String",
"description": "Driver Login ID"
},
"latitude": {
"type": "String",
"description": "Latitude."
},
"longitude": {
"type": "String",
"description": "Longitude"
},
"odometer": {
"type": "String",
"description": "Odometer"
},
"fuelTank1Level": {
"type": "String",
"description": "Fuel Tank Level 1"
},
"fuelTank2Level": {
"type": "String",
"description": "Fuel Tank Level 2"
}
}
}
###EXAMPLE: JSON for Fuel Authorization
{
"version": "1.00",
"type": "Fuel Authorization",
"companyId": "1821",
"dsn": "1007334",
"vehicleNumber": "1007334",
"sentDateTime": "05/16/12 15:54:32",
"effectiveDateTime": "02/24/12 18:56:30",
"eventType": "2",
"gpsQuality": "3",
"driverId": "123456",
"driverLoginId": "JDOE",
"latitude": "44.9217465",
"longitude": "-93.4490447",
"odometer": "143343.7",
"fuelTank1Level": "100.0",
"fuelTank2Level": "100.0"
}