List All Owners - Pull_ListAllOwners
This method returns a list of property owners available for your channel. Owner represents contact information for a property. By default, user is a property owner.
note
RU owner IDs are numeric strings, for example: 123456.
Guesty owner IDs are prefixed with "G-", for example: G-sfg53vgg. Matching is case-sensitive. Pass the returned ID unchanged in other methods.
Use Cases
- Owner management
- Property filtering
- Owner portal integration
Request
XML request
<Pull_ListAllOwners_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_ListAllOwners_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListAllOwners_RQ | C | Root element | |
| Pull_ListAllOwners_RQ/Authentication | C, M | Authentication details | |
| Pull_ListAllOwners_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_ListAllOwners_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Pull_ListAllOwners_RQ/PropertyNotRequired | Boolean | O | By default, only owners which have at least 1 property assigned to them will be returned. Set this parameter to true to retrieve all owners regardless of the number of properties. |
Response
XML response
<Pull_ListAllOwners_RS>
<Status ID="0">Success</Status>
<ResponseID>b8057c27e2a84447b6d94fa60a2a533f</ResponseID>
<Owners>
<Owner OwnerID="553968">
<FirstName>John</FirstName>
<SurName>Smith</SurName>
<CompanyName>Rentals United</CompanyName>
<Email>john.smith@domain.com</Email>
<Phone>+48 22 000 00 00</Phone>
<User>
<UserName>john.smith@domain.com</UserName>
</User>
<UserAccountId>2012</UserAccountId>
</Owner>
</Owners>
</Pull_ListAllOwners_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListAllOwners_RS | C | Root element | |
| Pull_ListAllOwners_RS/Status | String(100) | M | See ListStatuses |
| Pull_ListAllOwners_RS/Status@ID | Integer | M | See ListStatuses |
| Pull_ListAllOwners_RS/ResponseID | String(32) | M | Unique response ID |
| Pull_ListAllOwners_RS/Owners | C, O | A collection of owners | |
| Pull_ListAllOwners_RS/Owners/Owner | C, O | Single owner | |
| Pull_ListAllOwners_RS/Owners/Owner@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_ListAllOwners_RS/Owners/Owner/FirstName | String(20) | M | Owner's first name |
| Pull_ListAllOwners_RS/Owners/Owner/SurName | String(30) | M | Owner's surname |
| Pull_ListAllOwners_RS/Owners/Owner/CompanyName | String(100) | O | Company name |
| Pull_ListAllOwners_RS/Owners/Owner/Email | String(100) | M | Owner's email address |
| Pull_ListAllOwners_RS/Owners/Owner/Phone | String (20) | M | Owner's phone number (with the country code) |
| Pull_ListAllOwners_RS/Owners/Owner/User | C, O | User details | |
| Pull_ListAllOwners_RS/Owners/Owner/User/UserName | String(100) | M | Owner's Rentals United username |
| Pull_ListAllOwners_RS/Owners/Owner/UserAccountId | Integer | M | Owner's PMS Account ID (0 will be returned if the user is not connected to any PMS) |