Skip to main content
GET
/
notification
/
rule
/
{vehicle_id}
Get notification rules
curl --request GET \
  --url https://ctechnology.io/api/v2.2/notification/rule/{vehicle_id} \
  --header 'Authorization: <api-key>'
{
  "header": {
    "num_results": 123,
    "api_version": "<string>",
    "status": "<string>",
    "message": "<string>",
    "permission_via": [
      {
        "permission": "<string>",
        "via": "me",
        "organization_id": "<string>"
      }
    ],
    "offset": 123,
    "limit": 123
  },
  "data": [
    {
      "id": "<string>",
      "user_id": "<string>",
      "vehicle_id": "<string>",
      "operator": "NOTIF_OP_LT",
      "priority": "NOTIF_LOW",
      "property_indicator": "<string>",
      "value": 123,
      "value_key": "<string>",
      "tw_start": "<string>",
      "tw_end": "<string>",
      "tw_timezone": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.

Path Parameters

vehicle_id
string
required

ID of vehicle to retrieve notification rules for.

Response

Successful retrieval of the notification rules.

header
API Header Paginated · object
required

Default header sent along with multi-resource responses (lists of resources).

data
Notification Rule · object[]
required