GET api/Location/Get/{id}
returns a event details of the event for the given id if the event is bookable
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LocationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Company | string |
None. |
|
| CompanyAddition | string |
None. |
|
| Street | string |
None. |
|
| Zip | string |
None. |
|
| City | string |
None. |
|
| CountryName | string |
Max length: 255 |
|
| TwoLetterIsoCountryCode |
two letter iso country code of the country of the location |
string |
Max length: 2 |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Company": "sample string 3",
"CompanyAddition": "sample string 4",
"Street": "sample string 5",
"Zip": "sample string 6",
"City": "sample string 7",
"CountryName": "sample string 8",
"TwoLetterIsoCountryCode": "sample string 9"
}
application/xml, text/xml
Sample:
<LocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BKPBooking.WebBookingApi.Models"> <City>sample string 7</City> <Company>sample string 3</Company> <CompanyAddition>sample string 4</CompanyAddition> <CountryName>sample string 8</CountryName> <Id>1</Id> <Name>sample string 2</Name> <Street>sample string 5</Street> <TwoLetterIsoCountryCode>sample string 9</TwoLetterIsoCountryCode> <Zip>sample string 6</Zip> </LocationModel>