SMS Api

<back to all web services

MsgSize

HTTP + XML

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

POST /xml/syncreply/MsgSize HTTP/1.1 
Host: barabut.com 
Content-Type: application/xml
Content-Length: length

<MsgSize xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
  <DataCoding>Default</DataCoding>
  <Message>String</Message>
</MsgSize>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MsgSizeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
  <Response>
    <Parts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Parts>
    <PartsCount>0</PartsCount>
    <Status>
      <Code>0</Code>
      <Description>String</Description>
    </Status>
  </Response>
</MsgSizeResponse>