GetDriverEventActions
Overview
This method returns a list of Driver event actions.
Use this information to find and populate the required action for events in the API createDriverEvents.
Supplementary SWAGGER documentation is available here:
https://api.test.catch-e.com/docs/#/Driver%20%2F%20Events/getDriverEventActions
Permissions
To run this API, the nominated 'web-services' role needs to be given permission.
If you are not actively using the API, leave the permission off for better security.
Go to Roles / Apis and check on DriverEventActions:Get
HTTP Method
Use the HTTP Method 'GET' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/authenticate https://api.{{environment}}.catch-e.com/authenticate https://api.test.catch-e.com/fm/Driver-event-actions Parameters - Path Variables
Wildcard % operator notes:
If you are using "Postman" app, with the wildcard operator, the search string of either %ab% or %ba%, will give this response:
"field_name": {"isEmpty": "Value is required and can't be empty"}.If you need to search either %ab% or %ba%, please use %25ab%25 or %25ba%25 as required to return results as expected.
Successful Response Example
{ "_links": { "self": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/?page=1" }, "first": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/" }, "last": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/?page=1" } }, "_embedded": { "fm_driver_event_actions": [ { "driver_event_action_id": "100000", "name": "Closed", "_links": { "self": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/100000" } } }, { "driver_event_action_id": "100001", "name": "Follow Up", "_links": { "self": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/100001" } } }, { "driver_event_action_id": "100002", "name": "None", "_links": { "self": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/100002" } } }, { "driver_event_action_id": "100003", "name": "Urgent", "_links": { "self": { "href": "https://api.test.catch-e.com/fm/driver-event-actions/100003" } } } ] }, "page_count": 1, "page_size": 25, "total_items": 4, "page": 1 }Error Response Details
Was this helpful?
Still need help? Ask the team