GET api/bookings/{guid}

Returns booking information for a given booking guid.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

booking guid

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Booking
NameDescriptionTypeAdditional 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": "765502fb-bae6-403c-830f-757e521141d0",
  "TheaterGuid": "ee36e274-e89e-4fae-822c-0823d0869202",
  "EventGuid": "89d0bb52-08d5-4136-985a-f60ca3a7b363",
  "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:
<Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dcip.Cloud.Booking.Services.Models">
  <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>765502fb-bae6-403c-830f-757e521141d0</BookingGuid>
  <BookingState>Unknown</BookingState>
  <EventGuid>89d0bb52-08d5-4136-985a-f60ca3a7b363</EventGuid>
  <ListingUrl>sample string 4</ListingUrl>
  <LocalStartDate>sample string 2</LocalStartDate>
  <LocalStartTime>sample string 3</LocalStartTime>
  <PurchaseUrl>sample string 5</PurchaseUrl>
  <TheaterGuid>ee36e274-e89e-4fae-822c-0823d0869202</TheaterGuid>
  <TicketTestState>NotTested</TicketTestState>
</Booking>