api.automapa.comv3 - all systems normal

Submit GPS track for analysis

Speed.speedReport

Submits a recorded track for speed-violation analysis. Returns a requestID used to poll the result.

POST/v3/Speed/speedReportapi.automapa.com

Body parameters

BodyTypeDescription
objIDstring REQUIREDObject id.
objNamestring REQUIREDObject name.
objGroupstringGroup name the object belongs to.
pointsobject[] REQUIREDGPS samples { x, y, t (unix seconds) }.

Example request

{
    "objID": "truck-09",
    "objName": "Volvo FH",
    "objGroup": "fleet-A",
    "points": [
        {
            "x": 21.001,
            "y": 52.227,
            "t": 1747349800
        },
        {
            "x": 21.005,
            "y": 52.229,
            "t": 1747349830
        }
    ]
}

Example response

{
    "result": {
        "requestID": "spd.220830.123557.0x7E10",
        "objID": "truck-09"
    }
}

result fields

result fieldsTypeDescription
requestIDstringToken used to fetch the report.
objIDstringEchoes the submitted object id.