Get Archived Ticket List
GET {{baseUrl}}/api/v1/tickets/archivedTickets?departmentId=<long>
This API gets the archived tickets list in given department.
OAuth Scope
Desk.search.READ
Desk.tickets.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the tickets must be fetched | |
limit | string | Number of tickets to fetch | |
departmentId | string | ID of the department from which the tickets must be fetched | |
viewType | string | View Type - Supported Values 1 for Compact view , 2 for Classic view ,4 for Table View. If view type is not specified, Classic View will be the default view | |
include | string | Key that returns additional information related to a ticket. Values allowed are: contacts , products ,departments ,team ,isRead and assignee . All six values can be passed by separating them with a comma in the API request. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"ticketNumber":"836","sentiment":null,"subCategory":null,"statusType":"Closed","subject":"Subject updated by bulk update","isArchived":true,"dueDate":"2017-02-16T05:04:01.000Z","departmentId":"5853000000006907","channel":"Email","onholdTime":null,"source":{"appName":null,"extId":null,"permalink":null,"type":"SYSTEM","appPhotoURL":null},"closedTime":"2017-02-20T10:21:02.000Z","responseDueDate":null,"createdTime":"2017-02-15T08:23:11.000Z","id":"5853000001102037","email":"carol@zylker.com","channelCode":null,"customerResponseTime":"2017-02-15T08:23:11.000Z","productId":null,"contactId":"5853000000273060","threadCount":"6","lastThread":{"channel":"EMAIL","isDraft":true,"isForward":false,"direction":"out"},"priority":null,"layoutId":"5853000001987014","assigneeId":"5853000000281047","commentCount":"1","phone":"123421412125","webUrl":"https://desk.zoho.com/support/arunasales/ShowHomePage.do#Cases/dv/5853000001102037","teamId":null,"isSpam":false,"category":null,"status":"Closed"}]}