Skip to main content
Skip table of contents

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
/INAPCustCodeAnalysisCodePOSTCreate a new IN Advanced Prices for Customer Code & Analysis Code2021.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>POSTUpdate and existing IN Advanced Prices for Customer Code & Analysis Code2021.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
unitOfMeasureLook for an Advanced Price for a particular Unit of MeasureunitOfMeasure=EA2021.2
currencyLook for an Advanced Price for a particular Currencycurrency=USD2021.2
locationLook for an Advanced Price for a particular IN Locationlocation=Warehouse2021.2
isActiveLook for an Advanced Price that is Active or notisActive=true2021.2

Supported modifiers

Query String

Definition

Sample

Version
groupReturn a list of Advanced Prices for a Pricing Groupgroup=Black Friday2021.2
customerReturn a list of Advanced Prices for a Customercustomer=100002021.2
analysisCodeReturn a list of Advanced Prices for an Analysis CodeanalysisCode=022021.2

Security Linked Menu

Menu Item

Located

Advanced Pricing MaintenanceData 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>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.