Api

<back to all web services

SmsReport

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/syncreply/SmsReport HTTP/1.1 
Host: poly-api.com 
Content-Type: application/xml
Content-Length: length

<SmsReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
  <MessageID>0</MessageID>
</SmsReport>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SmsReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DeliveredCount>0</DeliveredCount>
  <ExpireDate>String</ExpireDate>
  <MessageCount>0</MessageCount>
  <MessageStatus>0</MessageStatus>
  <ReportDetails>
    <ReportDetail>
      <MessageStatus>String</MessageStatus>
      <Msisdn>String</Msisdn>
    </ReportDetail>
  </ReportDetails>
  <RequestDate>0001-01-01T00:00:00</RequestDate>
  <ScheduledSendDate>String</ScheduledSendDate>
  <Status>
    <Code>0</Code>
    <Description>String</Description>
    <Message>String</Message>
  </Status>
  <UndeliveredCount>0</UndeliveredCount>
</SmsReportResponse>