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

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

HTTP Method: POST

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

The following is an example request Xml body:

<ZNSGetFollowersModel>
  <ApiKey>String content</ApiKey>
  <SecretKey>String content</SecretKey>
  <OAID>String content</OAID>
  <Offset>2147483647</Offset>
  <Count>2147483647</Count>
</ZNSGetFollowersModel>

The following is an example response Xml body:

<OAFollowerResultModel>
  <CodeResult>String content</CodeResult>
  <ErrorMessage>String content</ErrorMessage>
  <Message>String content</Message>
  <Total>2147483647</Total>
  <Followers>
    <OAFollower>
      <User_Id>String content</User_Id>
    </OAFollower>
    <OAFollower>
      <User_Id>String content</User_Id>
    </OAFollower>
  </Followers>
</OAFollowerResultModel>

The following is the request Xml Schema:

<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ZNSGetFollowersModel" nillable="true" type="ZNSGetFollowersModel" />
  <xs:complexType name="ZNSGetFollowersModel">
    <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="OAID" type="xs:string" />
      <xs:element minOccurs="1" maxOccurs="1" name="Offset" type="xs:int" />
      <xs:element minOccurs="1" maxOccurs="1" name="Count" type="xs:int" />
    </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="OAFollowerResultModel" nillable="true" type="OAFollowerResultModel" />
  <xs:complexType name="OAFollowerResultModel">
    <xs:complexContent mixed="false">
      <xs:extension base="ResultModel">
        <xs:sequence>
          <xs:element minOccurs="1" maxOccurs="1" name="Total" type="xs:int" />
          <xs:element minOccurs="0" maxOccurs="1" name="Followers" type="ArrayOfOAFollower" />
        </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="ArrayOfOAFollower">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OAFollower" nillable="true" type="OAFollower" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OAFollower">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="User_Id" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>