Reference for http://api.esms.vn/MainService.svc/xml/GetSmsReceiverStatus_V2?SMSID={SMSID}&ApiKey={APIKEY}&SecretKey={SECRETKEY}

Url: http://api.esms.vn/MainService.svc/xml/GetSmsReceiverStatus_V2?SMSID={SMSID}&ApiKey={APIKEY}&SecretKey={SECRETKEY}

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema

The following is an example response Xml body:

<SmsReceiver>
  <CodeResult>String content</CodeResult>
  <ErrorMessage>String content</ErrorMessage>
  <ReceiverList>
    <Receiver>
      <Phone>String content</Phone>
      <SentResult>true</SentResult>
      <IsSent>true</IsSent>
      <NetworkName>String content</NetworkName>
      <Retry>2147483647</Retry>
    </Receiver>
    <Receiver>
      <Phone>String content</Phone>
      <SentResult>true</SentResult>
      <IsSent>true</IsSent>
      <NetworkName>String content</NetworkName>
      <Retry>2147483647</Retry>
    </Receiver>
  </ReceiverList>
  <ReceiverStatus>
    <ReceiverStatus>
      <Phone>String content</Phone>
      <Status>String content</Status>
      <SentTime>String content</SentTime>
    </ReceiverStatus>
    <ReceiverStatus>
      <Phone>String content</Phone>
      <Status>String content</Status>
      <SentTime>String content</SentTime>
    </ReceiverStatus>
  </ReceiverStatus>
</SmsReceiver>

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="SmsReceiver" nillable="true" type="SmsReceiver" />
  <xs:complexType name="SmsReceiver">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="CodeResult" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReceiverList" type="ArrayOfReceiver" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReceiverStatus" type="ArrayOfReceiverStatus" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ArrayOfReceiver">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Receiver" nillable="true" type="Receiver" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Receiver">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="Phone" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="SentResult" type="xs:boolean" />
      <xs:element minOccurs="1" maxOccurs="1" name="IsSent" type="xs:boolean" />
      <xs:element minOccurs="0" maxOccurs="1" name="NetworkName" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Retry" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ArrayOfReceiverStatus">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ReceiverStatus" nillable="true" type="ReceiverStatus" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ReceiverStatus">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="Phone" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="Status" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="SentTime" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>