GET/desk/api/v2/ticketsources.json

Get a paginated list of ticketsources.

The following values are allowed in the filter query parameter:

  • createdAt
  • createdBy
  • deletedAt
  • deletedBy
  • displayOrder
  • icon
  • id
  • name
  • state
  • ticketCount
  • updatedAt
  • updatedBy

The following values are allowed in the orderBy query parameter:

  • createdAt

  • createdBy

  • deletedAt

  • deletedBy

  • displayOrder

  • displayOrder

  • icon

  • id

  • name

  • state

  • ticketCount

  • updatedAt

  • updatedBy

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • users

  • all

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • 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

TicketSourcesAPIBody
{  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",        "createdAt": "2024-10-18T23:59:26.491Z",