POST api/pricelists/manage

Request Information

URI Parameters

None.

Body Parameters

PriceList
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Description

string

None.

AcceptsCustomValues

boolean

None.

IsDefault

boolean

None.

DefaultSaleTypeId

integer

None.

MaxDiscountPercent

integer

None.

IsCalculated

boolean

None.

CalculationFactor

decimal number

None.

ParentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Description": "sample string 3",
  "AcceptsCustomValues": true,
  "IsDefault": true,
  "DefaultSaleTypeId": 6,
  "MaxDiscountPercent": 7,
  "IsCalculated": true,
  "CalculationFactor": 9.1,
  "ParentId": 10
}

application/xml, text/xml

Sample:
<PriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <AcceptsCustomValues>true</AcceptsCustomValues>
  <CalculationFactor>9.1</CalculationFactor>
  <Code>sample string 2</Code>
  <DefaultSaleTypeId>6</DefaultSaleTypeId>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsCalculated>true</IsCalculated>
  <IsDefault>true</IsDefault>
  <MaxDiscountPercent>7</MaxDiscountPercent>
  <ParentId>10</ParentId>
</PriceList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PriceList
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Description

string

None.

AcceptsCustomValues

boolean

None.

IsDefault

boolean

None.

DefaultSaleTypeId

integer

None.

MaxDiscountPercent

integer

None.

IsCalculated

boolean

None.

CalculationFactor

decimal number

None.

ParentId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Description": "sample string 3",
  "AcceptsCustomValues": true,
  "IsDefault": true,
  "DefaultSaleTypeId": 6,
  "MaxDiscountPercent": 7,
  "IsCalculated": true,
  "CalculationFactor": 9.1,
  "ParentId": 10
}

application/xml, text/xml

Sample:
<PriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <AcceptsCustomValues>true</AcceptsCustomValues>
  <CalculationFactor>9.1</CalculationFactor>
  <Code>sample string 2</Code>
  <DefaultSaleTypeId>6</DefaultSaleTypeId>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsCalculated>true</IsCalculated>
  <IsDefault>true</IsDefault>
  <MaxDiscountPercent>7</MaxDiscountPercent>
  <ParentId>10</ParentId>
</PriceList>