get https://api.accelevents.com/rest/u/myticket/order/tickets/
- This API is used to get user purchased ticket order details by order id.
- When the user clicks on the My Activity page from the profile menu, the user gets the list of event ticket details for
a particular event like eventTicketId, orderId, paidAmount, etc. - We need to pass the authorization token in API in the header.
- Authorization token will be generated when the user login to the system.
This API Returns Ticket details of the order in response with 200 status if API is executed successfully.
Here is the description of response attributes, which returns to the form of JSON :
Attribute | Description |
---|---|
id | This field contains the ticket Id |
barcode | This field contains the barcode Id of the ticket |
amount | This field display the total amount paid of the particular ticket |
checkInDate | This field contains the check in date of the ticket |
ticketTypeName | This field describe the ticket name for particular order |
seatsNumber | It contains selected seat number of holder |
chartKey | It contains the chart key when seating enabled. |
allowPDFDownload | This field is used to check if allow downloading ticket PDF: true:If the allow to download ticket PDF is enabled for ticket false:If the allow to download ticket PDF is not enabled for ticket |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing
Error code | Description |
---|---|
200 | Ok |
401 | You are not authorized to view the resource |
403 | Accessing the resource you were trying to reach is forbidden |
404 | Order you are looking for is not found |