Traffilog API

Version :

Date :

General

  • Authentication : All API's required a valid session token ,a token can be received by calling the Login API with valid credentials ( user & password)
  • Protocol : Access is over HTTPS , the supported methods are POST & GET.
    Each request must be include the following http header :

    Content-Type:application/x-www-form-urlencoded

  • Dates : All dates are UTC + DLS (day light saving) without offset . it is the consumer responsibility to add/remove the offset both in the request and the response
    date format :

    yyyy-mm-ddThh:mi:ss.mmm

  • Encode : All response are URL ENCODED

  • Unit of measurement : Speed and Distance fields in each response are already converted to unit of measurement based on customer setting in Traffilog system :

    • Speed :

      • km/h

      • MPH

    • Distance :

      • KM

      • Miles

  • HTTP Status codes :

Type Description Code
Success server accept the request 200
Forbidden request was sent without a valid session 403
Not Found incorrect request structure or missing mandatory parameter 404
Server Error server failure 500
  • End Point URL : Request should be sent to the following URL:

https://<<sever name>>/appengine_3/5E1DCD81-5138-4A35-B271-E33D71FFFFD9/1/json

in order to get you server name please contact your Traffilog contact

  • Response format : Response are always in json structure and always includes 2 generic parameter :
    • "action_value" : indicate the applicative response code , list of an action_value options separatelyspecified in each API
    • "description" : description of the action_value

results matching ""

    No results matching ""