REST (With XML) - CRM Integration (Owner)

How to use the Palace API Web Service (Owners)

Palace offers the ability to perform various functions through a secure API Web Service.  This article describes the REST endpoint and contracts for 'Owners' in Palace.

  • Owners List (Sync)
  • Owner Insert

GET (Detailed List of 'Owners')

NZ: https://serviceapi.realbaselive.com/Service.svc/RestService/ViewAllDetailedOwner
Aus: https://serviceapia.realbaselive.com/Service.svc/RestService/ViewAllDetailedOwner

(No Parameters)

 Field Name Definition
 OwnerCode  Internal unique code generated by Palace. Used to identify a Owner within Palace to the corresponding database entry.
 OwnerSortCode  Generally set the same as the users 'Surname'.  This can also be an alternate alpha code to sort and identify an owner
 OwnerTitle  'Title' used for correspondence
 OwnerLastName  Owner 'Last Name'
 OwnerFirstName   Owner 'First Name'
 OwnerFullName  Owner 'Full Name'
 OwnerAddress  Owner 'Postal Address'
 OwnerServiceAddress  Owner 'Service Address
 OwnerPhoneHome  Owner 'Home Phone' number
 OwnerEmail1   Owner 'Primary' email address
 OwnerEmail2  Owner 'Secondary' email address
 OwnerPhoneWork  Owner 'Work Phone' Number
 OwnerMobile  Owner 'Mobile' number
 OwnerFax  Owner 'Fax' number
 OwnerOpeningBalance  Owner 'Opening Balance' for the current month
 OwnerCurrentBalance  Owner 'Current Balance' for the current month
 OwnerPaymentType  How the Owner is paid (only options below):
  • Cheque
  • Direct
  • Hold
 OwnerPrimaryAgentCode  Primary 'Property Manager' looking after this owner

 Code can be obtained from GET (Following contract):

 NZ
 https://serviceapi.realbaselive.com/Service.svc/RestService/ViewAllDetailedAgent

 AUS
 https://serviceapia.realbaselive.com/Service.svc/RestService/ViewAllDetailedAgent

 OwnerStatementMedia

 How the Owner is sent his statement (only options below):

  • None
  • Email
  • Email & paper
  • Email & paper (Alt)
  • Paper

 NOTE: (Alt) stands for 'Alternate Address'

 OwnerLastTransactionDate  The 'Last Transaction' initiated against this 'Owner'
 OwnerPaymentFrequency  How often the 'Owner' is paid (only options below):
  • Daily
  • Week (Monday)
  • Week (Tuesday)
  • Week (Wednesday)
  • Week (Thursday)
  • Week (Friday)
  • Week (Saturday)
  • Week (Sunday)
  • Fortnight (Monday)
  • Fortnight (Tuesday)
  • Fortnight (Wednesday)
  • Fortnight (Thursday)
  • Fortnight (Friday)
  • Fortnight (Saturday)
  • Fortnight (Sunday)
  • Half-Month
  • Month
 OwnerStatementType  Owner Statement Type (only options below):
  • Commercial (Portrait)
  • Details (Portrait)
  • Details (Portrait) - Split
  • Details B (Portrait)
  • Details B (Portrait) - Split
  • Details C (Portrait)
  • Large Portfolio (Portrait)
  • Summary 1 (Portrait)
  • Special 1 (Portrait)
  • Guaranteed Rent (Portrait)
  • Holiday 1 (Portrait)
 OwnerEndDate  Date the 'Management Contract' expires
 OwnerInsuranceCompany  Owner's Insurance Company Name
 OwnerInsuranceExcess   Owner's Insurance Excess
 OwnerIncludeAlternateStatement  Include 'Month End' alternate 'Name & Address' in Month End 'Statement Run'
 OwnerChangeCode 'OwnerChangeCode' allows developers to only update changed records if this information is recorded against the 'OwnerCode'.  If this information has not changed for a previous sync then no update is required within the 3rd party system.
 OwnerArchived  Indicates if the 'Owner' is archived or not (yes / no)

 


POST (Service Name 'v2InsertOwner')

NZ: https://serviceapi.realbaselive.com/Service.svc/RestService/v2InsertOwner
Aus: https://serviceapia.realbaselive.com/Service.svc/RestService/v2InsertOwner 

XSD Definition

(NOTE: Non-Mandatory elements may be missing, but existing elements must be  in the correct order as listed below)

Red = Mandatory 
Blue = Date Formats (Must be yyyy-MM-dd)

 
<xs:complexType name="v2InsertOwner">
<xs:sequence>
<xs:element minOccurs="0" name="OwnerAddress" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerAlternateAddress" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerComments" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCompanyDescription" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCompanyTypeOfBusiness" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCountryCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom1" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom2" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom3" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom4" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom5" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom6" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom7" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom8" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerCustom9" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerDear" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="OwnerEmail1" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerEmail2" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerEndDate" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerFax" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerFirstName" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="OwnerFullName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerGSTExempt" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerGSTNumber" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerHideBankAccount" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerIncludeAlternateStatement" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="0" name="OwnerInitials" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerInsuranceCompany" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerInsuranceExcess" nillable="true" type="xs:double"/>
<xs:element minOccurs="0" name="OwnerIsCompany" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="1" name="OwnerLastName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerMailMerge" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="0" name="OwnerMobile" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerOurCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerPaymentFrequency" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerPaymentType" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerPhoneHome" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerPhoneWork" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="OwnerPrimaryAgentCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerProspect" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="1" name="OwnerSortCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerSplitPayment" nillable="true" type="xs:boolean"/>
<xs:element minOccurs="0" name="OwnerStartDate" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerStatementMedia" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerStatementMessage" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerStatementType" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="OwnerSystemBankCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerTitle" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OwnerWaterCharge" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>

Example

 Definitions

 Field Name Definition
 OwnerAddress  Owner Address / Postal Address for Owner
 OwnerAlternateAddress  Alternate Address (can sometimes be name and address of 'Accountant')
 OwnerComments  Notes or Comments against owner
 OwnerCompanyDescription  If the Owner is a company, this is a description of the company
 OwnerCompanyTypeOfBusiness  If the Owner is a company, this is the type of business
 OwnerCountryCode  Country Code ('NZ' or 'Australia')
 OwnerCustom1  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom2  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom3  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom4  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom5  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom6  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom7  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom8  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerCustom9  If a 'Custom Field' is setup in the database, this will be the value of the custom field
 OwnerDear  For mail merge (generally first name)
 OwnerEmail1  Email Address (Primary)
 OwnerEmail2  Email Address (Secondary)
 OwnerEndDate  Date the 'Management Contract' expires
 OwnerFax  Owner's Fax Number
 OwnerFirstName  Owner's First Name
 OwnerFullName  Owner's Full Name
 OwnerGSTExempt  If the owner is tagged as 'GST Exempt' ('true' or 'false')
 OwnerHideBankAccount  Hide the owner's bank account from the 'Statement' ('true' or 'false')
 OwnerIncludeAlternateStatement  Owner wants a second statement sent to an alternate address ('true' or 'false')
 OwnerInitials  Owner's initials
 OwnerInsuranceCompany  Owner's insurance company
 OwnerInsuranceExcess  Owner's insurance excess
 OwnerIsCompany  Is this 'Owner' a company ('true' or 'false')
 OwnerLastName  Owner's last name
 OwnerMailMerge  Is this Owner to be included in batch 'Mail Merge' routines
 OwnerMobile  Owner's Mobile Number
 OwnerOurCode  Owner's user code (if required)
 OwnerPaymentFrequency

How often the 'Owner' is paid (only options below):

  • Daily
  • Week (Monday)
  • Week (Tuesday)
  • Week (Wednesday)
  • Week (Thursday)
  • Week (Friday)
  • Week (Saturday)
  • Week (Sunday)
  • Fortnight (Monday)
  • Fortnight (Tuesday)
  • Fortnight (Wednesday)
  • Fortnight (Thursday)
  • Fortnight (Friday)
  • Fortnight (Saturday)
  • Fortnight (Sunday)
  • Half-Month
  • Month
 OwnerPaymentType

 How the Owner is paid (only options below):

  • Cheque
  • Direct
  • Hold
 OwnerPhoneHome  Owner's home phone number
 OwnerPhoneWork  Owner's work phone number
 OwnerPrimaryAgentCode

 Primary 'Property Manager' looking after this owner

 Code can be obtained from GET (Following contract):

 NZ
 https://serviceapi.realbaselive.com/Service.svc/RestService/ViewAllDetailedAgent

 AUS
 https://serviceapia.realbaselive.com/Service.svc/RestService/ViewAllDetailedAgent

 OwnerProspect  Is the Owner a 'Prospect'
 OwnerSortCode  Sort code (generally this is the 'Owner' surname)
 OwnerSplitPayment  Allow a separate payment on the Owner's statement for each 'Property' ('true' or 'false')
 OwnerStartDate  Start date of the 'Management Contract'
 OwnerStatementMedia

 How the Owner is sent his statement (only options below):

  • None
  • Email
  • Email & paper
  • Email & paper (Alt)
  • Paper

 NOTE: (Alt) stands for 'Alternate Address'

 OwnerStatementMessage  Show's as a personal message to the Owner on the 'Statement'
 OwnerStatementType

 Owner Statement Type (only options below):

  • Commercial (Portrait)
  • Details (Portrait)
  • Details (Portrait) - Split
  • Details B (Portrait)
  • Details B (Portrait) - Split
  • Details C (Portrait)
  • Large Portfolio (Portrait)
  • Summary 1 (Portrait)
  • Special 1 (Portrait)
  • Guaranteed Rent (Portrait)
  • Holiday 1 (Portrait)
 OwnerSystemBankCode  Code can be obtained from GET (Following contract):

 NZ
 https://serviceapi.realbaselive.com/Service.svc/RestService/v2ViewAllDetailedSystemBank

 AUS
 https://serviceapia.realbaselive.com/Service.svc/RestService/v2ViewAllDetailedSystemBank

 OwnerTitle  Title of the Owner (e.g. Mr, Mrs, Miss etc...)

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.