Modifier

Partager via


currency resource type

Represents a currency 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 currency currency Gets a currency object.
DELETE currency none Deletes a currency object.
POST currency currency Creates a currency object.
PATCH currency currency Updates a currency object.

Properties

Property Type Description
id GUID The unique ID of the currency. Non-editable.
code string The code of the currency.
displayName string Specifies the currency's name. This name will appear on all sales documents for the currency.
symbol string Specifies a graphical representation of the unit of measure.
amountDecimalPlaces string Specifies the number of decimal places the system will display on amounts for this currency.
amountRoundingPrecision decimal Specifies the size of the interval to be used when rounding amounts for this currency.
lastModifiedDateTime datetime The last datetime the currency was modified. Read-Only.

JSON representation

Here is a JSON representation of the currency resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "symbol": "string",
    "amountDecimalPlaces": "string",
    "amountRoundingPrecision": "decimal",
    "lastModifiedDateTime": "datetime"
}

GET currency
DELETE currency
POST currency
PATCH currency