Get Agent
(deprecated, use Agent Service instead)
Request Profile Table
Element | @Attribute |
Description/Contents |
GetAgent_RQ |
Root element of message. |
ID |
Element indicating the ID of the agent. If this is omitted, the service will search according to what is specified in GUID. |
GUID |
Element indicating the GUID of the agent. |
Scenario:
You want to retrieve agent info. The ID is "1645".
Example message:
<?xml version="1.0" encoding="utf-8"?>
<GetAgent_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ID xmlns="ResLink">1645</ID>
<GUID xmlns="ResLink" />
</GetAgent_RQ>
Response Profile Table
Element | @Attribute |
Description/Contents |
GetAgent_RS |
Root element of message. |
Agent |
Element indicating an agent. |
ID |
Agent's ID. |
GUID |
Agent's GUID. |
Name |
Name. |
Address1 |
First address line. |
Address2 |
Second address line. |
Address3 |
Third address line. |
State |
State. |
Country |
Country. |
Email |
Email address. |
Example message:
<?xml version="1.0" encoding="utf-8"?>
<GetAgent_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Agent xmlns="ResLink">
<ID>1645</ID>
<GUID>TEST_AGENT</GUID>
<Name>Test Agent</Name>
<Address1>Unit 6</Address1>
<Address2>27 South Pine Rd</Address2>
<Address3>Brendale</Address3>
<State>QLD</State>
<Country>AUS</Country>
<Email>reception@testagent.com </Email>
</Agent>
<TimeStamp xmlns="ResLink">2007-10-19T16:54:08.122064+10:00</TimeStamp>
<Errors xmlns="ResLink" />
<Warnings xmlns="ResLink" />
</GetAgent_RS>