unitOfMeasure resource type

Important: Currently all requests to API v2.0 must append $schemaversion=2.0 to the request URL to work properly. This is to uptake the new improved $metadata model avaliable from Business Central 17. An update will be applied shortly to apply the schemaversion automatically to API v2.0. For all other APIs $schemaversion=1.0 will be the default, unless specified in the request URL with $schemaversion=2.0. A solution is being worked on, where the schemaversion will be defined in the extension.

Represents an unit of measure 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 unitOfMeasure unitOfMeasure Gets a unit of measure object.
DELETE unitOfMeasure none Deletes a unit of measure object.
POST unitOfMeasure unitOfMeasure Creates a unit of measure object.
PATCH unitOfMeasure unitOfMeasure Updates a unit of measure object.

Properties

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

JSON representation

Here is a JSON representation of the unitOfMeasure resource.

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

See Also

GET unitOfMeasure DELETE unitOfMeasure POST unitOfMeasure PATCH unitOfMeasure