Перейти к основному содержимому

Bin Content API

Overview

The WMS Bin Content API provides access to bin content information in the warehouse management system. This API allows users to retrieve details about bin locations, items, quantities, and lot numbers.

API Details

  • Publisher: smart
  • API Group: wms
  • API Version: v2.0
  • Entity Name: binContent
  • Entity Set Name: binContents
  • Source Table: Bin Content

Key Features

  • Retrieve bin content details such as location, bin code, item number, and quantities.
  • Access available quantities to take and lot-specific information.
  • Read-only API with no editing capabilities.

OData Key Fields

The following fields are used as OData key fields for identifying records:

  • Location Code
  • Bin Code
  • Item No.

Fields

The API exposes the following fields:

Field NameDescription
locationCodeThe location code of the bin.
binCodeThe bin code.
itemNoThe item number.
quantityBaseThe base quantity in the bin.
PickQuantityBaseThe pick quantity in the base unit.
availableQtyToTakeThe available quantity to take.
lotNoThe lot number.
availableQtyByLotThe available quantity by lot.

Procedures

GetLotNo()

Retrieves the lot number for the current bin content record.

  • Returns: Code[50] - The lot number.
  • Logic:
    • Filters and aggregates lot numbers by bin code.
    • Returns the first available lot number with a positive quantity.

Example Usage

Request

GET host/instance/api/smart/wms/v2.0/companies(companyId)/binContents?$filter=locationCode eq 'MAIN' and binCode eq 'A01'

Response

[
{
"locationCode": "MAIN",
"binCode": "A01",
"itemNo": "ITEM001",
"quantityBase": 100,
"PickQuantityBase": 20,
"availableQtyToTake": 80,
"lotNo": "LOT123",
"availableQtyByLot": 50
}
]

Notes

  • The API is read-only and does not allow modifications to the data.
  • Ensure proper filtering to retrieve relevant bin content information.

For further details, refer to the source code or contact the API publisher.

© 2008 - 2026 SMART business