Mertrack API docs

#Event type

#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

curl -X POST 'https://api.mergroup.be/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