PUT PriceLevel/PutPriceLevelFormulas

Applies formulas attached to price levels on a product.

Request Information

URI Parameters

Body Parameters

PriceLevelFormuas object used to calculate based on the formulas on a Product's Price Levels.

clsPrceLevFormulas
NameDescriptionTypeAdditional Information
Products

Department ID and Product ID.

Collection of clsProdIDList

Required

List cannot be empty

Request Formats

application/json, text/json

Sample:
{
  "Products": [
    {
      "DepartmentID": "sample string 1",
      "ProductID": "sample string 2"
    },
    {
      "DepartmentID": "sample string 1",
      "ProductID": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<clsPrceLevFormulas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.Inv">
  <Products>
    <clsPrceLevFormulas.clsProdIDList>
      <DepartmentID>sample string 1</DepartmentID>
      <ProductID>sample string 2</ProductID>
    </clsPrceLevFormulas.clsProdIDList>
    <clsPrceLevFormulas.clsProdIDList>
      <DepartmentID>sample string 1</DepartmentID>
      <ProductID>sample string 2</ProductID>
    </clsPrceLevFormulas.clsProdIDList>
  </Products>
</clsPrceLevFormulas>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'clsPrceLevFormulas'.

Response Information

Resource Description

Applies formulas attached to price levels on a product.

AgvPriceLevelUpdate
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AgvPriceLevelUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Product">
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvPriceLevelUpdate>