POST api/Price/AddPrices

Request Information

URI Parameters

None.

Body Parameters

ItemPrice
NameDescriptionTypeAdditional information
PriceListId

string

None.

PriceListDescription

string

None.

ItemCode

string

None.

ItemEAN

string

None.

VATRate

decimal number

None.

Price

decimal number

None.

UnitOfMeasurementForPrice

integer

None.

VATIncluded

boolean

None.

Active

boolean

None.

DiscountPrice

boolean

None.

ApplyToComparisonCode

boolean

None.

PriceValidityFrom

date

None.

PriceValidityTo

date

None.

InsUpdDate

date

None.

Quantity1

decimal number

None.

PriceForQuantity1

decimal number

None.

Quantity2

decimal number

None.

PriceForQuantity2

decimal number

None.

Quantity3

decimal number

None.

PriceForQuantity3

decimal number

None.

Quantity4

decimal number

None.

PriceForQuantity4

decimal number

None.

Quantity5

decimal number

None.

PriceForQuantity5

decimal number

None.

LowestPrice

string

None.

Request Formats

application/xml, text/xml

Sample:
<Price xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PriceListId>sample string 1</PriceListId>
  <PriceListDescription>sample string 2</PriceListDescription>
  <ItemCode>sample string 3</ItemCode>
  <ItemEAN>sample string 4</ItemEAN>
  <VATRate>5</VATRate>
  <Price>1</Price>
  <UnitOfMeasurementForPrice>1</UnitOfMeasurementForPrice>
  <VATIncluded>true</VATIncluded>
  <Active>true</Active>
  <DiscountPrice>true</DiscountPrice>
  <ApplyToComparisonCode>true</ApplyToComparisonCode>
  <PriceValidityFrom>2024-06-15T13:30:32.9969573+02:00</PriceValidityFrom>
  <PriceValidityTo>2024-06-15T13:30:32.9969573+02:00</PriceValidityTo>
  <InsUpdDate>2024-06-15T13:30:32.9969573+02:00</InsUpdDate>
  <Quantity1>1</Quantity1>
  <PriceForQuantity1>1</PriceForQuantity1>
  <Quantity2>1</Quantity2>
  <PriceForQuantity2>1</PriceForQuantity2>
  <Quantity3>1</Quantity3>
  <PriceForQuantity3>1</PriceForQuantity3>
  <Quantity4>1</Quantity4>
  <PriceForQuantity4>1</PriceForQuantity4>
  <Quantity5>1</Quantity5>
  <PriceForQuantity5>1</PriceForQuantity5>
  <LowestPrice>sample string 7</LowestPrice>
</Price>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>