Skip to content

Get Tickets

This endpoint gets list of Tickets for the institute of logged in user.

1
GET /tickets?ticketIdType=<ticketIdType>

Input Parameters

Query Param Type Required Description
ticketIdType int Optional The type of the ticket to search. See the TicketIdType section for details
ticketId string Optional Unique identifier of the ticket for the given ticketId type
startDate string Optional Date string representing the from which date it should search for tickets
endDate string Optional Date string representing the to which date it should search for tickets

Output

This endpoint returns an array of TicketResponse.


Example

Request

1
GET /v1/tickets?ticketIdType=0

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
[
    {
        "ticketId": 55,
        "fiTicketId": "Test 123",
        "customerId": 12896,
        "ticketStatus": {
          "id": 2,
          "name": "Closed"
        },
        "comment": "Test comments",
        "cardlyticsComment": null,
        "goodwillAmount": null,
        "createDt": "2021-09-10T18:35:56.013",
        "createdBy": "Malt Tier2User1",
        "updateDt": null,
        "updatedBy": null,
        "resolutionType": {
          "id": 0,
          "name": "No Credit: Not eligible for reward"
        }
    }
]