return to index

Tracking: Storing positions

The Nomadia software positions storage component can be addressed through its web services.

Target URL

The web service to call to store positions is available at: https://api.geoconcept.com/GEOLOC/record
Call this web service through a POST method:

Request headers

The authentication is achieved through the following HTTP headers:

Request body

The body of the request should contain a JSON object defining a list of positions for a given equipment external reference, such as:
{
  "positions" : [ {
    "lon" : 3.844786,
    "lat" : 43.612738,
    "speed" : 17.0,
    "heading" : 0.0,
    "batteryLevel" : 0.0,
    "status" : 0,
    "flags" : 4,
    "positionMethod" : 0,
    "accuracy" : 90.0,
    "time" : 1543406160000,
    "privateMode" : false
  } ],
  "extRef" : "GPS2"
}        

Response codes

Response body

In case of error, the response contains an explanation in a JSON object such as:
{
  "status" : "ERROR",
  "message" : "..."
}