GET PriceLevel/GetCosts?DeptID={DeptID}&ProdID={ProdID}

Returns a list of price/cost levels.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
DeptID

Department id of the product to get the cost values.

string

Required

ProdID

Product id of the product to get the cost values.

string

Required

Body Parameters

Response Information

Resource Description

Returns a list of price/cost levels.

AgvPriceLevel
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many PriceLevel JSON dictionaries.

string
ProductPriceLevels

JSON dictionary of PriceLevel.

Collection of PriceLevel

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "ProductPriceLevels": [
    {
      "Level": "sample string 1",
      "Heading": "sample string 2",
      "Price": "sample string 3",
      "DefaultCostLevel": true
    },
    {
      "Level": "sample string 1",
      "Heading": "sample string 2",
      "Price": "sample string 3",
      "DefaultCostLevel": true
    }
  ]
}

application/xml, text/xml

Sample:
<AgvPriceLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.Pricing">
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <ProductPriceLevels>
    <PriceLevel>
      <DefaultCostLevel>true</DefaultCostLevel>
      <Heading>sample string 2</Heading>
      <Level>sample string 1</Level>
      <Price>sample string 3</Price>
    </PriceLevel>
    <PriceLevel>
      <DefaultCostLevel>true</DefaultCostLevel>
      <Heading>sample string 2</Heading>
      <Level>sample string 1</Level>
      <Price>sample string 3</Price>
    </PriceLevel>
  </ProductPriceLevels>
  <Status>sample string 1</Status>
</AgvPriceLevel>