HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/SmsSendCustom HTTP/1.1
Host: poly-api.com
Content-Type: application/xml
Content-Length: length
<SmsSendCustom xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Credential>
<Password>String</Password>
<Username>String</Username>
</Credential>
<DataCoding>0</DataCoding>
<ExpireDate>String</ExpireDate>
<Messages>
<SmsPackageCustom>
<Gsm>String</Gsm>
<Message>String</Message>
<MessageID>String</MessageID>
</SmsPackageCustom>
</Messages>
<ScheduledSendDate>String</ScheduledSendDate>
<Sender>String</Sender>
</SmsSendCustom>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SmsSendCustomResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Results>
<SmsPackageCustomResult>
<MessageID>String</MessageID>
<Result>0</Result>
</SmsPackageCustomResult>
</Results>
<Status>
<Code>0</Code>
<Description>String</Description>
<Message>String</Message>
</Status>
</SmsSendCustomResponse>