1. Home
  2. Docs
  3. Resales-Online Property Imports
  4. Resales-Online XML specification (v1.5)
  5. Custom Data Types

Custom Data Types

The following custom complex data types are used in the main definition above (Property Details):

  • Lister Type

This field is mandatory to be able to set property as ShareNetwork.

However if the Lister user doesn’t exist in Resales-Online, or this field is not included in the XML, we will set Lister from Default Lister User value (chosen by the customer when setting up their feed)

Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
firstNameTextYesYES (Default value)Lister first name
lastNameTextYesYES (Default value)Lister last Name

  • Address Type

It is possible to include all the address in node address1. We’ll split it if it is bigger than 64 characters.

If both nodes are included (address1 and address2), be sure they are not bigger than 64 characters.

*Note: There is an available setting to take address value from cadastral reference. By default if the address is empty, it will try to get it from cadastral reference (if exists)

To validate and get location, first we check town node, if not a valid location, then we check district node.

Valid locations within the correspondent province.

Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
address1Text(64)YesYESFirst address line, Can include all the address, if >64 chars we'll split it and obtain address2
address2Text(64)YesYES/NOSecond address line
countryTextYesYESThe country of the property (e.g. ‘Spain’)
townTextYesYESThe town/city location of the property (e.g. ‘Elviria’)
provinceTextYesYESThe province/county of the property (e.g. Málaga)
districtTextNoThe district of the town/city location (e.g. ‘Elviria’ is in the district of ‘Marbella’)
postCodeTextNoThe post code of the property (e.g. ‘29670’)
regionTextNoThe region in which the province lies (e.g. ‘Andalucía’)
gpsLongitudeDecimalNoThe GPS longitude of the property
gpsLatitudeDecimalNoThe GPS latitude of the property
directionsTextNoPrivate details of directions to the property

  • SaleDetails Type

saleReferenceId node: Will contains the agency reference. Reference that will be used to search in Resales-Online.

If this reference doesn’t come, we’ll take referenceId as Agency Ref.

This ref also is needed to connect Feed properties with Resales-online properties at the first import execution.

Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
saleReferenceIdTextNoThe sale reference identifier of the property
saleTypeTextYesValid values : ‘Freehold’ or ‘Leasehold’
sharedNumeric(1)YesYESValid values : 1=share with other agencies, 0=do not share
sharedOnWebNumeric(1)NoValid values : 1=shared on other agents’ websites and portals, 0=not shared
priceNumericYesYESThe sale price of the property (including commission) in the given currency
commissionPctDecimalYESYES (Default value)The commission percentage for the property – either the commissionPct or the commissionAmountfield must be present. If both fields are present, the commissionAmount field will take priority.
commissionOwnPctDecimalYesYES (Default value)The percentage of the total commission that you receive as the listing agent for the property if the property is sold by another agent (e.g. ’ 50’ = 50%)
commissionNotesTextNoPublic notes about the commission available on this property
originalPriceNumericNoThe original listed price of the property in the given currency
valuationPriceNumericNoThe valuation price of the property in the given currency
valuationYearNumeric(4)NoThe year of the property valuation

  • RentalDetails Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
rentalReferenceIdTextNoThe rental reference identifier of the property
sharedNumeric(1)YesValid values : 1=share with other agencies, 0=do not share
sharedOnWebNumeric(1)NoValid values : 1=shared on other agents’ websites and portals, 0=not shared
rentalRatesRentalRate TypeYesYES (If it is rental)Short and long term rental rates for this property (minOccurs=1, maxOccurs=2)
rentalBookingsRentalBooking TypeNoRental bookings for this property (minOccurs=0, maxOccurs=99)

  • RentalRate Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
rentalPeriodTextYesYESValid values : ‘week’ or ‘month’
rentalMinAmountNumericYesYESThe minimum rental amount for this rental period in the given currency
rentalMaxAmountNumericYesYESThe maximum rental amount for this rental period in the given currency

  • PropertySize Type

Nodes garden and plot will be a sum of both and mapped to RsGardenPlotSqm

Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
builtNumericYes/NoYESThe built size of the property in the given sizeType -mandatory if property type is not ‘Plot’
usefulSurfaceNumericNoNoBuilt size excluding the walls and pillars and other non-expendable elements. (85% aprox)
terraceNumericNoYESThe terrace size of the property in the given sizeType
gardenNumericNoYESThe garden size of the property in the given sizeType
plotNumericYes/NoYESThe plot size of the property in the given sizeType - mandatory if property type is ‘Villa’ or ‘Plot’

  • Costs Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
communityFeesNumericNoThe community fees for the property in the given currency
refuseCollectionNumericNoThe refuse collection fees for the property in the given currency
localTaxesNumericNoThe local taxes for the property in the given currency
ibiReceiptNumeric(1)NoValues are ‘0’ for no receipt and ‘1’ for IBI receipt
notaSimpleNumeric(1)NoValues are ‘0’ for no Nota Simple and ‘1’ for holding the Nota Simple

  • Feature Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
featureTypeFeatureDetail TypeYesDetails of the features of this property (minOccurs=1,maxOccurs=14)

  • FeatureDetail Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
nameTextYesName of Feature Type
(See Appendix 2 – Property Features)
valueTextYesValue of Feature Type
(See Appendix 2 – Property Features)
(minOccurs = 1,maxOccurs=99)

  • Descriptions Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
enTextYesYESProperty description in English
esTextNoYESProperty description in Spanish
deTextNoProperty description in German
frTextNoProperty description in French
nlTextNoProperty description in Dutch
daTextNoProperty description in Danish
ruTextNoProperty description in Russian
seTextNoProperty description in Swedish
poTextNoProperty description in Polish
noTextNoProperty description in Norwegian

  • Images Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
imageImageDetail TypeYesYESImages of this property
(minOccurs=1,maxOccurs=99)

  • ImageDetails Type
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
urlTextYesURL link to the property image
titleTextNoTitle of the image

  • Client Type

If you wish to import a client, clientReferenceId is mandaroty. If it is empty, won’t be processed.

clientReferenceId + fisrtName + lastName (minimum required details to import it)

Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
clientReferenceIdTextYesThe unique identifier for the client. If empty won't be processed.
firstNameTextYesClient’s first name
lastNameTextYesClient’s surname
phoneNumberTextNoThe landline phone number of the client
mobileNumberTextNoThe mobile phone number of the client
faxNumberTextNoThe fax number of the client
primaryEmailTextNoThe client’s primary email address
secondaryEmailTextNoThe client’s secondary email address
clientNotesTextNoPrivate notes about the client

  • KeyDetails Type (In progress)
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
keyStatusTextYesValid values : ‘With Vendor’, ‘With Keyholder’, ‘In Office’ or ‘None’
keyReferenceIdTextNoThe reference identifier for the keys of the property
keyHolderClient TypeNoDetails of the Keyholder for the property (maxOccurs=1)
keyNotesTextNoPrivate notes about the keys

  • RentalBooking Type (In progress)
Field NameDataTypeXML Required
(Needed for valid XML)
ShareNetwork Required
(Needed to Share in Network)
Comments
rentalStartDateDate(19)YesThe start date and time of the rental booking (in ‘YYYY-MM-DD hh:mm:ss’ format)
rentalEndDateDate(19)YesThe end date and time of the rental booking (in ‘YYYY-MM-DD hh:mm:ss’ format)
rentalTenantClient TypeNoDetails of the tenant for this rental booking
Was this article helpful to you? Yes No

How can we help?