GET productpricingmodel/get?code={code}

Gets the specified pricing model based on code.

Request Information

Parameters

NameDescriptionAdditional information
code
The model code. String max 20 chars

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Code": "sample string 2",
  "ExtremePricePercentage": 1.1,
  "DateAdded": "2017-09-25T12:35:29.1545684+01:00",
  "Type": "sample string 4",
  "MatrixCode": "sample string 5",
  "RequiredVolume": 6,
  "Percentage": 1.1,
  "GetTypeId": 0
}

application/xml, text/xml

Sample:
<ProductPricingModelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <Code>sample string 2</Code>
  <DateAdded>2017-09-25T12:35:29.1545684+01:00</DateAdded>
  <ExtremePricePercentage>1.1</ExtremePricePercentage>
  <MatrixCode>sample string 5</MatrixCode>
  <Name>sample string 1</Name>
  <Percentage>1.1</Percentage>
  <RequiredVolume>6</RequiredVolume>
  <Type>sample string 4</Type>
</ProductPricingModelModel>