-
Notifications
You must be signed in to change notification settings - Fork 0
Events High Check Inventory API
Akshay Tiwari edited this page Jan 15, 2018
·
12 revisions
inventory_check
KEYWORD | DESCRIPTION |
---|---|
EVENTID | Unique identifier for an event |
TICKET_TYPE | The label of Ticket Selected |
PRICE | The Final price of the ticket as visible to the user. If the ticket price is discounted, it should be equal to the discounted price as given in the Event JSON. Otherwise, this should be exactly same as ticket-original-price. |
ORIGINAL_PRICE | The actual, non-discounted price of the ticket |
QUANTITY | Quantity of the ticket selected. Must be non-zero. |
OCCURRENCE_START_DATE | The occurrence start date of the ticket |
{
"eventID" : "$EVENTID",
"tickets" : [
{
"ticket_type" : "$TICKET_TYPE"
"price" : "$PRICE",
"originalPrice" : "$ORIGINAL_PRICE",
"quantity" : "$QUANTITY",
"occurence_startDate" : "$OCCURRENCE_START_DATE"
}...,
]
}
KEY | DESCRIPTION |
---|---|
OK | 200 OK response code is returned. |
RESPONSE | Ticket Availability |
TOTAL_TICKET_AMOUNT | Price of the ticket |
{
"ok": 1,
"response": "$RESPONSE",
"totalTicketAmount": "$TOTAL_TICKET_AMOUNT"
}
Some error messages, you might get an invalid search request.
Status | Error message | Description |
---|---|---|
202 | sold_out | Event is sold out. |
202 | ticket_closed | Ticketing has been closed for this event. |
202 | ticket_limit_exceeded | Ticket selection is beyond allowed limit. |
202 | ticket_not_found | One of more ticket(s) are not found. |
202 | ticket_price_invalid | One or more ticket(s) has price mismatch. |
202 | invalid_request | Request has missing information. |
500 | Internal Server Error. | |
400 | Bad Request Response. | |
401 | Please specify the eventID | eventId is missing |
402 | Please specify the tickets | tickets are missing |
403 | Please specify the tickets data | One or more parameters in tickets are missing |