Modifier

Partager via


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

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