Lot No. Information API
Overview
The WMS Lot No. Information API is a Business Central API page designed to manage lot number information. This API allows external systems to interact with lot records, providing functionality for creating and reading lot details.
API Details
- Publisher: smart
- API Group: wms
- API Version: v2.0
- Entity Name: lotNoInformation
- Entity Set Name: lotNoInformations
- Source Table: Lot No. Information
- ODataKeyFields: Item No., Variant Code, Lot No.
Fields
The following fields are exposed in the API:
| Field Name | Source Field | Required | Description |
|---|---|---|---|
ItemNo | Lot No. Information."Item No." | Yes | Item number associated with the lot. |
VariantCode | Lot No. Information."Variant Code" | No | Variant code of the item. |
LotNo | Lot No. Information."Lot No." | Yes | Unique identifier for the lot. |
Example Usage
Create a New Lot Information
POST host/instance/api/smart/wms/v2.0/companies(companyId)/lotNoInformations
Content-Type: application/json
{
"ItemNo": "ITEM001",
"VariantCode": "VAR001",
"LotNo": "LOT001"
}
Retrieve Lot Information
GET host/instance/api/smart/wms/v2.0/companies(companyId)/lotNoInformations('ItemNo=ITEM001,VariantCode=VAR001,LotNo=LOT001')