GET api/product/GetPriceExceptionList?filterCode={filterCode}&customerNumber={customerNumber}
Get list of price exceptions for all customers or for a specific customer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
filterCode |
an optional filter code used to filter the result product list |
string |
None. |
customerNumber |
an optional customer number to get price exceptions for |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PricingExceptionName | Description | Type | Additional information |
---|---|---|---|
PriceExceptionCode | string |
None. |
|
PriceExceptionList | Collection of ProductPrice |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PriceExceptionCode": "sample string 1", "PriceExceptionList": [ { "WarehouseCode": "sample string 1", "ProductNumber": "sample string 2", "Price": 3.0, "MAP": 4.0 }, { "WarehouseCode": "sample string 1", "ProductNumber": "sample string 2", "Price": 3.0, "MAP": 4.0 } ] }, { "PriceExceptionCode": "sample string 1", "PriceExceptionList": [ { "WarehouseCode": "sample string 1", "ProductNumber": "sample string 2", "Price": 3.0, "MAP": 4.0 }, { "WarehouseCode": "sample string 1", "ProductNumber": "sample string 2", "Price": 3.0, "MAP": 4.0 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfPricingException xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoasterAPI.Products"> <PricingException> <PriceExceptionCode>sample string 1</PriceExceptionCode> <PriceExceptionList> <ProductPrice> <MAP>4</MAP> <Price>3</Price> <ProductNumber>sample string 2</ProductNumber> <WarehouseCode>sample string 1</WarehouseCode> </ProductPrice> <ProductPrice> <MAP>4</MAP> <Price>3</Price> <ProductNumber>sample string 2</ProductNumber> <WarehouseCode>sample string 1</WarehouseCode> </ProductPrice> </PriceExceptionList> </PricingException> <PricingException> <PriceExceptionCode>sample string 1</PriceExceptionCode> <PriceExceptionList> <ProductPrice> <MAP>4</MAP> <Price>3</Price> <ProductNumber>sample string 2</ProductNumber> <WarehouseCode>sample string 1</WarehouseCode> </ProductPrice> <ProductPrice> <MAP>4</MAP> <Price>3</Price> <ProductNumber>sample string 2</ProductNumber> <WarehouseCode>sample string 1</WarehouseCode> </ProductPrice> </PriceExceptionList> </PricingException> </ArrayOfPricingException>