Office
Web Service
Argument List:
o
uid – company’s
iHomefinder client ID number
o
sid
- company’s iHomefinder password
Argument List:
o
uid – company’s
iHomefinder client ID number
o
sid
- company’s iHomefinder password
o
OfficeID – company’s internal office id (OfficeCompanyCode).
o
uid – company’s
iHomefinder client ID number
o
sid
- company’s iHomefinder password
o
XmlDataString - an XML string that specifies the data values for update. The XmlDataString must be formatted as XML,
must have a root element of "officelist", and must contain the child
element officecompanycode (company’s internal office code). Child elements are:
q
officename – Name of office
q
officecompanycode – Company’s internal ID for office
q
priority – Office’s display order in office list
q
phone – Office phone
q
fax – Office fax
q
address – Office address
q
city – Office city
q
state – Office state
q
zip – Office zip code
q officephotourl – URL for office photo
q
officeheader – HTML for header of office page
q
officeareaid – Area ID for Office (contact iHomefinder for
area ID’s)
q
officedescription – Description of office
·
deleteOffices - deletes office info based
on client's internal office codes.
o
uid – company’s
iHomefinder client ID number
o
sid
- company’s iHomefinder password
o XmlDataString - an XML string that specifies the data values for update. The XmlDataString must be formatted as XML, must have a root element of "officelist", and must contain the child element officecompanycode (company's internal office code).
An example that consumes the
webservice using Cold Fusion is:
<cfinvoke
webservice="https://secure.idxre.com/ihws/OfficeWebService.cfc?wsdl"
method="updateOffices" uid="1" sid="password"
XmlDataString="XML_Data"
returnVariable="UpdateOffices">
</cfinvoke>
Where the clientid is 1, the password is “password”, and XML_Data is the XML data.
An example XML data file can be viewed here.