GET/desk/api/v2/tickettypes.json

Get a paginated list of tickettypes.

The following values are allowed in the filter query parameter:

  • id
  • name
  • displayOrder
  • default
  • enabledForFutureInboxes
  • createdAt
  • updatedAt
  • createdBy
  • updatedBy
  • state

The following values are allowed in the orderBy query parameter:

  • inbox.id
  • id
  • name
  • displayOrder
  • default
  • enabledForFutureInboxes
  • createdAt
  • updatedAt
  • createdBy
  • updatedBy
  • state

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketTypesAPIBody is used when returning multiple ticket types with includes and pagination
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

TicketTypesAPIBody
{  "included": {    "inboxes": [      {        "autoReplyEnabled": true,        "autoReplyFromUserId": 0,        "autoReplyMessage": "string",        "autoReplySubject": "string",        "createdAt": "2024-04-24T00:52:20.157Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },        "deletedAt": "2024-04-24T00:52:20.157Z",        "deletedBy": {          "delete": true,