Reference for http://api.esms.vn/MainService.svc/xml/GetBalance/{APIKEY}/{SECRETKEY}
Url: http://api.esms.vn/MainService.svc/xml/GetBalance/{APIKEY}/{SECRETKEY}
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
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 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>