title | description | author | ms.topic | ms.devlang | ms.date | ms.author | ms.reviewer |
---|---|---|---|---|---|---|---|
currency resource type |
A currency object in Dynamics 365 Business Central. |
SusanneWindfeldPedersen |
reference |
al |
04/09/2024 |
solsen |
solsen |
[!INCLUDEapi_v2_note]
Represents a currency in [!INCLUDEprod_short].
Note
For information about enabling APIs for [!INCLUDEprod_short] see Enabling the APIs for Dynamics 365 Business Central.
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. |
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. |
Here is a JSON representation of the currency resource.
{
"id": "GUID",
"code": "string",
"displayName": "string",
"symbol": "string",
"amountDecimalPlaces": "string",
"amountRoundingPrecision": "decimal",
"lastModifiedDateTime": "datetime"
}