Reference for http://api.esms.vn/MainService.svc/xml/GetCustomerByPhone/{PHONE}/{APIKEY}/{SECRETKEY}
Url: http://api.esms.vn/MainService.svc/xml/GetCustomerByPhone/{PHONE}/{APIKEY}/{SECRETKEY}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
The following is an example response Xml body:
<CustomerResultModel> <CustomerID>2147483647</CustomerID> <Name>String content</Name> <Phone>String content</Phone> <Address>String content</Address> <Email>String content</Email> <Facebook>String content</Facebook> <IsActive>true</IsActive> <Gender>2147483647</Gender> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> </CustomerResultModel>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="CustomerResultModel" nillable="true" type="CustomerResultModel" /> <xs:complexType name="CustomerResultModel"> <xs:sequence> <xs:element minOccurs="1" maxOccurs="1" name="CustomerID" type="xs:int" /> <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Phone" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Address" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Email" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Facebook" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="IsActive" nillable="true" type="xs:boolean" /> <xs:element minOccurs="1" maxOccurs="1" name="Gender" nillable="true" type="xs:int" /> <xs:element minOccurs="0" maxOccurs="1" name="CodeResult" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:schema>