get https://api.accelevents.com/rest/u/myticket/orders/past
- This API is used to get past user ticket order details.
- When the user clicks on the Past tab from the My Activity page of the profile menu, a user gets the list
of past event ticket details for a particular event like eventTicketId, orderId, paidAmount, etc. - To call this API, 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 a JSON 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 |
---|---|
recordsTotal | It contains the total no of records received |
recordsFiltered | It contains the total no of filtered |
userEventOrders | This field Contains the array of user's event order details like : eventLogoImage: It contains the logo of the event eventName: It contains the name of the event eventUrl: It contains the Event url which is unique identifier for event eventStartDate: It contains the start date of the event eventEndDate:It contains the end date of the event ticketOrderNumber:It contains the order Id of the ticket ticketOrderAmount:It contains the total amount of the particular ticket order purchaseDate:It contains the date on which ticket purchased seatNumbers:It contains selected seat number of holder allowAttendeeToEditInfo:This field is used to check attendee is allow or not to edit his/her information currency:This field display the current of the event totalPurchasedTicketsInOrder:This field contains the count of the total purchased tickets in particular order holderAttribute:It contains the all attributes of ticket holder eventLocation:It contains the event location |
totalPurchaseTickets | It contains the sum of total purchased tickets in all events |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing
Error code | Error Description |
---|---|
200 | Ok |
401 | You are not authorized to view the resource |
403 | Accessing the resource you were trying to reach is forbidden |