GET api/bookings/{eventGuid}/{theaterGuid}
Returns booking information for a given event guid and theater guid
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventGuid |
event guid |
globally unique identifier |
Required |
theaterGuid |
theater guid |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BookingName | Description | Type | Additional information |
---|---|---|---|
BookingGuid |
Booking's external identifier |
globally unique identifier |
None. |
TheaterGuid |
Booking theater's external identifier |
globally unique identifier |
None. |
EventGuid |
Booking event's external identifier |
globally unique identifier |
None. |
Auditoriums |
Auditorium details for the booking. |
Collection of BookingAuditorium |
None. |
LocalStartDate |
Booking's local start date. Format: m/d/yyyy (Example: "9/9/2016") |
string |
None. |
LocalStartTime |
Booking's local start time. Format: h:mm AM/PM (Example: "7:30 PM") |
string |
None. |
BookingState |
State of the booking. |
BookingStates |
None. |
TicketTestState |
Test state of the ticket provider's ticket setup. |
TicketTestStates |
None. |
ListingUrl |
Url to the showtime listing for the booking. |
string |
None. |
PurchaseUrl |
Url to the purchase page for the booking. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "BookingGuid": "a2bc34e9-5b34-449d-b07f-787561c9e298", "TheaterGuid": "9f787bcf-61da-481f-ba4d-ab2bfc96d332", "EventGuid": "57caac7a-d078-47cc-8850-ddae414adff1", "Auditoriums": [ { "Auditiorium": 1, "SeatCount": 2, "AuditoriumState": 0 }, { "Auditiorium": 1, "SeatCount": 2, "AuditoriumState": 0 } ], "LocalStartDate": "sample string 2", "LocalStartTime": "sample string 3", "BookingState": 0, "TicketTestState": 0, "ListingUrl": "sample string 4", "PurchaseUrl": "sample string 5" }, { "BookingGuid": "a2bc34e9-5b34-449d-b07f-787561c9e298", "TheaterGuid": "9f787bcf-61da-481f-ba4d-ab2bfc96d332", "EventGuid": "57caac7a-d078-47cc-8850-ddae414adff1", "Auditoriums": [ { "Auditiorium": 1, "SeatCount": 2, "AuditoriumState": 0 }, { "Auditiorium": 1, "SeatCount": 2, "AuditoriumState": 0 } ], "LocalStartDate": "sample string 2", "LocalStartTime": "sample string 3", "BookingState": 0, "TicketTestState": 0, "ListingUrl": "sample string 4", "PurchaseUrl": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dcip.Cloud.Booking.Services.Models"> <Booking> <Auditoriums> <BookingAuditorium> <Auditiorium>1</Auditiorium> <AuditoriumState>Unknown</AuditoriumState> <SeatCount>2</SeatCount> </BookingAuditorium> <BookingAuditorium> <Auditiorium>1</Auditiorium> <AuditoriumState>Unknown</AuditoriumState> <SeatCount>2</SeatCount> </BookingAuditorium> </Auditoriums> <BookingGuid>a2bc34e9-5b34-449d-b07f-787561c9e298</BookingGuid> <BookingState>Unknown</BookingState> <EventGuid>57caac7a-d078-47cc-8850-ddae414adff1</EventGuid> <ListingUrl>sample string 4</ListingUrl> <LocalStartDate>sample string 2</LocalStartDate> <LocalStartTime>sample string 3</LocalStartTime> <PurchaseUrl>sample string 5</PurchaseUrl> <TheaterGuid>9f787bcf-61da-481f-ba4d-ab2bfc96d332</TheaterGuid> <TicketTestState>NotTested</TicketTestState> </Booking> <Booking> <Auditoriums> <BookingAuditorium> <Auditiorium>1</Auditiorium> <AuditoriumState>Unknown</AuditoriumState> <SeatCount>2</SeatCount> </BookingAuditorium> <BookingAuditorium> <Auditiorium>1</Auditiorium> <AuditoriumState>Unknown</AuditoriumState> <SeatCount>2</SeatCount> </BookingAuditorium> </Auditoriums> <BookingGuid>a2bc34e9-5b34-449d-b07f-787561c9e298</BookingGuid> <BookingState>Unknown</BookingState> <EventGuid>57caac7a-d078-47cc-8850-ddae414adff1</EventGuid> <ListingUrl>sample string 4</ListingUrl> <LocalStartDate>sample string 2</LocalStartDate> <LocalStartTime>sample string 3</LocalStartTime> <PurchaseUrl>sample string 5</PurchaseUrl> <TheaterGuid>9f787bcf-61da-481f-ba4d-ab2bfc96d332</TheaterGuid> <TicketTestState>NotTested</TicketTestState> </Booking> </ArrayOfBooking>