List Properties - Pull_ListProp
This method returns a list of properties in a given location.
Use Cases
Retrieve list of properties in a given location
Best Practices
- Cache property list for 4-6 hours minimum
- Use change logs for updates instead of repeated calls
- Handle both numeric (RU) and alphanumeric (Guesty) IDs
note
Rentals United IDs are numeric strings, for example: 123456.
Guesty IDs are prefixed with "G-", for example: G-sfg53vgg. Matching is case-sensitive. Pass the returned ID unchanged in other methods.
Request
XML request
<Pull_ListProp_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<LocationID>3509</LocationID>
<IncludeNLA>false</IncludeNLA>
</Pull_ListProp_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListProp_RQ | C | Root element | |
| Pull_ListProp_RQ/Authentication | C, M | Authentication details | |
| Pull_ListProp_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_ListProp_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Pull_ListProp_RQ/LocationID | Integer | M | See ListLocations |
| Pull_ListProp_RQ/IncludeNLA | Boolean | O | False/0 will filter out no longer available properties from the XML Response. Default is True/1. Works only for Rentals United |
Response
XML response
<Pull_ListProp_RS>
<Status ID="0">Success</Status>
<ResponseID>320b40cb8d6f434cb0c6d4bd2799974f</ResponseID>
<Properties>
<Property>
<PUID BuildingID="-1">273641</PUID>
<ID BuildingID="-1">2209989</ID>
<Name>One Bedroom Apartment</Name>
<OwnerID>553968</OwnerID>
<DetailedLocationID TypeID="4">25591</DetailedLocationID>
<LastMod NLA="false">2019-04-26 06:53:45</LastMod>
<DateCreated>2019-03-05</DateCreated>
</Property>
</Properties>
</Pull_ListProp_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListProp_RS | C | Root element | |
| Pull_ListProp_RS/Status | String(100) | M | See ListStatuses |
| Pull_ListProp_RS/Status@ID | Integer | M | See ListStatuses |
| Pull_ListProp_RS/ResponseID | String(32) | M | Unique response ID |
| Pull_ListProp_RS/Properties | C, M | A collection of properties in the location specified in the XML Request | |
| Pull_ListProp_RS/Properties/Property | C | A single property | |
| Pull_ListProp_RS/Properties/Property/PUID | String(200) | O | Unique property ID in the property provider's system |
| Pull_ListProp_RS/Properties/Property/PUID@BuildingID | String | O | Unique building ID in the property provider's system |
| Pull_ListProp_RS/Properties/Property/ID | String | M | Unique property ID |
| Pull_ListProp_RS/Properties/Property/ID@BuildingID | String | O | Building ID |
| Pull_ListProp_RS/Properties/Property/ID@BuildingName | String(100) | O | Building name |
| Pull_ListProp_RS/Properties/Property/Name | String(300) | M | Property name |
| Pull_ListProp_RS/Properties/Property/OwnerID | String | M | Owner ID. It represents the person responsible for managing or overseeing a property. It is possible to add additional owners. By default, OwnerID is the same as UserID. See GetOwnerDetails |
| Pull_ListProp_RS/Properties/Property/DetailedLocationID | Integer | M | The most detailed location. See GetLocationDetails |
| Pull_ListProp_RS/Properties/Property/DetailedLocationID@TypeID | Integer | M | Location type ID, see ListLocationTypes |
| Pull_ListProp_RS/Properties/Property/LastMod | String | M | Last modification date of property static details (format YYYY-MM-DD HHMM-SS) |
| Pull_ListProp_RS/Properties/Property/LastMod@NLA | Boolean | M | True/1 means that the property is no longer available, NLA properties are automatically removed from the XML feed 1 week after they have been deactivated by the property provider |
| Pull_ListProp_RS/Properties/Property/LastMod@Active | Boolean | M | Indicates whether the property is active |
| Pull_ListProp_RS/Properties/Property/DateCreated | String(10) | M | Property create date (YYYY-MM-DD format) |