POST Stock/GetStockControlHeads

Voorraadcontrole heads ophalen op basis van het ProductStockControlHeadFilter

Request Information

URI Parameters

None.

Body Parameters

ProductStockControlHeadFilter
NameDescriptionTypeAdditional information
StockLocationId

Het ID van de voorraadlocatie

integer

None.

UserId

Het ID van de gebruiker die de voorraadcontrole heeft aangemaakt

integer

None.

CreatedDateFrom

Datum aangemaakt ligt vanaf

date

None.

CreatedDateTo

Datum aangemaakt ligt tot

date

None.

IsProcessed

Of de voorraadcontrole is verwerkt

boolean

None.

ProductStockControlHeadId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StockLocationId": 1,
  "UserId": 1,
  "CreatedDateFrom": "2020-07-07T00:41:24.6859994+02:00",
  "CreatedDateTo": "2020-07-07T00:41:24.6859994+02:00",
  "IsProcessed": true,
  "ProductStockControlHeadId": 1
}

application/xml, text/xml

Sample:
<ProductStockControlHeadFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <CreatedDateFrom>2020-07-07T00:41:24.6859994+02:00</CreatedDateFrom>
  <CreatedDateTo>2020-07-07T00:41:24.6859994+02:00</CreatedDateTo>
  <IsProcessed>true</IsProcessed>
  <ProductStockControlHeadId>1</ProductStockControlHeadId>
  <StockLocationId>1</StockLocationId>
  <UserId>1</UserId>
</ProductStockControlHeadFilter>

Response Information

Resource Description

Logic4ResponseListOfProductStockControlHead
NameDescriptionTypeAdditional information
Records

Collection of ProductStockControlHead

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "CreatedDate": "2020-07-07T00:41:24.6920004+02:00",
      "Id": 1,
      "LocationName": "sample string 2",
      "LocationId": 3,
      "ProcessDate": "2020-07-07T00:41:24.6920004+02:00",
      "Username": "sample string 4",
      "UserId": 1,
      "Rows": [
        {
          "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-07T00:41:24.6920004+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-07T00:41:24.6920004+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
            }
          ]
        }
      ],
      "EventLog": "sample string 5",
      "WarehouseStockControlEmailTemplateId": 1
    },
    {
      "CreatedDate": "2020-07-07T00:41:24.6920004+02:00",
      "Id": 1,
      "LocationName": "sample string 2",
      "LocationId": 3,
      "ProcessDate": "2020-07-07T00:41:24.6920004+02:00",
      "Username": "sample string 4",
      "UserId": 1,
      "Rows": [
        {
          "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-07T00:41:24.6920004+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-07T00:41:24.6920004+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
            }
          ]
        }
      ],
      "EventLog": "sample string 5",
      "WarehouseStockControlEmailTemplateId": 1
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductStockControlHeadLnN1pw8Y 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:ProductStockControlHead>
      <d2p1:CreatedDate>2020-07-07T00:41:24.6920004+02:00</d2p1:CreatedDate>
      <d2p1:EventLog>sample string 5</d2p1:EventLog>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LocationId>3</d2p1:LocationId>
      <d2p1:LocationName>sample string 2</d2p1:LocationName>
      <d2p1:ProcessDate>2020-07-07T00:41:24.6920004+02:00</d2p1:ProcessDate>
      <d2p1:Rows>
        <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-07T00:41:24.6920004+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-07T00:41:24.6920004+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:Rows>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:Username>sample string 4</d2p1:Username>
      <d2p1:WarehouseStockControlEmailTemplateId>1</d2p1:WarehouseStockControlEmailTemplateId>
    </d2p1:ProductStockControlHead>
    <d2p1:ProductStockControlHead>
      <d2p1:CreatedDate>2020-07-07T00:41:24.6920004+02:00</d2p1:CreatedDate>
      <d2p1:EventLog>sample string 5</d2p1:EventLog>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LocationId>3</d2p1:LocationId>
      <d2p1:LocationName>sample string 2</d2p1:LocationName>
      <d2p1:ProcessDate>2020-07-07T00:41:24.6920004+02:00</d2p1:ProcessDate>
      <d2p1:Rows>
        <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-07T00:41:24.6920004+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-07T00:41:24.6920004+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:Rows>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:Username>sample string 4</d2p1:Username>
      <d2p1:WarehouseStockControlEmailTemplateId>1</d2p1:WarehouseStockControlEmailTemplateId>
    </d2p1:ProductStockControlHead>
  </Records>
</Logic4ResponseListOfProductStockControlHeadLnN1pw8Y>