cURL example:
curl --user ${ownerrez_user}:${ownerrez_key} --location --request GET "${bookingUpdateUrl}"
Get the bookingUpdateUrl for a booking from the booking update index.
XML payload:
<bookingUpdate>
<documentVersion>1.4</documentVersion>
<bookingUpdateDetails>
<advertiserAssignedId>ora7ccdcde3fx</advertiserAssignedId>
<listingExternalId>orp5b2abax</listingExternalId>
<unitExternalId>orp5b2abax</unitExternalId>
<externalId>ORB320055</externalId>
<guestProfileExternalId>ORG602093585</guestProfileExternalId>
<inquirer>
<firstName>Amy</firstName>
<lastName>Smith</lastName>
<emailAddress>amy@gmail.com</emailAddress>
<phoneNumber>+1 (512) 555-1212</phoneNumber>
<address rel="PRIMARY">
<addressLine1>10 Main Street</addressLine1>
<addressLine3>Austin</addressLine3>
<addressLine4>Texas</addressLine4>
<addressLine5>UNITED STATES</addressLine5>
<country>US</country>
<postalCode>12345</postalCode>
</address>
</inquirer>
<locale>en_US</locale>
<orderList>
<order>
<currency>GBP</currency>
<orderItemList>
<orderItem>
<feeType>RENTAL</feeType>
<name>Rent</name>
<preTaxAmount currency="GBP">1605.00</preTaxAmount>
<status>ACCEPTED</status>
<taxRate>0.000000</taxRate>
<totalAmount currency="GBP">1605.00</totalAmount>
</orderItem>
<orderItem>
<externalId>ORSUR102513996</externalId>
<feeType>MISC</feeType>
<name>Cleaning Fee</name>
<preTaxAmount currency="GBP">150.00</preTaxAmount>
<status>ACCEPTED</status>
<taxRate>0.000000</taxRate>
<totalAmount currency="GBP">150.00</totalAmount>
</orderItem>
</orderItemList>
<paymentSchedule>
<acceptedPaymentForms>
<paymentInvoiceDescriptor>
<paymentFormType>INVOICE</paymentFormType>
<paymentNote>Card processing disabled. Contact PM.</paymentNote>
</paymentInvoiceDescriptor>
</acceptedPaymentForms>
<paymentScheduleItemList>
<paymentScheduleItem>
<amount currency="GBP">877.50</amount>
<description>Scheduled 0 days before arrival for 877.50</description>
<dueDate>2023-03-16</dueDate>
<externalId>ORSP4217</externalId>
<refundable>false</refundable>
</paymentScheduleItem>
<paymentScheduleItem>
<amount currency="GBP">877.50</amount>
<description>Scheduled 0 days before arrival for remaining balance</description>
<dueDate>2023-03-16</dueDate>
<externalId>ORSP4218</externalId>
<refundable>false</refundable>
</paymentScheduleItem>
</paymentScheduleItemList>
</paymentSchedule>
</order>
</orderList>
<rentalAgreement>
<url>https://stage.orez.io/v1/l/4b31da0a5dc348a5803d5ac32525a0c6</url>
</rentalAgreement>
<reservationPaymentStatus>UNPAID</reservationPaymentStatus>
<reservation>
<numberOfAdults>2</numberOfAdults>
<numberOfChildren>0</numberOfChildren>
<numberOfPets>0</numberOfPets>
<reservationDates>
<beginDate>2023-03-16</beginDate>
<endDate>2023-03-21</endDate>
</reservationDates>
<reservationOriginationDate>2020-08-21T09:30:47</reservationOriginationDate>
</reservation>
<reservationStatus>CONFIRMED</reservationStatus>
</bookingUpdateDetails>
</bookingUpdate>