Tickets / List

Returns all tickets.

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/tickets

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
filterDTO_ticket_filterQuery

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_ticket[]

Wrapper: DTO_response_wrap_get_many

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_ticket_filter
NameTypeReadOnlyDescription
include_hiddenBooleanInclude hidden
sort_by_keyStringSort by key
response_field_keysString[]Response field keys
filtersString[]Filters
include_aggregationsBooleanInclude aggregations
include_importedBooleanInclude imported
searchStringSearch
sort_orderENUM sort_orderSort order
takeInt32Take
pageInt32Page
DTO_ticket
NameTypeReadOnlyDescription
idInt32ReadOnlyId
groupDTO_referenceGroup
assigneeDTO_referenceAssignee
requesterDTO_contactRequester
createdDateTimeReadOnlyCreated
created_byDTO_reference_userReadOnlyCreated by
last_updatedDateTimeReadOnlyLast updated
last_updated_byDTO_reference_userReadOnlyLast updated by
last_messageDateTime (nullable)ReadOnlyLast message
reply_countInt32ReadOnlyReply count
reply_historyDTO_ticket_reply_history[]ReadOnlyReply history
sys_priorityDTO_referenceSys priority
sys_statusDTO_referenceSys status
sys_subjectStringSys subject
sys_content_richDTO_rich_textSys content rich
suggested_reply_statusENUM suggested_reply_statusSuggested reply status
sys_attachmentsDTO_reference_attachment[]Sys attachments
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_contact
NameTypeReadOnlyDescription
user_idInt32User id
emailStringEmail
nameStringName
profile_picStringProfile pic
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_ticket_reply_history
NameTypeReadOnlyDescription
byDTO_reference_userBy
idInt32Id
typeENUM ticket_conversation_typeType
createdDateTimeCreated
DTO_rich_text
NameTypeReadOnlyDescription
plain_previewStringReadOnlyPlain preview
htmlStringHtml
editorjsDTO_editorjsEditorjs
read_minutesInt32Read minutes
DTO_editorjs
NameTypeReadOnlyDescription
timeInt64Time
versionStringVersion
blocksDTO_editorjs_block[]Blocks
DTO_editorjs_block
NameTypeReadOnlyDescription
idStringId
typeStringType
dataObjectData
DTO_reference_attachment
NameTypeReadOnlyDescription
size_kbInt32ReadOnlySize kb
statusENUM attachment_statusReadOnlyStatus
status_messageStringReadOnlyStatus message
download_urlStringReadOnlyDownload url
idInt32Id
labelObjectReadOnlyLabel
ENUM ticket_conversation_type
ValueNameDescription
0UNKNOWNUNKNOWN
1REPLY_INBOUNDREPLY_INBOUND
2NOTE_PRIVATENOTE_PRIVATE
3NOTE_PUBLICNOTE_PUBLIC
4FORWARDFORWARD
5REPLY_OUTBOUNDREPLY_OUTBOUND
6SUGGESTED_REPLYSUGGESTED_REPLY
ENUM attachment_status
ValueNameDescription
0UNKNOWNUNKNOWN
1UNAVAILABLEUNAVAILABLE, processing in progress
2OKOK
3WARNINGWARNING
4ERRORERROR
ENUM sort_order
ValueNameDescription
0ASCASC
1DESCDESC
ENUM suggested_reply_status
ValueNameDescription
0UNKNOWNUNKNOWN
1IN_PROGRESSIn progress
2DONEDone
3ERROR_NO_KNOWLEDGEError no knowledge
4ERROR_UNKNOWNError unknown