Example - Review

**Dependent on reviews setup properly, active, and available for synching under channel integration**

cURL example:

curl --user ${ownerrez_user}:${ownerrez_key} --location --request GET "${reviewUrl}" --silent | xmllint --format -

Get the reviewUrl for a review from the advertiser review index feed.

XML payload:

<?xml version="1.0"?>
<review>
<inserted>2022-09-19T19:19:08</inserted>
<updated>2022-09-19T19:19:28</updated>
<externalId>ORREV108300211</externalId>
<arrivalDate>2022-08-24T00:00:00Z</arrivalDate>
<body>
<texts>
<text locale="en">
<textValue>I liked it a lot</textValue>
</text>
</texts>
</body>
<externalStatus>APPROVED</externalStatus>
<headline>
<texts>
<text locale="en">
<textValue>Great place</textValue>
</text>
</texts>
</headline>
<listingExternalId>orp5b2e1ax</listingExternalId>
<rating>5</rating>
<ratingScale>POINTS_5</ratingScale>
<reviewer>
<emailAddress>ORREV108300211@ownerreservations.com</emailAddress>
<firstName>Brendon</firstName>
<lastName>Small</lastName>
<screenLocation>Los Angeles, CA</screenLocation>
</reviewer>
<unitExternalId>orp5b2e1ax</unitExternalId>
</review>