Get Customer Tickets
This end point returns the list of Tickets by the provided CustomerId.
| GET /customers/<customerId>/tickets
|
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 |
Path Param |
Type |
Required |
Description |
customerId |
string |
Required |
Unique identifier for customer |
Output
This endpoint returns an array of TicketResponse.
Example
Request
| GET /v1/customers/12896/tickets
|
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"
}
}
]
|