Reference for http://api.esms.vn/MainService.svc/xml/ZNS/GetListZOA/
Url: http://api.esms.vn/MainService.svc/xml/ZNS/GetListZOA/
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | Xml | Example,Schema |
Response | Xml | Example,Schema |
The following is an example request Xml body:
<ZNSSyntaxFilteringModel> <ApiKey>String content</ApiKey> <SecretKey>String content</SecretKey> <OaId>String content</OaId> <Phone>String content</Phone> <Syntax>String content</Syntax> </ZNSSyntaxFilteringModel>
The following is an example response Xml body:
<ZNSOAResponse> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <ZOAList> <ZOAResponse> <OAID>String content</OAID> <OAName>String content</OAName> </ZOAResponse> <ZOAResponse> <OAID>String content</OAID> <OAName>String content</OAName> </ZOAResponse> </ZOAList> </ZNSOAResponse>
The following is the request Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="ZNSSyntaxFilteringModel" nillable="true" type="ZNSSyntaxFilteringModel" /> <xs:complexType name="ZNSSyntaxFilteringModel"> <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="0" maxOccurs="1" name="Phone" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Syntax" 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="ZNSOAResponse" nillable="true" type="ZNSOAResponse" /> <xs:complexType name="ZNSOAResponse"> <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="ZOAList" type="ArrayOfZOAResponse" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfZOAResponse"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="ZOAResponse" nillable="true" type="ZOAResponse" /> </xs:sequence> </xs:complexType> <xs:complexType name="ZOAResponse"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="OAID" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="OAName" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:schema>