Address
Multiple ancestors
Address
is a child of:
Fields
Field |
Description |
Type |
Min/max |
Notes |
Addresses/
Address |
Address details. |
object |
0..1 |
- |
Address /
@Language |
The Booking.com Language Code for the address details. |
BCL |
0..1 |
Default: en |
Address /
AddressLine |
The full street name and number. |
string |
1..1 |
Should not contain abbreviations (such as "Rd." for "Road") and should not exceed 255 characters. |
Address /
CityName |
The name of the city, town, or village. |
string |
0..1 |
- |
Address /
CountryName |
Two-letter country code. |
countrycode |
0..1 |
- |
Address /
HotelName |
The name of the property (in a language other than English). |
object |
0..1 |
Required if @Language is not en . |
Address /
PostalCode |
Postal/zip code. |
string |
0..1 |
- |
Address /
StateProv |
State/province details. |
object |
0..1 |
- |
Address /StateProv /
@StateCode |
Specifies the code for the state or province. |
string |
0..1 |
Follow the ISO 3166-2 standard to specify the state, province, or other subdivision. |
XML
<Address
Language="en">
<AddressLine>Streetname 1234</AddressLine>
<CityName>Metropolis</CityName>
<CountryName>US</CountryName>
<HotelName>The Best Hotel</HotelName>
<PostalCode>1017 CE</PostalCode>
<StateProv StateCode="AB" />
</Address>
Fields
Field |
Description |
Type |
Min/max |
Notes |
Customer/
Address |
Booker's address. |
object |
1..1 |
- |
Address /
AddressLine |
Street name and number. |
string |
1..1 |
- |
Address /
CityName |
City name. |
string |
1..1 |
- |
Address /
PostalCode |
Zip/post code. |
string |
1..1 |
- |
Address /
CountryName |
Container for @Code . |
object |
1..1 |
- |
Address /
CountryName[@Code] |
Two-letter country code. |
countrycode |
1..1 |
- |
Address /
CompanyName |
company name as supplied by the customer. |
string |
0..1 |
- |
XML
<Address>
<AddressLine>Herengracht 597</AddressLine>
<CityName>Amsterdam</CityName>
<PostalCode>1017 CE</PostalCode>
<CountryName
Code="NL" />
<CompanyName>Booking.com</CompanyName
</Address>
Is this page helpful?
Yes |
No
Thanks for your feedback!