POST Stock/GetStockControlHead

Haalt een voorraadcontrole op aan de hand van een ID.

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

Logic4ResponseOfProductStockControlHead
NameDescriptionTypeAdditional information
Value

ProductStockControlHead

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": {
    "CreatedDate": "2020-02-18T22:17:21.5169878+01:00",
    "Id": 1,
    "LocationName": "sample string 2",
    "LocationId": 3,
    "ProcessDate": "2020-02-18T22:17:21.5169878+01:00",
    "Username": "sample string 4",
    "UserId": 1,
    "Rows": [
      {
        "Id": 1,
        "ProductStockHeadId": 1,
        "ProductId": 1,
        "ProductDescription": "sample string 2",
        "StockTotal": 3.0,
        "StockOnCurrentLocation": 4.0,
        "StockCountedByUser": 1.0,
        "StockLevelDate": "2020-02-18T22:17:21.5169878+01:00",
        "Barcode": "sample string 6",
        "ProductCode": "sample string 7",
        "Barcode2": "sample string 8",
        "SystemBarcode": "sample string 9",
        "BarcodeExtraList": [
          {
            "Barcode": "sample string 1",
            "Qty": 2
          },
          {
            "Barcode": "sample string 1",
            "Qty": 2
          }
        ]
      },
      {
        "Id": 1,
        "ProductStockHeadId": 1,
        "ProductId": 1,
        "ProductDescription": "sample string 2",
        "StockTotal": 3.0,
        "StockOnCurrentLocation": 4.0,
        "StockCountedByUser": 1.0,
        "StockLevelDate": "2020-02-18T22:17:21.5169878+01:00",
        "Barcode": "sample string 6",
        "ProductCode": "sample string 7",
        "Barcode2": "sample string 8",
        "SystemBarcode": "sample string 9",
        "BarcodeExtraList": [
          {
            "Barcode": "sample string 1",
            "Qty": 2
          },
          {
            "Barcode": "sample string 1",
            "Qty": 2
          }
        ]
      }
    ],
    "EventLog": "sample string 5"
  },
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfProductStockControlHeadLnN1pw8Y 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:CreatedDate>2020-02-18T22:17:21.5169878+01: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-02-18T22:17:21.5169878+01:00</d2p1:ProcessDate>
    <d2p1:Rows>
      <d2p1:ProductStockControlRow>
        <d2p1:Barcode>sample string 6</d2p1:Barcode>
        <d2p1:Barcode2>sample string 8</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 7</d2p1:ProductCode>
        <d2p1:ProductDescription>sample string 2</d2p1:ProductDescription>
        <d2p1:ProductId>1</d2p1:ProductId>
        <d2p1:ProductStockHeadId>1</d2p1:ProductStockHeadId>
        <d2p1:StockCountedByUser>1</d2p1:StockCountedByUser>
        <d2p1:StockLevelDate>2020-02-18T22:17:21.5169878+01:00</d2p1:StockLevelDate>
        <d2p1:StockOnCurrentLocation>4</d2p1:StockOnCurrentLocation>
        <d2p1:StockTotal>3</d2p1:StockTotal>
        <d2p1:SystemBarcode>sample string 9</d2p1:SystemBarcode>
      </d2p1:ProductStockControlRow>
      <d2p1:ProductStockControlRow>
        <d2p1:Barcode>sample string 6</d2p1:Barcode>
        <d2p1:Barcode2>sample string 8</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 7</d2p1:ProductCode>
        <d2p1:ProductDescription>sample string 2</d2p1:ProductDescription>
        <d2p1:ProductId>1</d2p1:ProductId>
        <d2p1:ProductStockHeadId>1</d2p1:ProductStockHeadId>
        <d2p1:StockCountedByUser>1</d2p1:StockCountedByUser>
        <d2p1:StockLevelDate>2020-02-18T22:17:21.5169878+01:00</d2p1:StockLevelDate>
        <d2p1:StockOnCurrentLocation>4</d2p1:StockOnCurrentLocation>
        <d2p1:StockTotal>3</d2p1:StockTotal>
        <d2p1:SystemBarcode>sample string 9</d2p1:SystemBarcode>
      </d2p1:ProductStockControlRow>
    </d2p1:Rows>
    <d2p1:UserId>1</d2p1:UserId>
    <d2p1:Username>sample string 4</d2p1:Username>
  </Value>
</Logic4ResponseOfProductStockControlHeadLnN1pw8Y>