-
Notifications
You must be signed in to change notification settings - Fork 0
Tickets API
Goran Nikic edited this page Feb 12, 2018
·
1 revision
The Tickets API will return a the tickets currently in our system
GET /tickets Returns a Paged Result containing the list of Tickets.
- "ticket_code" - String - "oc-014ojishff" - WHERE OPERATION
- "user_id" - String - The owner of the ticket - WHERE OPERATION
- "venue_id" - String - The venue which this sold/generated this ticket - WHERE OPERATION
- "scheduled_id" - Numeric - The screening id - WHERE OPERATION
- "status" - Numeric - 0 if the ticket has not been claimed yet, 1 if the ticket has been claimed - WHERE OPERATION
GET /tickets/get/:id
{
"status": "OK",
"code": 200,
"messages": "common.SUCCESSFUL_REQUEST",
"data": {
"rows_per_page": 1,
"total_rows": 1166,
"rows": [
{
"id": 418,
"venue_id": 9,
"user_id": 77,
"scheduled_id": 9,
"purchased_by": null,
"movie_id": 5503,
"ticket_code": "OC-0079330fa8c06e3a7af18ee76aab7ed5",
"price": 10,
"created_at": "2016-02-02 16:43:56",
"paid": 1,
"transaction": null,
"status": 0
}
]
}
}Developer & Maintained by Novnik Limited - info@novnik.com