HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/SubmitForReport HTTP/1.1
Host: barabut.com
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SubmitForReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
<Credential>
<Password>String</Password>
<Username>String</Username>
</Credential>
<DataCoding>Default</DataCoding>
<Header>
<From>String</From>
<ScheduledDeliveryTime i:nil="true" />
<ValidityPeriod>0</ValidityPeriod>
</Header>
<Message>String</Message>
<To xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</To>
</SubmitForReport>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SubmitForReportResponse 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>
</SubmitForReportResponse>
</soap12:Body>
</soap12:Envelope>