GET api/WebApiOdata/GetRetailerBrandPricing?providerId={providerId}&supplierId={supplierId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
supplierId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RetailerBrandStructureName | Description | Type | Additional information |
---|---|---|---|
CategoryID | integer |
None. |
|
SCCategoryID | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryCode | string |
None. |
|
ProviderName | string |
None. |
|
ProductPriceType | integer |
None. |
|
ProductPriceValue | decimal number |
None. |
|
PricingRule | integer |
None. |
|
PricingRuleValue | decimal number |
None. |
|
AdditionalValue | decimal number |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CategoryID": 1, "SCCategoryID": 2, "CategoryName": "sample string 3", "CategoryCode": "sample string 4", "ProviderName": "sample string 5", "ProductPriceType": 1, "ProductPriceValue": 1.1, "PricingRule": 6, "PricingRuleValue": 7.1, "AdditionalValue": 1.1 }, { "CategoryID": 1, "SCCategoryID": 2, "CategoryName": "sample string 3", "CategoryCode": "sample string 4", "ProviderName": "sample string 5", "ProductPriceType": 1, "ProductPriceValue": 1.1, "PricingRule": 6, "PricingRuleValue": 7.1, "AdditionalValue": 1.1 } ]
application/xml, text/xml
Sample:
<ArrayOfRetailerBrandStructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <RetailerBrandStructure> <AdditionalValue>1.1</AdditionalValue> <CategoryCode>sample string 4</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 3</CategoryName> <PricingRule>6</PricingRule> <PricingRuleValue>7.1</PricingRuleValue> <ProductPriceType>1</ProductPriceType> <ProductPriceValue>1.1</ProductPriceValue> <ProviderName>sample string 5</ProviderName> <SCCategoryID>2</SCCategoryID> </RetailerBrandStructure> <RetailerBrandStructure> <AdditionalValue>1.1</AdditionalValue> <CategoryCode>sample string 4</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 3</CategoryName> <PricingRule>6</PricingRule> <PricingRuleValue>7.1</PricingRuleValue> <ProductPriceType>1</ProductPriceType> <ProductPriceValue>1.1</ProductPriceValue> <ProviderName>sample string 5</ProviderName> <SCCategoryID>2</SCCategoryID> </RetailerBrandStructure> </ArrayOfRetailerBrandStructure>