GET api/Products/CheckProduct?ProvinceId={ProvinceId}&DistrictId={DistrictId}&WardId={WardId}&StreetId={StreetId}&ApartmentNo={ApartmentNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProvinceId | integer |
Required |
|
| DistrictId | integer |
Required |
|
| WardId | integer |
Required |
|
| StreetId | integer |
Required |
|
| ApartmentNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CheckExistProductModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| StatusName | string |
None. |
|
| EmployeeSaleName | string |
None. |
|
| EmployeePhone | string |
None. |
|
| EmployeeEmail | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"statusName": "sample string 2",
"employeeSaleName": "sample string 2",
"employeePhone": "sample string 4",
"employeeEmail": "sample string 5"
}
application/xml, text/xml
Sample:
<CheckExistProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product"> <Code>sample string 1</Code> <EmployeeEmail>sample string 5</EmployeeEmail> <EmployeePhone>sample string 4</EmployeePhone> <EmployeeSaleName>sample string 2</EmployeeSaleName> <StatusName>sample string 2</StatusName> </CheckExistProductModel>