unitsOfMeasure resource type

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents a unit of measure, which is a standard of measurement of a quantity, in Dynamics 365 Business Central.

Note

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

Methods

Method Return Type Description
GET unitsOfMeasure unitsOfMeasure Gets a unit of measure object.
POST unitsOfMeasure unitsOfMeasure Creates a unit of measure object.
PATCH unitsOfMeasure unitsOfMeasure Updates a unit of measure object.
DELETE unitsOfMeasure none Deletes a unit of measure object.

Properties

Property Type Description
id GUID The unique ID of the unitsOfMeasure. Non-editable.
code string Specifies the code for the unit of measure.
displayName string Specifies the unit of measure's display name.
internationalStandardCode string Specifies the unit of measure code expressed according to the UNECE Rec20 standard in connection with electronic sending of sales documents.
lastModifiedDateTime datetime The last datetime the unit of measure was modified. Read-Only.

Relationships

None

JSON representation

Here is a JSON representation of the unitsOfMeasure resource.

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

See also

Get Units of Measure
Create Units of Measure
Update Units of Measure
Delete Units of Measure