HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/SubmitMultiForReport HTTP/1.1
Host: barabut.com
Content-Type: application/xml
Content-Length: length
<SubmitMultiForReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
<Credential>
<Password>String</Password>
<Username>String</Username>
</Credential>
<DataCoding>Default</DataCoding>
<Envelopes>
<Envelope>
<Message>String</Message>
<To>String</To>
</Envelope>
</Envelopes>
<Header>
<From>String</From>
<ScheduledDeliveryTime i:nil="true" />
<ValidityPeriod>0</ValidityPeriod>
</Header>
</SubmitMultiForReport>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SubmitMultiForReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
<Response>
<MessageId>0</MessageId>
<ReportDetail>
<List>
<ReportDetailItem>
<Payload>String</Payload>
<Xser>String</Xser>
<Cost>0</Cost>
<ErrorCode>0</ErrorCode>
<Id>0</Id>
<LastUpdated>0001-01-01T00:00:00</LastUpdated>
<MSISDN>String</MSISDN>
<Network>0</Network>
<Sequence>0</Sequence>
<State>Scheduled</State>
<Submitted>0001-01-01T00:00:00</Submitted>
</ReportDetailItem>
</List>
</ReportDetail>
<Status>
<Code>0</Code>
<Description>String</Description>
</Status>
</Response>
</SubmitMultiForReportResponse>