api.automapa.comv3 - tous les systèmes sont opérationnels

Récupérer le rapport d’excès

Speed.speedReportResult

Récupère le rapport d’infraction pour une trace soumise précédemment.

POST/v3/Speed/speedReportResultapi.automapa.com

Paramètres du body

Corps de la requêteTypeDescription
requestIDstring REQUISId returned by speedReport.
limitintegerMinimum severity category to include (default 1 = all).

Exemple de requête

{
    "requestID": "spd.220830.123557.0x7E10",
    "limit": 2
}

Exemple de réponse

{
    "result": {
        "requestID": "spd.220830.123557.0x7E10",
        "progress": 1,
        "reportURL": "https://reports.automapa.pl/r/spd.220830.123557.0x7E10",
        "overspeedingArray": [
            {
                "duration": 47,
                "length": 1280,
                "type": 3,
                "speedMax": 78.4,
                "speedAvg": 71.2,
                "urbanArea": true,
                "startLocation": "Warszawa, Traktorzystów",
                "endLocation": "Warszawa, Hynka",
                "speedLimit": 50
            }
        ]
    }
}

champs result

champs resultTypeDescription
requestIDstringEchoes the request id.
progressdouble<1 = still computing, 1 = complete.
reportURLstringOnline report URL.
overspeedingArray[].durationintegerViolation duration (s).
overspeedingArray[].lengthintegerDistance covered while speeding (m).
overspeedingArray[].typeintegerSeverity category 1–6.
overspeedingArray[].speedMaxdoublePeak speed.
overspeedingArray[].speedAvgdoubleAverage speed.
overspeedingArray[].urbanAreaboolInside built-up area.
overspeedingArray[].startLocationstringWhere the violation started.
overspeedingArray[].endLocationstringWhere the violation ended.
overspeedingArray[].speedLimitintegerLowest applicable limit during the violation.