GET api/Customer/GetCustomerByTel?companyCode={companyCode}&tel={tel}
Lấy thông tin khách hàng theo số điện thoại
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode |
Mã nhà hàng(bắt buộc cần để phân biệt thí điểm hay chính thức) |
string |
Required |
| tel |
Số điện thoại kh |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Lấy thông tin khách hàng theo số điện thoại
APIOrderOnlineResultOfCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Customer |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfCustomer34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase" i:nil="true" /> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>None</ErrorType> <Message>sample string 4</Message> <Success>true</Success> <Total>3</Total> </APIOrderOnlineResultOfCustomer34ouyJuR>