Reference for http://api.esms.vn/MainService.svc/xml/ZNS/GetSeenStatus/

Url: http://api.esms.vn/MainService.svc/xml/ZNS/GetSeenStatus/

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Response Xml Example,Schema

The following is an example request Xml body:

<ZNSGetZNSSeenStatusModel>
  <ApiKey>String content</ApiKey>
  <SecretKey>String content</SecretKey>
  <ReferenceId>String content</ReferenceId>
  <IsUseSmsId>true</IsUseSmsId>
  <SMSID>String content</SMSID>
</ZNSGetZNSSeenStatusModel>

The following is an example response Xml body:

<ZNSSeenStatusResultModel>
  <CodeResult>String content</CodeResult>
  <ErrorMessage>String content</ErrorMessage>
  <Message>String content</Message>
  <Data>
    <MsgId>String content</MsgId>
    <SeenTime>String content</SeenTime>
    <ZaloId>String content</ZaloId>
    <OAId>String content</OAId>
  </Data>
</ZNSSeenStatusResultModel>

The following is the request Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ZNSGetZNSSeenStatusModel" nillable="true" type="ZNSGetZNSSeenStatusModel" />
  <xs:complexType name="ZNSGetZNSSeenStatusModel">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="ApiKey" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="SecretKey" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ReferenceId" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="IsUseSmsId" type="xs:boolean" />
      <xs:element minOccurs="0" maxOccurs="1" name="SMSID" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

The following is the response Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ZNSSeenStatusResultModel" nillable="true" type="ZNSSeenStatusResultModel" />
  <xs:complexType name="ZNSSeenStatusResultModel">
    <xs:complexContent mixed="false">
      <xs:extension base="ResultModel">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="1" name="Data" type="ZNSSeenStatusData" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ResultModel">
    <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="Message" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ZNSSeenStatusData">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="MsgId" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="SeenTime" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="ZaloId" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="OAId" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>