POST Stock/GetStockLocationsForProduct

Haal voorraadlocaties op van een product.

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

Logic4ResponseListOfProductStockLocations
NameDescriptionTypeAdditional information
Records

Collection of ProductStockLocations

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "LocationId": 1,
      "Location": "sample string 2",
      "ProductId": 3,
      "Qty": 4.0,
      "FreeStock": 5.0,
      "IsDefaultPickLocation": true,
      "WarehouseLocationSortId": 7,
      "WarehouseColumnSortId": 8,
      "WarehouseRowSortId": 9,
      "WarehouseSortId": 10
    },
    {
      "LocationId": 1,
      "Location": "sample string 2",
      "ProductId": 3,
      "Qty": 4.0,
      "FreeStock": 5.0,
      "IsDefaultPickLocation": true,
      "WarehouseLocationSortId": 7,
      "WarehouseColumnSortId": 8,
      "WarehouseRowSortId": 9,
      "WarehouseSortId": 10
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductStockLocationsLnN1pw8Y 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:ProductStockLocations>
      <d2p1:FreeStock>5</d2p1:FreeStock>
      <d2p1:IsDefaultPickLocation>true</d2p1:IsDefaultPickLocation>
      <d2p1:Location>sample string 2</d2p1:Location>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:ProductId>3</d2p1:ProductId>
      <d2p1:Qty>4</d2p1:Qty>
      <d2p1:WarehouseColumnSortId>8</d2p1:WarehouseColumnSortId>
      <d2p1:WarehouseLocationSortId>7</d2p1:WarehouseLocationSortId>
      <d2p1:WarehouseRowSortId>9</d2p1:WarehouseRowSortId>
      <d2p1:WarehouseSortId>10</d2p1:WarehouseSortId>
    </d2p1:ProductStockLocations>
    <d2p1:ProductStockLocations>
      <d2p1:FreeStock>5</d2p1:FreeStock>
      <d2p1:IsDefaultPickLocation>true</d2p1:IsDefaultPickLocation>
      <d2p1:Location>sample string 2</d2p1:Location>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:ProductId>3</d2p1:ProductId>
      <d2p1:Qty>4</d2p1:Qty>
      <d2p1:WarehouseColumnSortId>8</d2p1:WarehouseColumnSortId>
      <d2p1:WarehouseLocationSortId>7</d2p1:WarehouseLocationSortId>
      <d2p1:WarehouseRowSortId>9</d2p1:WarehouseRowSortId>
      <d2p1:WarehouseSortId>10</d2p1:WarehouseSortId>
    </d2p1:ProductStockLocations>
  </Records>
</Logic4ResponseListOfProductStockLocationsLnN1pw8Y>