Currencies
This page provides a description of the available API routes for managing currencies.
Last updated
Was this helpful?
This page provides a description of the available API routes for managing currencies.
Last updated
Was this helpful?
Collection of currencies contains exactly one currency marked as domestic. All system transactions are conducted exclusively in the domestic currency.
Currency is represented by class.
GET
http://{server-address}/currencies
Returns all currencies that matches query parameters. Result is of type .
label
string
Supports NData syntax.
$skip
int
Pagination property. Describing number of records to skip from beginning of result collection.
$take
int
Pagination property. Maximum count of items to be returned.
$sort
string[]
Comma separated list of property names. Please see NData syntax.
$count
bool
If set to true
, response will not contain items
collection. Use to get resource count, not the resources themselves.
isDomestic
bool
Supports NData syntax.
Authorization*
string
Authorization header with authorization token.
GET
http://{server-address}/currencies/{label}
label*
string
Unique currency label.
Authorization*
string
Authorization header with authorization token.
POST
http://{server-address}/currencies
Required rights
Authorization*
string
Authorization header with authorization token.
(body)*
Currency
Model to create.
PUT
http://{server-address}/currencies/{label}
Required rights
label*
string
Unique currency label.
Authorization*
string
Authorization header with authorization token.
(body)*
Currency
Model to create or update.
DELETE
http://{server-address}/currencies/{label}
Required rights
label*
string
Unique currency label.
Authorization*
string
Authorization header with authorization token.
Result is of type .
Creates new currency. Result is of type .
Authorized user must have CurrencyCreate
assigned.
Creates new or updates existing currency. Result is of type .
Authorized user must have assigned CurrencyCreate
or CurrencyUpdate
.
Authorized user must have CurrencyDelete
assigned.