Knowledge Base & Support Center

Agent Web Services

Other documentation including ColdFusion example available at http://secure.idxre.com/ihws/AgentWebServiceDoc.html

SoapClient->getFunctions

You may use the following code to view a list of the functions available via the web service when using the WDSL mode.

<?php
$client = new SoapClient('https://secure.idxre.com/ihws/AgentWebService.cfc?wsdl');
echo "<pre>".print_r($client->__getFunctions(),1)."</pre>\n";
?>

Output:

Array
(
[0] => string deleteAgents(double $uid, string $sid, string $XmlDataString)
[1] => string getAgentsByOffice(double $uid, string $sid, string $officeID)
[2] => string getAllAgents(double $uid, string $sid)
[3] => string getAgentsByID(double $uid, string $sid, string $agentID)
[4] => string updateAgents(double $uid, string $sid, string $XmlDataString)
[5] => string getLanguages(double $uid, string $sid)
[6] => string getAgentsByLanguage(double $uid, string $sid, string $languageID)
)

Internal Company Agent and Office ID

To use getAgentsByID and getAgentsByOffice, you must create a unique ID for each agent and office and add them in your IDX Control Panel.

Each agent's settings and office's settings have an optional field called

Function Specific Documentation

  • deleteAgents
  • getAgentsByOffice
  • getAllAgents
  • getAgentsByID
  • updateAgents
  • getLanguages
  • getAgentsByLanguage

Did you find this article helpful?