SMS Api

<back to all web services

SubmitMultiForReport

HTTP + SOAP11

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

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<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>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<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>

    </soap:Body>
</soap:Envelope>