GET CustomerPriceLookup/GetCustomerPriceLookup?CustID={CustID}&DeptID={DeptID}&ProdID={ProdID}&AdditionalDatabase={AdditionalDatabase}
Gets customer default price and price level data.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
CustID |
Customer id to get the price lookup for. |
string |
Required |
DeptID |
Department id to get the price lookup for. |
string |
Required |
ProdID |
Product id to get the price lookup for. |
string |
Required |
AdditionalDatabase |
Additional database name to include to get the price lookup for. (optional) |
string |
Default value is string.Empty |
Body Parameters
Response Information
Resource Description
Gets customer default price and price level data.
AgvCustomerPriceLookupName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many InvoicePriceData JSON dictionaries. |
string | |
CustomerDefaultPriceLevel |
Customer default price level. |
string | |
CustomerDefaultPrice |
Customer default price. |
decimal number | |
InvoiceData |
JSON dictionary of InvoicePriceData. |
Collection of InvoicePriceData |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "CustomerDefaultPriceLevel": "sample string 4", "CustomerDefaultPrice": 5.1, "InvoiceData": [ { "InvoiceNumber": "sample string 1", "InvoiceDate": "sample string 2", "Quantity": 3.1, "Price": 4.1, "Discount": 5.1, "EffectivePrice": 6.1, "LotNumber": "sample string 7", "UnitCost": 1.1 }, { "InvoiceNumber": "sample string 1", "InvoiceDate": "sample string 2", "Quantity": 3.1, "Price": 4.1, "Discount": 5.1, "EffectivePrice": 6.1, "LotNumber": "sample string 7", "UnitCost": 1.1 } ] }
application/xml, text/xml
Sample:
<AgvCustomerPriceLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer"> <Count>sample string 3</Count> <CustomerDefaultPrice>5.1</CustomerDefaultPrice> <CustomerDefaultPriceLevel>sample string 4</CustomerDefaultPriceLevel> <InvoiceData> <InvoicePriceData> <Discount>5.1</Discount> <EffectivePrice>6.1</EffectivePrice> <InvoiceDate>sample string 2</InvoiceDate> <InvoiceNumber>sample string 1</InvoiceNumber> <LotNumber>sample string 7</LotNumber> <Price>4.1</Price> <Quantity>3.1</Quantity> <UnitCost>1.1</UnitCost> </InvoicePriceData> <InvoicePriceData> <Discount>5.1</Discount> <EffectivePrice>6.1</EffectivePrice> <InvoiceDate>sample string 2</InvoiceDate> <InvoiceNumber>sample string 1</InvoiceNumber> <LotNumber>sample string 7</LotNumber> <Price>4.1</Price> <Quantity>3.1</Quantity> <UnitCost>1.1</UnitCost> </InvoicePriceData> </InvoiceData> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvCustomerPriceLookup>