Skip to content

Get Ticket By Id

This endpoint gets information on the Ticket by a ticketId. Which has all details that are provided for ticket creation.

1
GET /tickets/<ticketId>

Input Parameters

Path Param Type Required Description
ticketId string Required Unique identifier of the ticket

Output

This endpoint returns an array of TicketDetailsResponse.


Example

Request

1
GET /v1/tickets/90

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  "ticketId": 55,
  "offerResponses": [
    {
      "offerId": 1000023088,
      "offerStatus": {
        "id": 6,
        "name": "NotActivated"
      },
      "startDt": "2021-09-07T00:00:00",
      "endDt": "2021-12-31T00:00:00",
      "redemptionStartDt": "2021-09-07T00:00:00",
      "redemptionEndDt": "2022-01-01T00:00:00",
      "minSpend": 0.2,
      "minVisit": 1,
      "isCumulative": false,
      "isMultipleReward": false,
      "redeemedCount": 0,
      "preMessage": "Earn {Amount} on your {MerchantName} purchase!",
      "redemptionName": "UAT Test Account",
      "isParked": false,
      "customerId": 2349,
      "name": "SD_EndToEnd_BJD_2021-09-07_10-14",
      "postMessage": "Earn 0.01 $ per $1 on your UAT Test Account purchase, with a 0.2 $ maximum.<br/><br/>Offer expires 12/31/2021. Offer valid one time only. <b>Payment must be made directly with the merchant.</b> Offer not valid on third-party delivery services. Payment must be made on or before offer expiration date.",
      "killedDt": "1753-01-01T00:00:00",
      "createDt": "0001-01-01T00:00:00",
      "rewardAmount": 0,
      "rewardPercent": 0.01,
      "rewardCap": 0.2,
      "activatedDt": null,
      "rewardType": 1,
      "currencyExchangeRate": 1,
      "currencyUnit": "$",
      "programName": "New Belgium Brewing",
      "description": "New Belgium Brewing",
      "isPercentage": true,
      "offerLinkURL1": "",
      "offerLinkText1": "",
      "offerLinkURL2": "",
      "offerLinkText2": "",
      "offerLinkURL3": "",
      "offerLinkText3": "",
      "offerLinkURL4": "",
      "offerLinkText4": "",
      "offerLinkURL5": "",
      "offerLinkText5": "",
      "offerLinkURL6": "",
      "offerLinkText6": "",
      "offerLinkURL7": "",
      "offerLinkText7": "",
      "offerLinkURL8": "",
      "offerLinkText8": ""
    }
  ],
  "transactionResponses": [
    {
      "transactionId": 26141,
      "amount": 10.8,
      "cleanName": "Wienerschnitzel",
      "matchKey": "wienerschnitzel668 fontana ca |  | ca |  |  |  |  | 90-checking",
      "transactionDate": "2021-06-27T00:00:00",
      "fiMerchantId": 1879,
      "fileDate": "2021-06-27T00:00:00",
      "customerId": 0,
      "accountName": "Checking",
      "cardName": "",
      "sourceTransactionType": " 90-checking"
    }
  ],
  "redemptionResponses": [],
  "issueTypes": [
    {
      "id": 0,
      "name": "NotActivated"
    },
    {
      "id": 1,
      "name": "ActivatedLate"
    },
    {
      "id": 2,
      "name": "LateTransaction"
    },
    {
      "id": 3,
      "name": "TransactionPostedLate"
    },
    {
      "id": 5,
      "name": "NoRedemption"
    }
  ],
  "isLocked": false,
  "lockId": 0
}