HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/AccountBalance HTTP/1.1
Host: poly-api.com
Content-Type: application/xml
Content-Length: length
<AccountBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Credential>
<Password>String</Password>
<Username>String</Username>
</Credential>
</AccountBalance>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<AccountBalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Credit>0</Credit>
<Status>
<Code>0</Code>
<Description>String</Description>
<Message>String</Message>
</Status>
</AccountBalanceResponse>