v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

List all the active subscriptions

get/v1/freight_visibility/vehicle_subscriptions

Query parameters

company_idstring

Specify the ID of the company as assigned by Motive.

dot_idstring

dot_id

vehicle_idstring

Specify the ID of the vehicle for which you want to check the subscription info.

vehicle_namestring

Specify the name of the vehicle whose subscription info you want to view.

Response

200

Example response

{
  "pagination": {
    "per_page": 100,
    "page_no": 1,
    "total": 2
  },
  "data": {
    "company_id": "KT9550208",
    "dot_ids": [
      "4y5gd8ka8n"
    ],
    "vehicle_subscriptions": [
      {
        "vehicle_id": "954",
        "vehicle_name": "vehicle_a",
        "subscriptions": [
          {
            "tracking_subscription_id": 341,
            "start_time": "2020-05-06T18:32:59Z",
            "end_time": "2020-05-08T18:32:59Z"
          }
        ]
      }
    ]
  }
}