unitOfMeasure resource type

Represents an unit of measure in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET unitOfMeasureunitOfMeasureGets a unit of measure object.
DELETE unitOfMeasurenoneDeletes a unit of measure object.
POST unitOfMeasureunitOfMeasureCreates a unit of measure object.
PATCH unitOfMeasureunitOfMeasureUpdates a unit of measure object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the unit of measure. Non-editable.
codestringThe code of the unit of measure.
displayNamestringSpecifies the unit of measure's name. This name will appear on all sales documents for the unit of measure.
internationalStandardCodestringSpecifies the unit of measure code expressed according to the UNECE Rec20 standard in connection with electronic sending of sales documents.
symbolstringSpecifies a graphical representation of the unit of measure.
lastModifiedDateTimedatetimeThe last datetime the unit of measure was modified. Read-Only.

JSON representation

Here's a JSON representation of the unitOfMeasure resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "internationalStandardCode": "string",
    "symbol": "string",
    "lastModifiedDateTime": "datetime"
}

GET unitOfMeasure
DELETE unitOfMeasure
POST unitOfMeasure
PATCH unitOfMeasure