GET/desk/api/v2/tickets/activities.json

Get a paginated list of ticketactivities.

The following values are allowed in the filter query parameter:

  • id
  • createdAt

The following values are allowed in the orderBy query parameter:

  • tickets.status
  • id
  • createdAt

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketActivitiesAPIBody handles the listing response for activity.
  • 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

TicketActivitiesAPIBody
{
  "activities": [
    {
      "childTicket": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "color": "string",
      "createdAt": "2024-07-19T16:54:08.544Z",
      "createdBy": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "customer": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "deletedAt": "2024-07-19T16:54:08.544Z",
      "deletedBy": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "eventType": "string",
      "filter_args": {
        "aggregate": {
          "Distinct": true,
          "Field": "string",
          "Operation": "string"
        },
        "bulkDryExecute": true,
        "fields": [
          "string"
        ],
        "filter": [
          "string"
        ],
        "id": 0,
        "ids": [
          0
        ],
        "includes": [
          "string"
        ],
        "orderBy": "string",
        "orderMode": "asc",
        "page": 0,
        "pageOffset": 0,
        "pageSize": 0,
        "skipAggregation": true
      },
      "icon": "string",
      "id": 0,
      "inbox": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "mergedTicket": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "message": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "oldInbox": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "priority": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "source": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "state": "string",
      "status": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "targetAgent": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "task": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "ticket": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "type": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "updatedAt": "2024-07-19T16:54:08.544Z",
      "updatedBy": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      }
    }
  ],
  "included": {
    "users": [
      {
        "autoFollowOnCC": true,
        "avatarURL": "string",
        "createdAt": "2024-07-19T16:54:08.544Z",
        "createdBy": {
          "delete": true,
          "id": 0,
          "meta": {},
          "type": 0
        },
        "deletedAt": "2024-07-19T16:54:08.544Z",
        "deletedBy": {
          "delete": true,
          "id": 0,
          "meta": {},
          "type": 0
        },
        "editMethod": "string",
        "email": "string",
        "filter_args": {
          "aggregate": {
            "Distinct": true,
            "Field": "string",
            "Operation": "string"
          },
          "bulkDryExecute": true,
          "fields": [
            "string"
          ],
          "filter": [
            "string"
          ],
          "id": 0,
          "ids": [
            0
          ],
          "includes": [
            "string"
          ],
          "orderBy": "string",
          "orderMode": "asc",
          "page": 0,
          "pageOffset": 0,
          "pageSize": 0,
          "skipAggregation": true
        },
        "firstName": "string",
        "id": 0,
        "isAppOwner": true,
        "isPartTime": true,
        "lastName": "string",
        "ldKey": "string",
        "onboarding": {
          "addedFirstInbox": true,
          "bookmarkPage": true,
          "checkDeskHelpSite": true,
          "checkSampleInbox": true,
          "dismissedWelcome": true,
          "exploreHelpsites": true,
          "exploreReports": true,
          "inviteTeam": true,
          "repliedToFirstTicket": true,
          "reviewedCompanySettings": true,
          "reviewedProfile": true
        },
        "projectsCompanyId": 0,
        "reviewer": true,
        "role": "string",
        "sendPushNotifications": true,
        "sendWebNotifications": true,
        "state": "string",
        "ticketReplyRedirect": "string",
        "timeFormatId": 0,
        "timezoneId": 0,
        "trainingWheelsEnrollment": {
          "delete": true,
          "id": 0,
          "meta": {},
          "type": 0
        },
        "updatedAt": "2024-07-19T16:54:08.544Z",
        "updatedBy": {
          "delete": true,
          "id": 0,
          "meta": {},
          "type": 0
        }
      }
    ]
  },
  "meta": {
    "page": {
      "count": 0,
      "hasMore": true,
      "hasMorePages": true,
      "page": 0,
      "pageOffset": 0,
      "pageSize": 0,
      "pages": 0,
      "records": 0
    }
  },
  "pagination": {
    "count": 0,
    "hasMore": true,
    "hasMorePages": true,
    "page": 0,
    "pageOffset": 0,
    "pageSize": 0,
    "pages": 0,
    "records": 0
  }
}