GET api/DailyRequirement/GetProductByCustomerId?CustomerId={CustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DailyProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| pid | integer |
None. |
|
| Product | string |
None. |
|
| Photo | string |
None. |
|
| Qty | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| SizeId | integer |
None. |
|
| Size | string |
None. |
|
| UnitId | integer |
None. |
|
| Unit | string |
None. |
|
| Schedule | string |
None. |
|
| Status | string |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| CustomerId | integer |
None. |
|
| Name | string |
None. |
|
| AreaId | integer |
None. |
|
| Area | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"pid": 2,
"Product": "sample string 3",
"Photo": "sample string 4",
"Qty": 5.0,
"Rate": 6.0,
"SizeId": 7,
"Size": "sample string 8",
"UnitId": 9,
"Unit": "sample string 10",
"Schedule": "sample string 11",
"Status": "sample string 12",
"StartDate": "sample string 13",
"EndDate": "sample string 14",
"CustomerId": 15,
"Name": "sample string 16",
"AreaId": 17,
"Area": "sample string 18"
},
{
"$ref": "1"
}
]
application/octet-stream
Sample:
[{"$id":"1","Id":1,"pid":2,"Product":"sample string 3","Photo":"sample string 4","Qty":5.0,"Rate":6.0,"SizeId":7,"Size":"sample string 8","UnitId":9,"Unit":"sample string 10","Schedule":"sample string 11","Status":"sample string 12","StartDate":"sample string 13","EndDate":"sample string 14","CustomerId":15,"Name":"sample string 16","AreaId":17,"Area":"sample string 18"},{"$ref":"1"}]