IN Advanced Pricing Customer Code & Analysis Code
URL | Verbs | Function | Version |
---|---|---|---|
/INAPCustCodeAnalysisCode | GET | Query a list of IN Advanced Prices by Customer Code & Analysis Code | 2021.2 |
/INAPCustCodeAnalysisCode | POST | Create a new IN Advanced Prices for Customer Code & Analysis Code | 2021.2* |
/INAPCustCodeAnalysisCode/<customerCode>/<analysisCode> | GET | Query a list of IN Advanced Prices by Customer Code & Analysis Code for a particular Customer Code and Analysis Code | 2021.2 |
/INAPCustCodeAnalysisCode/<customerCode>/<analysisCode>?<unitOfMeasure>&<currency>&<location>&<isActive> | POST | Update and existing IN Advanced Prices for Customer Code & Analysis Code | 2021.2* |
* Does not yet support update/create of Quantity Breaks - as at 2021.2
Advanced Prices support a composite primary key based on a list of properties used in conjunction with each types specific "properties". When performing a GET to try and lookup a particular Advanced Price, or POST to update an existing Advanced Price you can use a combination of the Lookup modifiers defined below.
Lookup modifiers
Query String | Definition | Sample | Version |
---|---|---|---|
unitOfMeasure | Look for an Advanced Price for a particular Unit of Measure | unitOfMeasure=EA | 2021.2 |
currency | Look for an Advanced Price for a particular Currency | currency=USD | 2021.2 |
location | Look for an Advanced Price for a particular IN Location | location=Warehouse | 2021.2 |
isActive | Look for an Advanced Price that is Active or not | isActive=true | 2021.2 |
Supported modifiers
Query String | Definition | Sample | Version |
---|---|---|---|
group | Return a list of Advanced Prices for a Pricing Group | group=Black Friday | 2021.2 |
customer | Return a list of Advanced Prices for a Customer | customer=10000 | 2021.2 |
analysisCode | Return a list of Advanced Prices for an Analysis Code | analysisCode=02 | 2021.2 |
Security Linked Menu
Menu Item | Located |
---|---|
Advanced Pricing Maintenance | Data Entry / Inventory |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<INAPCustCodeAnalysisCodes collection='true' count='1'> <INAPCustCodeAnalysisCode> <Edition>2</Edition> <OidString>4577.4</OidString> <IsActive>true</IsActive> <IsDiscountUsed>true</IsDiscountUsed> <IsIgnoreMaxDisc>false</IsIgnoreMaxDisc> <IsIgnoreMinGP>false</IsIgnoreMinGP> <IsMarkupUsed>false</IsMarkupUsed> <IsPriceUsed>false</IsPriceUsed> <IsUseDateRange>true</IsUseDateRange> <MarginPercentage>0.00</MarginPercentage> <MarginValue>0.0000</MarginValue> <MarkupPercentage>0.00</MarkupPercentage> <DateFrom>2021-03-08</DateFrom> <DateTo>2021-04-04</DateTo> <DiscountPercentage>12.00</DiscountPercentage> <NetPrice>0.0000</NetPrice> <Currency>AUD</Currency> <Group>Black Friday By Customer</Group> <TaxCode>GST 10%</TaxCode> <QuantityBreakDiscounts collection='true' count='2'> <QuantityBreakDiscount> <DiscountPercentage>0.00</DiscountPercentage> <IsActive>true</IsActive> <Price>0.0000</Price> <IsUseDateRanges>false</IsUseDateRanges> <Quantity>2.0000</Quantity> </QuantityBreakDiscount> <QuantityBreakDiscount> <DiscountPercentage>12.00</DiscountPercentage> <IsActive>true</IsActive> <Price>0.0000</Price> <ReviewDate>2021-03-05</ReviewDate> <IsUseDateRanges>false</IsUseDateRanges> <Quantity>15.0000</Quantity> </QuantityBreakDiscount> </QuantityBreakDiscounts> <AnalysisCode>CASES</AnalysisCode> <Customer>1001</Customer> </INAPCustCodeAnalysisCode> </INAPCustCodeAnalysisCodes>