Event type¶
Contains list method to get event types available to user with localized descriptions.
API actions¶
API path: /history/type
.
list
¶
Returns available history event types with localized descriptions.
Parameters¶
name | description | type |
---|---|---|
locale | Locale code to set language of descriptions. | enum |
only_tracker_events | Optional. Default is true . Will return only tracker type events if true . | boolean |
Example¶
curl -X POST 'https://api.navixy.com/v2/history/type/list' \
-H 'Content-Type: application/json' \
-d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "locale": "En-en"}'
Response¶
{
"success": true,
"list": [{
"type": "alarmcontrol",
"description": "Car alarm"
}]
}
type
- string. History event type.description
- string. Localized description.
Errors¶
- General types only.
Last update: August 7, 2024