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

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

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:

<ZNSQoutaResultModel>
  <CodeResult>String content</CodeResult>
  <ErrorMessage>String content</ErrorMessage>
  <Message>String content</Message>
  <DailyQuota>9223372036854775807</DailyQuota>
  <DailyQuotaPromotion>9223372036854775807</DailyQuotaPromotion>
  <RemainingQuota>9223372036854775807</RemainingQuota>
  <RemainingQuotaPromotion>9223372036854775807</RemainingQuotaPromotion>
</ZNSQoutaResultModel>

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="ZNSQoutaResultModel" nillable="true" type="ZNSQoutaResultModel" />
  <xs:complexType name="ZNSQoutaResultModel">
    <xs:complexContent mixed="false">
      <xs:extension base="ResultModel">
        <xs:sequence>
          <xs:element minOccurs="1" maxOccurs="1" name="DailyQuota" type="xs:long" />
          <xs:element minOccurs="1" maxOccurs="1" name="DailyQuotaPromotion" type="xs:long" />
          <xs:element minOccurs="1" maxOccurs="1" name="RemainingQuota" type="xs:long" />
          <xs:element minOccurs="1" maxOccurs="1" name="RemainingQuotaPromotion" type="xs:long" />
        </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:schema>