Event type
Every event type the history can contain, with localized descriptions.
This operation lists every event type an event history entry can carry, each with a human-readable description in the requested locale.
The values it returns are what the events filter on the history list operations accepts, and what the event field of a history entry holds. An integration that renders a history feed needs this list to label the entries it shows.
API actions
API base path: /history/type.
Operations that list no errors of their own return only the general error codes.
Return every event type the history can contain, with a human-readable description of each.
The type values here are what the events filter on the history list operations accepts, and what the event field of a history entry carries.
Callable with an empty body.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
Locale code setting the language of the descriptions.
Optional. Default true. Return only tracker-type events.
The event types
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
POST /v2/history/type/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"locale": "text",
"only_tracker_events": true
}{
"success": true,
"list": [
{
"type": "text",
"description": "text"
}
]
}Last updated
Was this helpful?