Update External Listing - Push_PutPropertyExternalListing
This method is designed for Sales Channels to provide information about listing status in the Sales Channel. Use this method to insert current status of a given property in your Sales Channel.
note
This method is mandatory for Sales Channels to implement. Property managers are always keen to know the status of their listings.
Use Cases
- Connect property to your platform
- Activate/deactivate listing sync
- Update listing connection details
Best Practices
- Set and update the status as soon as it changes in your platform
Request
XML request
<Push_PutPropertyExternalListing_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<Properties>
<Property ID="0">
<Url>http://someAgency.com/apartment0</Url>
<Status>1</Status>
<Description>Online but the property plan will be nice</Description>
</Property>
<Property ID="1">
<Url>http://someAgency.com/apartment1</Url>
<Status>1</Status>
<Description>everything ok</Description>
</Property>
</Properties>
</Push_PutPropertyExternalListing_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_PutPropertyExternalListing_RQ | C | Root element | |
| Push_PutPropertyExternalListing_RQ/Authentication | C, M | Authentication details | |
| Push_PutPropertyExternalListing_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Push_PutPropertyExternalListing_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Push_PutPropertyExternalListing_RQ/Properties | C | A collection of properties | |
| Push_PutPropertyExternalListing_RQ/Properties/Property | C | Single property | |
| Push_PutPropertyExternalListing_RQ/Properties/Property@ID | Integer | M | Unique property ID |
| Push_PutPropertyExternalListing_RQ/Properties/Property/Url | String(300) | M | Url to external service |
| Push_PutPropertyExternalListing_RQ/Properties/Property/Status | Integer | M | ID of the status to be set (see ListPropertyExternalStatuses). Passing "Requested publishing" or "Requested removal" statuses is not allowed here |
| Push_PutPropertyExternalListing_RQ/Properties/Property/Description | String(500) | M | Additional information for the owner, e.g. "property is online, but the property plan is missing, we need this", "property is not online, amenities are missing" |
Response
XML response
<Push_PutPropertyExternalListing_RS>
<Status ID="0">Success</Status>
<ResponseID ID="1">Success</ResponseID>
</Push_PutPropertyExternalListing_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_PutPropertyExternalListing_RS | C | Root element | |
| Push_PutPropertyExternalListing_RS/Status | String(100) | M | See ListStatuses |
| Push_PutPropertyExternalListing_RS/Status@ID | Integer | M | See ListStatuses |
| Push_PutPropertyExternalListing_RS/ResponseID | String(32) | M | Unique response ID |