{
  "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": "<p>Each kind of alert will have different fields for alert_config, specific config is below :</p>\n<p>“vehicle_numbers” : [], // array of vehicle number, wether this or id only one is processed, id first priority</p>\n<p>in all kind either use vehicle id or number whichever applicable.</p>\n<p><strong>Overspeed</strong><br />“kind”: “overspeed”,<br />“vehicleIds” : [], // array of vehicle ids<br />“includeAll” : “0”,<br />“alertConfig”:{<br />“speedLimit”: “200”,<br />“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": "<h3 id=\"update-vehicle-alert-subscriptions\">Update Vehicle Alert Subscriptions</h3>\n<p>This endpoint allows the user to update the alert subscriptions for vehicles.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>alertSubscriptions</code> (array of objects) - An array containing the details of alert subscriptions.</p>\n<ul>\n<li><p><code>id</code> (number) - The ID of the alert subscription.</p>\n</li>\n<li><p><code>kind</code> (string) - The type of alert subscription.</p>\n</li>\n<li><"
        }
      ]
    }
  ],
  "bundled": true
}