GET api/Vendor/GetAllVendorProductsbyId/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TempVendorProductName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of VendroProductItems |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "VendorId": 1, "ProductId": 1, "ProductName": "sample string 2", "Status": 1 }, { "VendorId": 1, "ProductId": 1, "ProductName": "sample string 2", "Status": 1 } ] }
application/xml, text/xml
Sample:
<TempVendorProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteFoodsWebAPI.Controllers"> <Data> <VendroProductItems> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Status>1</Status> <VendorId>1</VendorId> </VendroProductItems> <VendroProductItems> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Status>1</Status> <VendorId>1</VendorId> </VendroProductItems> </Data> </TempVendorProduct>