GET api/WebApiOdata/GetProductCommissionProducts?providerID={providerID}&searchString={searchString}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
searchString | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductCommissionGridViewModelName | Description | Type | Additional information |
---|---|---|---|
ProductCommissionID | integer |
None. |
|
SupplierID | integer |
None. |
|
ProviderID | integer |
None. |
|
SCProductID | integer |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
SupplierName | string |
None. |
|
CommissionCategoryID | integer |
None. |
|
CommissionTypeID | integer |
None. |
|
CommissionValue | decimal number |
None. |
|
MSRP | decimal number |
None. |
|
SellingPrice | decimal number |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProductCommissionID": 1, "SupplierID": 1, "ProviderID": 1, "SCProductID": 2, "Code": "sample string 3", "Name": "sample string 4", "SupplierName": "sample string 5", "CommissionCategoryID": 1, "CommissionTypeID": 1, "CommissionValue": 6.1, "MSRP": 7.1, "SellingPrice": 8.1 }, { "ProductCommissionID": 1, "SupplierID": 1, "ProviderID": 1, "SCProductID": 2, "Code": "sample string 3", "Name": "sample string 4", "SupplierName": "sample string 5", "CommissionCategoryID": 1, "CommissionTypeID": 1, "CommissionValue": 6.1, "MSRP": 7.1, "SellingPrice": 8.1 } ]
application/xml, text/xml
Sample:
<ArrayOfProductCommissionGridViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.CommissionManager"> <ProductCommissionGridViewModel> <Code>sample string 3</Code> <CommissionCategoryID>1</CommissionCategoryID> <CommissionTypeID>1</CommissionTypeID> <CommissionValue>6.1</CommissionValue> <MSRP>7.1</MSRP> <Name>sample string 4</Name> <ProductCommissionID>1</ProductCommissionID> <ProviderID>1</ProviderID> <SCProductID>2</SCProductID> <SellingPrice>8.1</SellingPrice> <SupplierID>1</SupplierID> <SupplierName>sample string 5</SupplierName> </ProductCommissionGridViewModel> <ProductCommissionGridViewModel> <Code>sample string 3</Code> <CommissionCategoryID>1</CommissionCategoryID> <CommissionTypeID>1</CommissionTypeID> <CommissionValue>6.1</CommissionValue> <MSRP>7.1</MSRP> <Name>sample string 4</Name> <ProductCommissionID>1</ProductCommissionID> <ProviderID>1</ProviderID> <SCProductID>2</SCProductID> <SellingPrice>8.1</SellingPrice> <SupplierID>1</SupplierID> <SupplierName>sample string 5</SupplierName> </ProductCommissionGridViewModel> </ArrayOfProductCommissionGridViewModel>