{ "opencollection": "1.0.0", "info": { "name": "LocoNav Integration Alert Subscriptions API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "User-Authentication", "value": "{{User-Authentication}}", "placement": "header" } }, "items": [ { "info": { "name": "Alert Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Create Alert Subscriptions", "type": "http" }, "http": { "method": "POST", "url": "https://api.a.loconav.com/integration/api/v1/integration/api/v1/vehicles/alerts/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "

Each kind of alert will have different fields for alert_config, specific config is below :

\n

“vehicle_numbers” : [], // array of vehicle number, wether this or id only one is processed, id first priority

\n

in all kind either use vehicle id or number whichever applicable.

\n

Overspeed
“kind”: “overspeed”,
“vehicleIds” : [], // array of vehicle ids
“includeAll” : “0”,
“alertConfig”:{
“speedLimit”: “200”,
“minDurationInMinutes”: “100”," }, { "info": { "name": "Update Alert Subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://api.a.loconav.com/integration/api/v1/integration/api/v1/vehicles/alerts/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "

Update Vehicle Alert Subscriptions

\n

This endpoint allows the user to update the alert subscriptions for vehicles.

\n

Request Body

\n