Download OpenAPI specification:Download
The purpose of this application is to provide vehicles with a score based on their driving, values based upon quartix data.
For accessing the API a valid JWT token must be passed in all the queries in the 'Authorization Basic' header.
To generate a JWT, pass in the user_id
: user_id, and the api_key
: public key in the JWT payload,
using the private key to sign the token, using the HS256
algorithm. If doing manually add a :
to the JWT string
before base64 encoding the token. Most HTTP client libraries (guzzle, unirest etc) handle this automatically.
The following syntax must be used in the 'Authorization' header :
Basic: xxxxxx.yyyyyyy.zzzzzz
Security scheme type: | API Key |
---|---|
header parameter name: | Authorization |
List of vehicle driver style scores using vehicles in the same customer as the user id who made the request
from | string Example: 1514764800 The from journey date |
to | string Example: 1514764900 The to journey date |
List of journeyBehaviour scores
Generic Error
List of vehicle driver style scores using the supplied vehicle id and the time span
id required | integer Example: 1000 |
from | string Example: 1514764800 The from journey date |
to | string Example: 1514764900 The to journey date |
List of vehicleJourneyBehaviour scores
Generic Error
Get a driver and their driver score
id required | integer Example: 1000 |
Get a single driver
Generic Error
Assign driver id to journey
id required | integer Example: 1000 The unit id |
journey required | string Example: 1514764800 The journey date |
driver_id | integer The ID of the driver to assign |
Success response
Generic Error