POST Webshop/GetWebshopProductShiftPrices

Verkrijg productprijzen o.b.v. webshopprijslijst/debiteur.

Request Information

URI Parameters

None.

Body Parameters

WebshopProductShiftPricesFilter
NameDescriptionTypeAdditional information
DebtorId

Debiteurnummer

integer

None.

WebshopPriceListId

WebshopPrijslijstId

integer

None.

ProductId

ProductId

integer

None.

SubUnit_ParentId

integer

None.

MinSaleAmount

Minimale verkoophoeveelheid alle kleinere staffels worden verborgen en de vanaf staffel wordt op de minimale verkoophoevelheid gezet

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DebtorId": 1,
  "WebshopPriceListId": 1,
  "ProductId": 2,
  "SubUnit_ParentId": 1,
  "MinSaleAmount": 1
}

application/xml, text/xml

Sample:
<WebshopProductShiftPricesFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <DebtorId>1</DebtorId>
  <MinSaleAmount>1</MinSaleAmount>
  <ProductId>2</ProductId>
  <SubUnit_ParentId>1</SubUnit_ParentId>
  <WebshopPriceListId>1</WebshopPriceListId>
</WebshopProductShiftPricesFilter>

Response Information

Resource Description

Logic4ResponseListOfProductShiftPrice
NameDescriptionTypeAdditional information
Records

Collection of ProductShiftPrice

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Qty": 1,
      "BuyPrice": 2.0,
      "Margin": 3.0,
      "SellPriceExcl": 4.0,
      "SellPriceGrossExcl": 5.0,
      "Description": "sample string 6",
      "DiscountType": "sample string 7"
    },
    {
      "Qty": 1,
      "BuyPrice": 2.0,
      "Margin": 3.0,
      "SellPriceExcl": 4.0,
      "SellPriceGrossExcl": 5.0,
      "Description": "sample string 6",
      "DiscountType": "sample string 7"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductShiftPriceLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:ProductShiftPrice>
      <d2p1:BuyPrice>2</d2p1:BuyPrice>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:DiscountType>sample string 7</d2p1:DiscountType>
      <d2p1:Margin>3</d2p1:Margin>
      <d2p1:Qty>1</d2p1:Qty>
      <d2p1:SellPriceExcl>4</d2p1:SellPriceExcl>
      <d2p1:SellPriceGrossExcl>5</d2p1:SellPriceGrossExcl>
    </d2p1:ProductShiftPrice>
    <d2p1:ProductShiftPrice>
      <d2p1:BuyPrice>2</d2p1:BuyPrice>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:DiscountType>sample string 7</d2p1:DiscountType>
      <d2p1:Margin>3</d2p1:Margin>
      <d2p1:Qty>1</d2p1:Qty>
      <d2p1:SellPriceExcl>4</d2p1:SellPriceExcl>
      <d2p1:SellPriceGrossExcl>5</d2p1:SellPriceGrossExcl>
    </d2p1:ProductShiftPrice>
  </Records>
</Logic4ResponseListOfProductShiftPriceLnN1pw8Y>