List SLAs (POST)

Lists SLAs matching a filter.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
applies_tolist of enumsOptional
The object types the SLA applies to.
Allowed values:
applies_to_openumOptional
Allowed values:
cursorstringOptionalformat: "text"
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
limitintegerOptional
The maximum number of SLAs to return. The default is '50'.
modeenumOptional

The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.

Allowed values:
sla_typelist of enumsOptional
The SLA types the filter matches.
Allowed values:
sort_bylist of stringsOptional
Fields to sort the SLAs by and the direction to sort them.
statuslist of enumsOptional
The SLA statuses the filter matches.
Allowed values:

Response

Success.
slaslist of objects
The list of SLAs.
next_cursorstring or nullformat: "text"
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursorstring or nullformat: "text"
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.

Errors