POST Products/GetPriceInformationForProduct

Verkrijg actuele prijzen voor debiteur

Request Information

URI Parameters

None.

Body Parameters

ProductPriceInformationFilter
NameDescriptionTypeAdditional information
ProductCode

Artikelcode

string

None.

DebtorId

Debiteurnummer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCode": "sample string 1",
  "DebtorId": 1
}

application/xml, text/xml

Sample:
<ProductPriceInformationFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <DebtorId>1</DebtorId>
  <ProductCode>sample string 1</ProductCode>
</ProductPriceInformationFilter>

Response Information

Resource Description

Logic4ResponseOfProductPriceInformation
NameDescriptionTypeAdditional information
Value

ProductPriceInformation

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": {
    "ProductId": 1,
    "ShiftPrices": [
      {
        "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"
      }
    ]
  },
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfProductPriceInformationLnN1pw8Y 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>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:ProductId>1</d2p1:ProductId>
    <d2p1:ShiftPrices>
      <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>
    </d2p1:ShiftPrices>
  </Value>
</Logic4ResponseOfProductPriceInformationLnN1pw8Y>