Skip to main content

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 PathData TypeTypeDescription
Pull_ListAllOwners_RQCRoot element
Pull_ListAllOwners_RQ/AuthenticationC, MAuthentication details
Pull_ListAllOwners_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_ListAllOwners_RQ/Authentication/SecretKeyString(100)MSecret key
Pull_ListAllOwners_RQ/PropertyNotRequiredBooleanOBy 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 PathData TypeTypeDescription
Pull_ListAllOwners_RSCRoot element
Pull_ListAllOwners_RS/StatusString(100)MSee ListStatuses
Pull_ListAllOwners_RS/Status@IDIntegerMSee ListStatuses
Pull_ListAllOwners_RS/ResponseIDString(32)MUnique response ID
Pull_ListAllOwners_RS/OwnersC, OA collection of owners
Pull_ListAllOwners_RS/Owners/OwnerC, OSingle owner
Pull_ListAllOwners_RS/Owners/Owner@OwnerIDStringMOwner 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/FirstNameString(20)MOwner's first name
Pull_ListAllOwners_RS/Owners/Owner/SurNameString(30)MOwner's surname
Pull_ListAllOwners_RS/Owners/Owner/CompanyNameString(100)OCompany name
Pull_ListAllOwners_RS/Owners/Owner/EmailString(100)MOwner's email address
Pull_ListAllOwners_RS/Owners/Owner/PhoneString (20)MOwner's phone number (with the country code)
Pull_ListAllOwners_RS/Owners/Owner/UserC, OUser details
Pull_ListAllOwners_RS/Owners/Owner/User/UserNameString(100)MOwner's Rentals United username
Pull_ListAllOwners_RS/Owners/Owner/UserAccountIdIntegerMOwner's PMS Account ID (0 will be returned if the user is not connected to any PMS)