POST Stock/GetProductStockMutations

Haal voorraadmutaties op

Request Information

URI Parameters

None.

Body Parameters

ProductStockMutationFilter
NameDescriptionTypeAdditional information
DateFrom

Datum vanaf

date

None.

DateTo

Datum tot

date

None.

BuyOrderId

Inkoopordernummer

integer

None.

StocklocationId

Locatienummer

integer

None.

ProductCode

Artikelcode

string

None.

WareHouseId

Magazijnnummer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateFrom": "2020-07-02T20:58:00.7946279+02:00",
  "DateTo": "2020-07-02T20:58:00.7946279+02:00",
  "BuyOrderId": 1,
  "StocklocationId": 1,
  "ProductCode": "sample string 1",
  "WareHouseId": 1
}

application/xml, text/xml

Sample:
<ProductStockMutationFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <ProductCode>sample string 1</ProductCode>
  <WareHouseId>1</WareHouseId>
  <BuyOrderId>1</BuyOrderId>
  <DateFrom>2020-07-02T20:58:00.7946279+02:00</DateFrom>
  <DateTo>2020-07-02T20:58:00.7946279+02:00</DateTo>
  <StocklocationId>1</StocklocationId>
</ProductStockMutationFilter>

Response Information

Resource Description

Logic4ResponseListOfProductStockMutation
NameDescriptionTypeAdditional information
Records

Collection of ProductStockMutation

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "ProductId": 1,
      "ProductCode": "sample string 2",
      "BuyOrderId": 1,
      "MutationDateTime": "2020-07-02T20:58:00.8016293+02:00",
      "Amount": 4.0,
      "BuyPrice": 5.0,
      "StockMutationType": "sample string 6"
    },
    {
      "ProductId": 1,
      "ProductCode": "sample string 2",
      "BuyOrderId": 1,
      "MutationDateTime": "2020-07-02T20:58:00.8016293+02:00",
      "Amount": 4.0,
      "BuyPrice": 5.0,
      "StockMutationType": "sample string 6"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductStockMutationLnN1pw8Y 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:ProductStockMutation>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:BuyOrderId>1</d2p1:BuyOrderId>
      <d2p1:BuyPrice>5</d2p1:BuyPrice>
      <d2p1:MutationDateTime>2020-07-02T20:58:00.8016293+02:00</d2p1:MutationDateTime>
      <d2p1:ProductCode>sample string 2</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:StockMutationType>sample string 6</d2p1:StockMutationType>
    </d2p1:ProductStockMutation>
    <d2p1:ProductStockMutation>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:BuyOrderId>1</d2p1:BuyOrderId>
      <d2p1:BuyPrice>5</d2p1:BuyPrice>
      <d2p1:MutationDateTime>2020-07-02T20:58:00.8016293+02:00</d2p1:MutationDateTime>
      <d2p1:ProductCode>sample string 2</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:StockMutationType>sample string 6</d2p1:StockMutationType>
    </d2p1:ProductStockMutation>
  </Records>
</Logic4ResponseListOfProductStockMutationLnN1pw8Y>