GET api/events/{guid}/bookings
Returns booking information for a given event guid.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
guid |
event 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": "4d09aebc-e14b-410f-9370-a8c887404d87", "TheaterGuid": "8fda15e5-5b6b-451f-a776-c7066406ac87", "EventGuid": "1750fcc6-ba97-4444-8dfb-5aa473690173", "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": "4d09aebc-e14b-410f-9370-a8c887404d87", "TheaterGuid": "8fda15e5-5b6b-451f-a776-c7066406ac87", "EventGuid": "1750fcc6-ba97-4444-8dfb-5aa473690173", "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>4d09aebc-e14b-410f-9370-a8c887404d87</BookingGuid> <BookingState>Unknown</BookingState> <EventGuid>1750fcc6-ba97-4444-8dfb-5aa473690173</EventGuid> <ListingUrl>sample string 4</ListingUrl> <LocalStartDate>sample string 2</LocalStartDate> <LocalStartTime>sample string 3</LocalStartTime> <PurchaseUrl>sample string 5</PurchaseUrl> <TheaterGuid>8fda15e5-5b6b-451f-a776-c7066406ac87</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>4d09aebc-e14b-410f-9370-a8c887404d87</BookingGuid> <BookingState>Unknown</BookingState> <EventGuid>1750fcc6-ba97-4444-8dfb-5aa473690173</EventGuid> <ListingUrl>sample string 4</ListingUrl> <LocalStartDate>sample string 2</LocalStartDate> <LocalStartTime>sample string 3</LocalStartTime> <PurchaseUrl>sample string 5</PurchaseUrl> <TheaterGuid>8fda15e5-5b6b-451f-a776-c7066406ac87</TheaterGuid> <TicketTestState>NotTested</TicketTestState> </Booking> </ArrayOfBooking>