Reference for http://api.esms.vn/MainService.svc/xml/ZNSSyntaxFiltering/
Url: http://api.esms.vn/MainService.svc/xml/ZNSSyntaxFiltering/
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:
<ZNSSyntaxFilteringResponse> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <Phone>String content</Phone> <ZaloUID>String content</ZaloUID> <ZaloMessage> <text>String content</text> <msg_id>String content</msg_id> </ZaloMessage> <ZaloTimeReceive>String content</ZaloTimeReceive> </ZNSSyntaxFilteringResponse>
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="ZNSSyntaxFilteringResponse" nillable="true" type="ZNSSyntaxFilteringResponse" /> <xs:complexType name="ZNSSyntaxFilteringResponse"> <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="Phone" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="ZaloUID" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="ZaloMessage" type="DataZNSMessage" /> <xs:element minOccurs="0" maxOccurs="1" name="ZaloTimeReceive" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:complexType name="DataZNSMessage"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="text" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="msg_id" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:schema>