GET api/Bookings/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryName | string |
None. |
|
| ImageFileName | string |
None. |
|
| Address | string |
None. |
|
| SeatNumber | string |
None. |
|
| SeatID | integer |
None. |
|
| HasSeatBooking | boolean |
None. |
|
| AllowsBooking | boolean |
None. |
|
| CompanyID | globally unique identifier |
None. |
|
| ProviderName | string |
None. |
|
| ProviderType | string |
None. |
|
| CompanyType | string |
None. |
|
| ProviderID | globally unique identifier |
None. |
|
| CountryID | integer |
None. |
|
| BookingDate | date |
None. |
|
| ShowID | integer |
None. |
|
| TheaterID | integer |
None. |
|
| CompanyRating | decimal number |
None. |
|
| ID | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"CountryName": "sample string 1",
"ImageFileName": "sample string 2",
"Address": "sample string 3",
"SeatNumber": "sample string 4",
"SeatID": 1,
"HasSeatBooking": true,
"AllowsBooking": true,
"CompanyID": "1a5a4cea-393e-4a26-9661-58dd05ee8ba7",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "c34b7107-0e86-4a02-a50b-ef9eba58f676",
"CountryID": 12,
"BookingDate": "2025-12-14T08:55:26.4273955+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "792cce69-42e8-4f4b-9f2d-36d09afb1953"
}
application/xml, text/xml
Sample:
<BookingInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models"> <Address>sample string 3</Address> <AllowsBooking>true</AllowsBooking> <BookingDate>2025-12-14T08:55:26.4273955+00:00</BookingDate> <CompanyID>1a5a4cea-393e-4a26-9661-58dd05ee8ba7</CompanyID> <CompanyRating>1.1</CompanyRating> <CompanyType>sample string 10</CompanyType> <CountryID>12</CountryID> <CountryName>sample string 1</CountryName> <HasSeatBooking>true</HasSeatBooking> <ID>792cce69-42e8-4f4b-9f2d-36d09afb1953</ID> <ImageFileName>sample string 2</ImageFileName> <ProviderID>c34b7107-0e86-4a02-a50b-ef9eba58f676</ProviderID> <ProviderName>sample string 8</ProviderName> <ProviderType>sample string 9</ProviderType> <SeatID>1</SeatID> <SeatNumber>sample string 4</SeatNumber> <ShowID>1</ShowID> <TheaterID>1</TheaterID> </BookingInfo>