SWAPI – AgentPropertiesUpdate

This command is used to update properties for a specific agent name. The agent name must exist in order to update the data. The following properties can be updated:

·           Server URL

·           Notification Address

Request

<ConnectionRequest Version="string" ConnectionID="{00BAE21C-A446-4477-AC1F-735B3C92D4A9}" RequestID="string">

  <AgentPropertiesUpdate>

    <AgentPropertiesUpdateData>

      <AgentPropertiesUpdateRecord>

        <AgentName>MyApp</AgentName>

        <ServerURL>string(100)</ServerURL>

        <NotificationAddress>string(255)</NotificationAddress>

      </AgentPropertiesUpdateRecord>

    </AgentPropertiesUpdateData>

  </AgentPropertiesUpdate>

</ConnectionRequest>

Response

 <AgentPropertiesUpdateResponse Successful="true" ResultCode="000" ResultText="Successful" Version="1.9.600.2" RequestID="string">

  <AgentPropertiesUpdateData>

    <AgentPropertiesUpdateRecord>

      <AgentName>MyApp</AgentName>

      <ServerURL>www.anywhere.com</ServerURL>

      <NotificationAddress>fFlinstone@anywhere.com</NotificationAddress>

    </AgentPropertiesUpdateRecord>

  </AgentPropertiesUpdateData>

</AgentPropertiesUpdateResponse>