Hotel Policy Create
Supply the universal profile ID of the account to which the new hotel policy will be added along with the data you wish to add.
Sample Hotel Policy Create request data
xmlns:v1="http://www.travelport.com/schema/policy/admin/hotel/v1"
xmlns:v11="http://www.travelport.com/schema/policy/admin/common/v1"
<v1:performCRUDRQ>
<v1:BasePolicyRequestHeader accountId="749538" requestCategory="Create" requestorId="DAVES" source="Web"/>
<v1:HotelPolicyRequestProfile pptySource="RM">
<v11:Profile>
<v11:Name>SBHotelPolicy1</v11:Name>
<v11:Summary>Test Hotel Policy for Sandbox documentation</v11:Summary>
</v11:Profile>
<v1:PropertyCriteria>
<v1:PreferredProperties>
<v1:PropertiesPreferred location="CHI" propertyNumber="C0913">
<v1:PropertyChainBase action="Add" code="HI">
<v1:BookingDates endDate="2099-12-31" startDate="2016-03-09"/>
<v1:CheckinDates endDate="2099-12-31" startDate="2016-03-09"/>
</v1:PropertyChainBase>
<v1:Discount cdNumber="CD1234" rateCode="TESTRC"/>
<v1:Stay maxNights="99" minNights="1"/>
<v11:Rate currency="USD" rate="100.0"/>
<v1:AmenitiesOffered>
<v1:Amenity>AIRPORTSHUTTLE</v1:Amenity>
<v1:Amenity>BREAKFAST</v1:Amenity>
</v1:AmenitiesOffered>
</v1:PropertiesPreferred>
<v1:PropertiesPreferred location="SYD" propertyNumber="26229">
****** Additional Data Removed For Readability *******
<v1:Discount cdNumber="" rateCode=""/>
</v1:PropertiesPreferred>
</v1:PreferredProperties>
<v1:DisplayOnlyProperties>
<v1:PropertiesDisplayOnly location="DEN" preferredAllowedInd="true" propertyNumber="11156">
****** Additional Data Removed For Readability *******
</v1:PropertiesDisplayOnly>
</v1:DisplayOnlyProperties>
<v1:ExcludedProperties>
<v1:Properties location="LON" propertyNumber="B2037">
<v1:PropertyChainBase action="Add" code="CP">
<v1:BookingDates endDate="2099-12-31" startDate="2016-03-09"/>
<v1:CheckinDates endDate="2099-12-31" startDate="2016-03-09"/>
</v1:PropertyChainBase>
</v1:Properties>
</v1:ExcludedProperties>
</v1:PropertyCriteria>
<v1:ChainCriteria>
<v1:DisplayOnlyChains>
<v1:ChainsDisplayOnlyChains preferredAllowedInd="true">
<v1:PropertyChainBase action="Add" code="AU">
<v1:BookingDates endDate="2099-12-31" startDate="2016-03-09"/>
<v1:CheckinDates endDate="2099-12-31" startDate="2016-03-09"/>
</v1:PropertyChainBase>
<v1:Location>
<v1:CityAirportLocation>PAR</v1:CityAirportLocation>
</v1:Location>
<v1:AmenitiesOffered>
<v1:Amenity>SPA</v1:Amenity>
</v1:AmenitiesOffered>
</v1:ChainsDisplayOnlyChains>
</v1:DisplayOnlyChains>
<v1:ExcludedChains>
<v1:Chains>
<v1:PropertyChainBase action="Add" code="AL">
****** Additional Data Removed For Readability *******
</v1:Chains>
</v1:ExcludedChains>
<v1:PreferredChains>
<v1:ChainsPreferredChains>
<v1:PropertyChainBase action="Add" code="CQ">
****** Additional Data Removed For Readability *******
<v1:Discount cdNumber="cdnum3" rateCode="mlrc3"/>
</v1:ChainsPreferredChains>
<v1:ChainsPreferredChains>
<v1:PropertyChainBase action="Add" code="DI">
****** Additional Data Removed For Readability *******
</v1:ChainsPreferredChains>
</v1:PreferredChains>
</v1:ChainCriteria>
<v1:PolicyOptions>
<v1:PreferredProperties>MARK_ALL_IN_POLICY</v1:PreferredProperties>
<v1:PreferredChains>MARK_ALL_IN_POLICY</v1:PreferredChains>
<v1:RuleRestrictLevel>ALLOW_OUT_OF_POLICY_SELECT_RC</v1:RuleRestrictLevel>
<v1:NonPrefPropsChains>
<v1:NegotiateRateOption markInPolicyInd="true" value="MARK_OUT_POLICY_GT_MOST_EXP_NEG_RATE"/>
</v1:NonPrefPropsChains>
</v1:PolicyOptions>
<v1:RateCapMax>
<v11:RateCap>
<v11:CapMaxBase action="Add">
<v11:EffectiveDates endDate="2099-12-31" startDate="2016-03-09"/>
<v11:Location>
<v11:CountryLocation>DE</v11:CountryLocation>
</v11:Location>
</v11:CapMaxBase>
<v11:Rate currency="EUR" rate="200.0"/>
</v11:RateCap>
<v11:RateCap>
<v11:CapMaxBase action="Add">
****** Additional Data Removed For Readability *******
<v11:StateLocation country="US" state="KY"/>
****** Additional Data Removed For Readability *******
</v11:RateCap>
<v11:RateCap>
<v11:CapMaxBase action="Add">
****** Additional Data Removed For Readability *******
<v11:CityAirportLocation>PAR</v11:CityAirportLocation>
****** Additional Data Removed For Readability *******
</v11:RateCap>
<v11:RateCap>
<v11:CapMaxBase action="Add">
****** Additional Data Removed For Readability *******
<v11:Worldwide>WORLDW</v11:Worldwide>
****** Additional Data Removed For Readability *******
</v11:RateCap>
<v1:RateMax>
<v11:CapMaxBase action="Add">
<v11:EffectiveDates endDate="2099-12-31" startDate="2016-03-09"/>
<v11:Location>
<v11:Worldwide>WORLDW</v11:Worldwide>
</v11:Location>
</v11:CapMaxBase>
<v11:Rate currency="USD" rate="600.0"/>
</v1:RateMax>
</v1:RateCapMax>
<v1:PolicyCompliance>
<v11:Message id="301" weightage="11"/>
****** Additional Data Removed For Readability *******
<v11:Message id="310" weightage="20"/>
</v1:PolicyCompliance>
<v1:RateCriteria>
<v1:RateOptions deposit="OOP" prePayment="HIDE"/>
</v1:RateCriteria>
<v1:RateFilters>
<v1:Filter category="HRDESC">
<v1:FilterText>Government</v1:FilterText>
</v1:Filter>
<v1:Filter category="HRCTGY">
<v1:FilterText>GOV</v1:FilterText>
</v1:Filter>
<v1:Filter category="HRCODE">
<v1:FilterText>GOVT</v1:FilterText>
</v1:Filter>
</v1:RateFilters>
</v1:HotelPolicyRequestProfile>
</v1:performCRUDRQ>
The following elements are supplied in a Create request:
performCRUDRQ / BasePolicyRequestHeader (requestCategory = Create)
HotelPolicyRequestProfile – wrapper element a single set of Hotel Policy data
attribute: pptySource – source for hotel property numbers (RM = RoomMaster / WSP = Worldspan) – this value is used to determine which DB tables validation will be performed against.
Profile - wrapper element for Policy profile data
Name – name of this hotel policy
Summary – user defined summary describing the purpose / application of this hotel policy
PropertyCriteria – wrapper element for Policy property criteria data
PreferredProperties - wrapper element for all preferred property data
PropertiesPreferred - wrapper element for individual preferred property data
attribute: location – city code with which this property is associated
attribute: propertyNumber – property number used to identify this property in the appropriate DB table.
DisplayOnlyProperties - wrapper element for all display only property data
PropertiesDisplayOnly - wrapper element for individual display only property data
attribute: location – city code with which this property is associated
attribute: propertyNumber – property number used to identify this property in the appropriate DB table
attribute: preferredAllowedInd – used to decide if the display only property should be shown as preferred or not
ExcludedProperties - wrapper element for all excluded property data
Properties - wrapper element for individual excluded property data
attribute: location – city code with which this property is associated
attribute: propertyNumber – property number used to identify this property in the appropriate DB table.
PropertyChainBase – wrapper element for common property / chain data – used by PropertiesPreferred / PropertiesDisplayOnly / Properties / ChainsDisplayOnlyChains / Chains / ChainsPreferredChains
attribute: code – vendor code for this property
attribute: action – action to be performed for this property / chain – this will always be Add on a create request.
BookingDates
attribute: endDate – date before which booking must take place for this configuration to apply
attribute: startDate – date after which booking must take place for this configuration to apply
CheckinDates
attribute: endDate – date before which check in must take place for this configuration to apply
attribute: startDate – date after which check in must take place for this configuration to apply
Discount – wrapper element for discount information - used by PropertiesPreferred / PropertiesDisplayOnly / ChainsPreferredChains / ChainsDisplayOnlyChains
attribute: cdNumber – corporate discount number used to get corporate rate
attribute: rateCode – rate code used to get corporate rate
Stay – wrapper element for stay information - used by PropertiesPreferred / PropertiesDisplayOnly
attribute: maxNights – maximum number of nights stay for this configuration to apply
attribute: minNights – minimum number of nights stay for this configuration to apply
Rate - wrapper element for rate information - used by PropertiesPreferred / PropertiesDisplayOnly / RateCap / RateMax
attribute: currency – currency code associated with this rate
attribute: rate – nightly rate for this property
AmenitiesOffered – wrapper element for list of individual amenities included in the preferred rate at this property - used by PropertiesPreferred / PropertiesDisplayOnly / ChainsPreferredChains / ChainsDisplayOnlyChains
Amenity – individual amenities for this property (values can be AIRPORTSHUTTLE / BREAKFAST / BUSINESSCENTER / LAUNDRY / FITNESSCENTER / MEETINGFACILITY / PARKING / SPA / WIFI)
ChainCriteria - wrapper element for Policy chain criteria data
DisplayOnlyChains - wrapper element for all display only chain data
ChainsDisplayOnlyChains - wrapper element for individual display only chain data
attribute: preferredAllowedInd – used to decide if the display only chain should be shown as preferred or not.
ExcludedChains - wrapper element for all excluded chain data
Chains - wrapper element for individual excluded chain data
PreferredChains - wrapper element for all preferred chain data
ChainsPreferredChains - wrapper element for individual preferred chain data
Location - wrapper element for the specific location geography to be applied (used by ChainsDisplayOnlyChains / Chains / ChainsPreferredChains / CapMaxBase) – child elements of this tag can be Region (Continent) / CountryLocation / StateLocation / CityAirportLocation depending on the chosen geographical configuration
Worldwide – WORLDW if this location item applies anywhere in the world
Region - the 6 character region code to which this location item applies (see Policy DB Geography Codes)
CountryLocation - the 2 character country code to which this location item applies
StateLocation - location to which this configuration applies
attribute: country - 2 character country code to which this location item applies
attribute: state - 2 character state code to which this location item applies
CityAirportLocation - 3 character airport or city location to which this location item applies
PolicyOptions – wrapper for Policy Option data
PreferredProperties – selected option for preferred properties (MARK_ALL_IN_POLICY / MARK_OUT_POLICY_GT_NEG_RATE / MARK_OUT_POLICY_GT_AREA_RATE_CAP)
PreferredChains - selected option for preferred properties (MARK_ALL_IN_POLICY / MARK_OUT_POLICY_GT_AREA_RATE_CAP / MARK_OUT_POLICY_GT_MOST_EXP_NEG_RATE / MARK_OUT_POLICY_GT_LEAST_EXP_NEG_RATE)
NonPrefPropsChains – wrapper element for selected non-preferred properties and chains policy options
OtherOption - selected option for non-preferred properties and chains for non-negotiated rates (MARK_ALL_OUT_POLICY / MARK_ALL_IN_POLICY / MARK_OUT_POLICY_GT_AREA_RATE_CAP)
NegotiateRateOption - wrapper element for selected non-preferred properties and chains policy options for negotiated rates
attribute: markInPolicyInd – Boolean - mark as in policy if no preferred properties or chains are found in area
attribute: value - selected option for non-preferred properties and chains for negotiated rates (MARK_OUT_POLICY_GT_MOST_EXP_NEG_RATE / MARK_OUT_POLICY_GT_LEAST_EXP_NEG_RATE)
ExclusionOptions - used to indicate if options should be displayed to user or removed from response
attribute: displayOnlyInPolicyOption – indicator used to have out of policy items removed from the response during search evaluation
RateCapMax – wrapper element for all rate cap and rate maximum configurations
RateCap - wrapper element for individual rate cap configuration
CapMaxBase – common wrapper element for individual rate cap / rate maximum data – see above for location tags
attribute: action – always “Add” on a create
EffectiveDates
attribute: endDate – date before which booking must take place for this configuration to apply
attribute: startDate – date after which booking must take place for this configuration to apply
PolicyCompliance – wrapper element for policy compliance settings
Message – individual message id and value assigned to that id
attribute: id – compliance message ID (301-310)
attribute weightage – percentage overall compliance will be reduced by if itinerary fails to comply with this configuration.
RateCriteria – wrapper element for rate application criteria
RateOptions – configuration to be used for a particular type of rate
attribute: deposit – how to handle rates that require a deposit (OOP / HIDE)
attribute: prepayment - how to handle rates that require prepayment (OOP / HIDE)
OOP = mark as out of policy / HIDE = remove from response
RateFilters - wrapper element for rate filters
Filter – individual filter data
attribute: category – field against which filter should be applied (HRDESC = description / HRCTGY = category / HRCODE = code)
FilterText – value to be compared against – rate will be removed if filter text is found in appropriate field
Sample Hotel Policy Create response data
xmlns:ns5=http://www.travelport.com/schema/policy/admin/hotel/v1
xmlns:ns2=http://www.travelport.com/schema/policy/admin/common/v1
<ns5:performCRUDRS>
<ns5:BasePolicyResponseHeader accountId="749538" requestorId="DAVES"/>
<ns2:AdditionalMessage iD="100661" name="SBHotelPolicy1" status="Processed">
<ns2:Element iD="0" name="ChainCriteria" status="Processed">
<ns2:SubElement iD="105901" name="ChainCriteria" status="Processed">DisplayOnly Preferred Vendor:PolicyId:100661-Action:51-ProductType:H-VendorCriteriaId:105901-VendorCode:AU-PptySource:RM-VendorRank:DisplayOnlyPreferred-BookingStartDate:Wed Mar 09 00:00:00 GMT 2016-BookingEndDate:Thu Dec 31 00:00:00 GMT 2099-TravelStartDate:Wed Mar 09 00:00:00 GMT 2016-TravelEndDate:Thu Dec 31 00:00:00 GMT 2099-DiscountNumber:null-VendorPropertyType:Chain-Property:null-PropertyName:null-PhoneNumber:null-RateCode:null-Location:PAR-MinimumDays:0-MaximumDays:0-Currency:null-NegotiatedRate:0.0-Amenities:SPA</ns2:SubElement>
****** Additional Data Removed For Readability *******
****** ChainCriteria SubElements repeat for each Preferred / Excluded / Display Only chain that was configured *******
</ns2:Element>
<ns2:Element iD="0" name="PropertyCriteria" status="Processed">
<ns2:SubElement iD="105892" name="PropertyCriteria" status="Processed">DisplayOnly Preferred Vendor:PolicyId:100661-Action:51-ProductType:H-VendorCriteriaId:105892-VendorCode:BW-PptySource:RM-VendorRank:DisplayOnlyPreferred-BookingStartDate:Wed Mar 09 00:00:00 GMT 2016-BookingEndDate:Thu Dec 31 00:00:00 GMT 2099-TravelStartDate:Wed Mar 09 00:00:00 GMT 2016-TravelEndDate:Thu Dec 31 00:00:00 GMT 2099-DiscountNumber:cdnum2-VendorPropertyType:Property-Property:11156-PropertyName:null-PhoneNumber:null-RateCode:mlrc2-Location:DEN-MinimumDays:1-MaximumDays:99-Currency:USD-NegotiatedRate:175.0-Amenities:LAUNDRY</ns2:SubElement>
****** Additional Data Removed For Readability *******
****** PropertyCriteria SubElements repeat for each Preferred / Excluded / Display Only property that was configured *******
</ns2:Element>
<ns2:Element iD="0" name="Profile" status="Processed">
<ns2:SubElement iD="100661" name="Profile" status="Processed">Success</ns2:SubElement>
</ns2:Element>
<ns2:Element iD="0" name="PolicyCompliance" status="Processed">
<ns2:SubElement iD="303" name="PolicyCompliance" status="Processed">-PolicyId:100661-ComplianceId:303-Weightage:0</ns2:SubElement>
****** Additional Data Removed For Readability *******
****** PolicyCompliance SubElements repeat for each Message ID that was configured *******
</ns2:Element>
<ns2:Element iD="0" name="RateCapMax" status="Processed">
<ns2:SubElement iD="0" name="RateCap" status="Processed">ADD -PolicyId:100661-GeoCode:DE-GeoLvlNbr:40-EffDate:Wed Mar 09 00:00:00 GMT 2016-EndDate:Thu Dec 31 00:00:00 GMT 2099-Rate:200.0-CurrencyCode:EUR-CalcRateCap:null-RateTypeCode:CAP-PolicyType:H-Action:51</ns2:SubElement>
****** Additional Data Removed For Readability *******
****** RateCap SubElements repeat for each RateCap ID that was configured *******
</ns2:Element>
<ns2:Element iD="0" name="RateCapMax" status="Processed">
<ns2:SubElement iD="0" name="RateMax" status="Processed">ADD -PolicyId:100661-GeoCode:WORLDW-GeoLvlNbr:80-EffDate:Wed Mar 09 00:00:00 GMT 2016-EndDate:Thu Dec 31 00:00:00 GMT 2099-Rate:600.0-CurrencyCode:USD-CalcRateCap:N-RateTypeCode:MAX-PolicyType:H-Action:51</ns2:SubElement>
</ns2:Element>
<ns2:Element iD="0" name="PolicyOptions" status="Processed">
<ns2:SubElement iD="0" name="HOTEL_IN_POL_IF_NO_PROPS_FOUND_LEAST" status="Processed">FALSE</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_POL_RATE_CRITERIA_DEPOSIT" status="Processed">OOP</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_POL_RATE_CRITERIA_PREPAYMENT" status="Processed">HIDE</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_PREF_PROP_OPTS" status="Processed">MARK_ALL_IN_POLICY</ns2:SubElement>
<ns2:SubElement iD="0" name="DISP_ONLY_IN_POLICY_FARE" status="Processed">FALSE</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_PREF_CHAIN_OPTS" status="Processed">MARK_ALL_IN_POLICY</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_NON_PREF_OPTS" status="Processed">MARK_OUT_POLICY_GT_MOST_EXP_NEG_RATE</ns2:SubElement>
<ns2:SubElement iD="0" name="HOTEL_IN_POL_IF_NO_PROPS_FOUND_MOST" status="Processed">FALSE</ns2:SubElement>
</ns2:Element>
<ns2:Element iD="0" name="RateFilters" status="Processed">
<ns2:SubElement iD="0" name="HRDESC" status="Processed">Government</ns2:SubElement>
<ns2:SubElement iD="0" name="HRCTGY" status="Processed">GOV</ns2:SubElement>
<ns2:SubElement iD="0" name="HRCODE" status="Processed">GOVT</ns2:SubElement>
</ns2:Element>
</ns2:AdditionalMessage>
</ns5:performCRUDRS>
The following elements are found in a Create response:
performCRUDRS / BasePolicyResponseHeader
AdditionalMessage – overall status of the response
attribute: iD – id within the Policy DB of this particular policy
attribute: name – name used when creating this specific policy
attribute: status – will be either “Processed” or “Failure”
Element – wrapper for a grouping of response items
attribute: iD – “0” / not used on a Hotel Policy Create
attribute: name – name of the wrapper tag to which this response element applies (PropertyCriteria / ChainCriteria / Profile / RateCapMax / PolicyCompliance / PolicyOptions / RateFilters)
attribute: status – overall status of this particular grouping - will be either “Processed” or “Failure”
SubElement – individual response for an item within the grouping
attribute: iD – usage depends on the type of SubElement being returned. PropertyCriteria / ChainCriteria = the ID within the Policy DB for this specific vendor criteria. Profile = the ID within the Policy DB for this specific Policy. PolicyCompliance = reflection of the message id from the request. PolicyOptions = zero, individual policy properties are identified through their names. RateCapMax / RateFilters = zero.
attribute: name – usage depends on the type of SubElement being returned. PropertyCriteria / ChainCriteria / Profile / PolicyCompliance will return the wrapper name. RateCapMax will return RateCap or RateMax depending on what was being processed. PolicyOptions / RateFilters will return the name of the option / filer being added.
attribute: status – overall status of this particular element - will be either “Processed” or “Failure”
Considerations for a Hotel Policy Create
A booking start date, check in start date, rate cap / max effective date cannot be a past date on a create request.
At a minimum a Hotel Policy create request must contain a Profile section with a name element, all the other sections are optional (PropertyCriteria / ChainCriteria / PolicyOptions / RateCapMax / PolicyCompliance / RateCriteria / RateFilters), if not specified the policy will be created with default settings for these sections.
The default settings will be as follows if not specified in the request:
PolicyOptions / PreferredProperties – MARK_ALL_IN_POLICY
PolicyOptions / PreferredChains – MARK_ALL_IN_POLICY
PolicyOptions / NonPrefPropsChains / OtherOption – MARK_ALL_OUT_POLICY
PolicyOptions / ExclusionOptions - displayOnlyInPolicyOption="false"
PolicyCompliance / Message / weightage = 10
RateCriteria / RateOptions – deposit="NONE" prePayment="NONE"
Within the PropertyCriteria section the ExcludedProperties / DisplayOnlyProperties / PreferredProperties sections are optional. If an individual section is not included in the request no property criteria will be created for it, if the outer PropertyCriteria element is specified but no inner tags are specified the section will be ignored.
Within the ChainCriteria section the ExcludedChains / DisplayOnlyChains / PreferredChains sections are optional. If an individual section is not included in the request no chain criteria will be created for it, if the outer ChainCriteria element is specified but no inner tags are specified the section will be ignored.
If you do not receive a positive reflection of an item that you are adding it did not get added. In certain cases a section may not get processed and also may not get reflected back to the caller.
If you do not receive a “Profile” SubElement with an id and a success message the policy was not created.
In the Create Response the value returned in the SubElement fields depends on the type of Element being returned.
Profile returns either Success or an error message.
PolicyOption returns the value associated with the specific property name.
PolicyCompliance returns the id of the Hotel policy in the policy DB, the message id of the specific message that was processed and the value assigned to that message id:
Example:
PolicyId:100661-ComplianceId:303-Weightage:10
PropertyCriteria / ChainCriteria returns the id of the Hotel policy in the policy DB, the id of the specific vendor criteria in the policy DB and reflects back the rest of the data that was configured for that vendor such as vendor code, booking / check in dates etc.
Example: DisplayOnly Preferred Vendor:PolicyId:100661-Action:51-ProductType:H-VendorCriteriaId:105892-VendorCode:BW-PptySource:RM-VendorRank:DisplayOnlyPreferred-BookingStartDate:Wed Mar 09 00:00:00 GMT 2016-BookingEndDate:Thu Dec 31 00:00:00 GMT 2099-TravelStartDate:Wed Mar 09 00:00:00 GMT 2016-TravelEndDate:Thu Dec 31 00:00:00 GMT 2099-DiscountNumber:cdnum2-VendorPropertyType:Property-Property:11156-PropertyName:null-PhoneNumber:null-RateCode:mlrc2-Location:DEN-MinimumDays:1-MaximumDays:99-Currency:USD-NegotiatedRate:175.0-Amenities:LAUNDRY
RateCap / RateMax returns the id of the Hotel policy in the policy DB and reflects back the rest of the data that was configured for that vendor such as vendor code, effective / end in dates etc.
Example: ADD -PolicyId:100661-GeoCode:DE-GeoLvlNbr:40-EffDate:Wed Mar 09 00:00:00 GMT 2016-EndDate:Thu Dec 31 00:00:00 GMT 2099-Rate:200.0-CurrencyCode:EUR-CalcRateCap:null-RateTypeCode:CAP-PolicyType:H-Action:51
RateFilters returns the type and value associated with the specific filter.
The ChainsDisplayOnlyChains, Chains, ChainsPreferredChains and RateCapMax tags all use the Location element which can have any of the following child elements depending on the chosen geographical configuration: Worldwide / Region / CountryLocation / StateLocation / CityAirportLocation
These are examples of each of the child tags:
<ns4:Worldwide>WORLDW</ns4:Worldwide>
<ns2:Region>NOAMER</ns2:Region>
<ns4:CountryLocation>DE</ns4:CountryLocation>
<ns4:StateLocation country="US" state="CO"/>
<ns4:CityAirportLocation>LHR</ns4:CityAirportLocation>
Sample Request and Response
See the Downloads page to download a zip file containing the following XML files.
Sample request:
HotelPolicyCreateRQ.xml
Sample response:
HotelPolicyCreateRS.xml