Reference for http://api.esms.vn/MainService.svc/xml/AgencyConnect/
Url: http://api.esms.vn/MainService.svc/xml/AgencyConnect/
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Response | Xml | Example,Schema |
The following is an example request Xml body:
<AuthorizeModel> <ApiKey>String content</ApiKey> <SecretKey>String content</SecretKey> </AuthorizeModel>
The following is an example response Xml body:
<MemberModel> <Balance>1.26743233E+15</Balance> <UserID>2147483647</UserID> <ErrorMessage>String content</ErrorMessage> <CodeResponse>String content</CodeResponse> </MemberModel>
The following is the request Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="AuthorizeModel" nillable="true" type="AuthorizeModel" />
<xs:complexType name="AuthorizeModel">
<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: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="MemberModel" nillable="true" type="MemberModel" />
<xs:complexType name="MemberModel">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="Balance" type="xs:double" />
<xs:element minOccurs="1" maxOccurs="1" name="UserID" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="CodeResponse" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>