Soumettre une trace GPS
Speed.speedReport
Soumet une trace enregistrée pour analyse des excès de vitesse. Renvoie requestID pour récupérer le résultat.
Paramètres du body
| Corps de la requête | Type | Description |
|---|---|---|
objID | string REQUIS | Object id. |
objName | string REQUIS | Object name. |
objGroup | string | Group name the object belongs to. |
points | object[] REQUIS | GPS samples { x, y, t (unix seconds) }. |
Exemple de requête
{
"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
}
]
}Exemple de réponse
{
"result": {
"requestID": "spd.220830.123557.0x7E10",
"objID": "truck-09"
}
}champs result
| champs result | Type | Description |
|---|---|---|
requestID | string | Token used to fetch the report. |
objID | string | Echoes the submitted object id. |