Table of Contents

Item Units of Measure API

Overview

The WMS Item Units of Measure API is a Business Central API page designed to manage item unit of measure data. This API allows external systems to interact with item unit of measure records, providing functionality for creating, reading, and updating information.

API Details

  • Publisher: smart
  • API Group: wms
  • API Version: v2.0
  • Entity Name: itemUnitOfMeasure
  • Entity Set Name: itemUnitsOfMeasure
  • Source Table: Item Unit of Measure
  • ODataKeyFields: Code, Item No.

Fields

The following fields are exposed in the API:

Field Name Source Field Required Description
Code Item Unit of Measure.Code Yes Unique identifier for the unit of measure.
ItemNo Item Unit of Measure."Item No." Yes Item number associated with the unit of measure.
Cubage Item Unit of Measure.Cubage No Cubage of the unit of measure.
Height Item Unit of Measure.Height No Height of the unit of measure.
Length Item Unit of Measure.Length No Length of the unit of measure.
QtyPerUnitOfMeasure Item Unit of Measure."Qty. per Unit of Measure" No Quantity per unit of measure.
Weight Item Unit of Measure.Weight No Weight of the unit of measure.
Width Item Unit of Measure.Width No Width of the unit of measure.

Example Usage

Create a New Item Unit of Measure

POST host/instance/api/smart/wms/v2.0/companies(companyId)/itemUnitsOfMeasure
Content-Type: application/json

{
    "Code": "UOM001",
    "ItemNo": "ITEM001",
    "Cubage": 1.5,
    "Height": 10,
    "Length": 20,
    "QtyPerUnitOfMeasure": 100,
    "Weight": 5,
    "Width": 15
}

Retrieve an Item Unit of Measure

GET host/instance/api/smart/wms/v2.0/companies(companyId)/itemUnitsOfMeasure('ITEM001','UOM001')

Update an Item Unit of Measure

PATCH host/instance/api/smart/wms/v2.0/companies(companyId)/itemUnitsOfMeasure('ITEM001','UOM001')
Content-Type: application/json

{
    "Height": 12,
    "Weight": 6
}