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
BookingInfoName | 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": "6101702c-e844-4b11-a04c-6ac9ac50938a", "ProviderName": "sample string 8", "ProviderType": "sample string 9", "CompanyType": "sample string 10", "ProviderID": "a4ab1b3e-b56c-463b-9bb1-e5f298a9b966", "CountryID": 12, "BookingDate": "2025-06-08T01:56:24.9185879+00:00", "ShowID": 1, "TheaterID": 1, "CompanyRating": 1.1, "ID": "ea64cc0a-e2e1-41ef-b13a-241d6f8ef3b2" }
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-06-08T01:56:24.9185879+00:00</BookingDate> <CompanyID>6101702c-e844-4b11-a04c-6ac9ac50938a</CompanyID> <CompanyRating>1.1</CompanyRating> <CompanyType>sample string 10</CompanyType> <CountryID>12</CountryID> <CountryName>sample string 1</CountryName> <HasSeatBooking>true</HasSeatBooking> <ID>ea64cc0a-e2e1-41ef-b13a-241d6f8ef3b2</ID> <ImageFileName>sample string 2</ImageFileName> <ProviderID>a4ab1b3e-b56c-463b-9bb1-e5f298a9b966</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>