GET api/VendorProducts/GetAllProductByVendorId?VendorId={VendorId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VendorProducts| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Vendor_Id | integer |
None. |
|
| Vendor | string |
None. |
|
| Product_Id | integer |
None. |
|
| Product | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Vendor_Id": 2,
"Vendor": "sample string 3",
"Product_Id": 4,
"Product": "sample string 5"
},
{
"$ref": "1"
}
]
application/octet-stream
Sample:
[{"$id":"1","Id":1,"Vendor_Id":2,"Vendor":"sample string 3","Product_Id":4,"Product":"sample string 5"},{"$ref":"1"}]