Example - Lodging Configuration Index

cURL example:

curl --user ${ownerrez_user}:${ownerrez_key} --location --request GET "${ownerrez_api}/haapi/haxml/${ownerrez_account_id}/lodgingconfigindex" --silent | xmllint --format -

id is your Account Id example like `ora...`

XML payload:

<?xml version="1.0"?>
<advertiserLodgingConfigurationContentIndex>
<documentVersion>4.2.1</documentVersion>
<advertiser>
<assignedId>ora7ccdcde3fx</assignedId>
<lodgingConfigurationDefaults>
<acceptedPaymentForms>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>MASTERCARD</cardCode>
<cardType>CREDIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>MASTERCARD</cardCode>
<cardType>DEBIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>VISA</cardCode>
<cardType>CREDIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>VISA</cardCode>
<cardType>DEBIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>AMEX</cardCode>
<cardType>CREDIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>AMEX</cardCode>
<cardType>DEBIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>DISCOVER</cardCode>
<cardType>CREDIT</cardType>
</paymentCardDescriptor>
<paymentCardDescriptor>
<paymentFormType>CARD</paymentFormType>
<cardCode>DISCOVER</cardCode>
<cardType>DEBIT</cardType>
</paymentCardDescriptor>
</acceptedPaymentForms>
<bookingPolicy>
<policy>INSTANT</policy>
</bookingPolicy>
<cancellationPolicy>
<policy>STRICT</policy>
</cancellationPolicy>
<checkInTime>15:00</checkInTime>
<checkOutTime>11:00</checkOutTime>
<childrenAllowedRule>
<allowed>true</allowed>
</childrenAllowedRule>
<eventsAllowedRule>
<allowed>true</allowed>
</eventsAllowedRule>
<lastUpdatedDate>2022-08-09T13:50:51Z</lastUpdatedDate>
<locale>en</locale>
<maximumOccupancyRule>
<guests>50</guests>
</maximumOccupancyRule>
<minimumAgeRule>
<age>21</age>
</minimumAgeRule>
<petsAllowedRule>
<allowed>true</allowed>
</petsAllowedRule>
<pricingPolicy>
<policy>GUARANTEED</policy>
</pricingPolicy>
<rentalAgreementFile locale="en">
<rentalAgreementPdfUrl>https://stage.cdn.orez.io/sc/content/docs/default-agreement-example.pdf?v=1.0.7454.0</rentalAgreementPdfUrl>
</rentalAgreementFile>
<smokingAllowedRule>
<allowed>false</allowed>
</smokingAllowedRule>
</lodgingConfigurationDefaults>
<lodgingConfigurationContentIndexEntry>
<listingExternalId>orp5b2abax</listingExternalId>
<unitExternalId>orp5b2abax</unitExternalId>
<lastUpdatedDate>2022-08-09T13:50:51Z</lastUpdatedDate>
<lodgingConfigurationContentUrl>https://faststage.ownerrez.com/haapi/haxml/ora7ccdcde3fx/lodgingconfig/orp5b2abax</lodgingConfigurationContentUrl>
</lodgingConfigurationContentIndexEntry>
</advertiser>
</advertiserLodgingConfigurationContentIndex>