POST Stock/GetStockProductsForStockLocation

Verkrijg de producten die op de locatie aanwezig zouden moeten zijn.

Request Information

URI Parameters

None.

Body Parameters

integer

Request Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

Response Information

Resource Description

Logic4ResponseListOfProductStockControlRow
NameDescriptionTypeAdditional information
Records

Collection of ProductStockControlRow

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": 1,
      "ProductStockHeadId": 1,
      "ProductId": 1,
      "ProductDescription": "sample string 2",
      "ProductDescription2": "sample string 3",
      "Vendorcode": "sample string 4",
      "StockTotal": 5.0,
      "StockOnCurrentLocation": 6.0,
      "StockCountedByUser": 1.0,
      "StockLevelDate": "2020-07-02T23:01:14.6793273+02:00",
      "Barcode": "sample string 8",
      "ProductCode": "sample string 9",
      "Barcode2": "sample string 10",
      "SystemBarcode": "sample string 11",
      "BarcodeExtraList": [
        {
          "Barcode": "sample string 1",
          "Qty": 2
        },
        {
          "Barcode": "sample string 1",
          "Qty": 2
        }
      ]
    },
    {
      "Id": 1,
      "ProductStockHeadId": 1,
      "ProductId": 1,
      "ProductDescription": "sample string 2",
      "ProductDescription2": "sample string 3",
      "Vendorcode": "sample string 4",
      "StockTotal": 5.0,
      "StockOnCurrentLocation": 6.0,
      "StockCountedByUser": 1.0,
      "StockLevelDate": "2020-07-02T23:01:14.6793273+02:00",
      "Barcode": "sample string 8",
      "ProductCode": "sample string 9",
      "Barcode2": "sample string 10",
      "SystemBarcode": "sample string 11",
      "BarcodeExtraList": [
        {
          "Barcode": "sample string 1",
          "Qty": 2
        },
        {
          "Barcode": "sample string 1",
          "Qty": 2
        }
      ]
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductStockControlRowLnN1pw8Y 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:ProductStockControlRow>
      <d2p1:Barcode>sample string 8</d2p1:Barcode>
      <d2p1:Barcode2>sample string 10</d2p1:Barcode2>
      <d2p1:BarcodeExtraList>
        <d2p1:ProductExtraBarcode>
          <d2p1:Barcode>sample string 1</d2p1:Barcode>
          <d2p1:Qty>2</d2p1:Qty>
        </d2p1:ProductExtraBarcode>
        <d2p1:ProductExtraBarcode>
          <d2p1:Barcode>sample string 1</d2p1:Barcode>
          <d2p1:Qty>2</d2p1:Qty>
        </d2p1:ProductExtraBarcode>
      </d2p1:BarcodeExtraList>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ProductCode>sample string 9</d2p1:ProductCode>
      <d2p1:ProductDescription>sample string 2</d2p1:ProductDescription>
      <d2p1:ProductDescription2>sample string 3</d2p1:ProductDescription2>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:ProductStockHeadId>1</d2p1:ProductStockHeadId>
      <d2p1:StockCountedByUser>1</d2p1:StockCountedByUser>
      <d2p1:StockLevelDate>2020-07-02T23:01:14.6793273+02:00</d2p1:StockLevelDate>
      <d2p1:StockOnCurrentLocation>6</d2p1:StockOnCurrentLocation>
      <d2p1:StockTotal>5</d2p1:StockTotal>
      <d2p1:SystemBarcode>sample string 11</d2p1:SystemBarcode>
      <d2p1:Vendorcode>sample string 4</d2p1:Vendorcode>
    </d2p1:ProductStockControlRow>
    <d2p1:ProductStockControlRow>
      <d2p1:Barcode>sample string 8</d2p1:Barcode>
      <d2p1:Barcode2>sample string 10</d2p1:Barcode2>
      <d2p1:BarcodeExtraList>
        <d2p1:ProductExtraBarcode>
          <d2p1:Barcode>sample string 1</d2p1:Barcode>
          <d2p1:Qty>2</d2p1:Qty>
        </d2p1:ProductExtraBarcode>
        <d2p1:ProductExtraBarcode>
          <d2p1:Barcode>sample string 1</d2p1:Barcode>
          <d2p1:Qty>2</d2p1:Qty>
        </d2p1:ProductExtraBarcode>
      </d2p1:BarcodeExtraList>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ProductCode>sample string 9</d2p1:ProductCode>
      <d2p1:ProductDescription>sample string 2</d2p1:ProductDescription>
      <d2p1:ProductDescription2>sample string 3</d2p1:ProductDescription2>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:ProductStockHeadId>1</d2p1:ProductStockHeadId>
      <d2p1:StockCountedByUser>1</d2p1:StockCountedByUser>
      <d2p1:StockLevelDate>2020-07-02T23:01:14.6793273+02:00</d2p1:StockLevelDate>
      <d2p1:StockOnCurrentLocation>6</d2p1:StockOnCurrentLocation>
      <d2p1:StockTotal>5</d2p1:StockTotal>
      <d2p1:SystemBarcode>sample string 11</d2p1:SystemBarcode>
      <d2p1:Vendorcode>sample string 4</d2p1:Vendorcode>
    </d2p1:ProductStockControlRow>
  </Records>
</Logic4ResponseListOfProductStockControlRowLnN1pw8Y>