POST contractprice

Adds the specified contract price.

Request Information

Parameters

NameDescriptionAdditional information
contractPrice
The contract price.
            1) AccountNumber: Mandatory, String, max 10 chars. To link to company
            2) ProductCode: Mandatory, String, max 20 chars. To link to product
            3) Price: Mandatory, Number, max 2 decimal places. Unit contract price
            3) Quantity: Number, 1 is default value. To cater for different prices when ordering multiple quantities

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AccountNumber": "sample string 1",
  "ProductCode": "sample string 2",
  "Quantity": 3,
  "Price": 4.0
}

application/xml, text/xml

Sample:
<ContractPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <AccountNumber>sample string 1</AccountNumber>
  <Price>4</Price>
  <ProductCode>sample string 2</ProductCode>
  <Quantity>3</Quantity>
</ContractPriceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.