currencies
Operations addressed under /currencies — 8 operations.
get-currency-list
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<CurrencyDto>.
| Field | Declared type | Nullable |
|---|---|---|
Code | string | no |
Name | string | no |
SubUnitName | string | no |
Numeric | string | no |
Group | string | no |
CurrencyDecimal | int | no |
Translations | IEnumerable<CurrencyTranslationDto> (collection) | no |
Member names are the service's declaration names.
query Parameters
orderByorderSortpageIndexpageSizeget-currency-list › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
codegroupPermitted values — validated against the currency_group parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | FX | no label seeded |
2 | PM | no label seeded |
idnamenumericcreate-currency
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<int>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type int. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | int | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_CORE_6 | 400 | CURRENCY_EXISTS_WITH_THIS_NUMERIC | Cannot be defined with the same numeric code: {0}. |
ERR_CORE_7 | 400 | CURRENCY_EXISTS_WITH_SAME_CODE | Cannot be defined with the same currency code: {0}. |
create-currency › Request Body
codecurrencyDecimalgroupPermitted values — validated against the currency_group parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | FX | no label seeded |
2 | PM | no label seeded |
numericcreate-currency › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
idconvert-currency-amount-to-text-by-code
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_CORE_11 | 400 | CURRENCY_ID_IS_NOT_FOUND |
path Parameters
codeconvert-currency-amount-to-text-by-code › Request Body
amountlanguageCodeconvert-currency-amount-to-text-by-code › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
textCurrencyAmountget-currency-by-numeric
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as CurrencyDto.
| Field | Declared type | Nullable |
|---|---|---|
Code | string | no |
Name | string | no |
SubUnitName | string | no |
Numeric | string | no |
Group | string | no |
CurrencyDecimal | int | no |
Translations | IEnumerable<CurrencyTranslationDto> (collection) | no |
Member names are the service's declaration names.
path Parameters
numericget-currency-by-numeric › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
codegroupPermitted values — validated against the currency_group parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | FX | no label seeded |
2 | PM | no label seeded |
idnamenumericget-currency-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as CurrencyDto.
| Field | Declared type | Nullable |
|---|---|---|
Code | string | no |
Name | string | no |
SubUnitName | string | no |
Numeric | string | no |
Group | string | no |
CurrencyDecimal | int | no |
Translations | IEnumerable<CurrencyTranslationDto> (collection) | no |
Member names are the service's declaration names.
path Parameters
idget-currency-by-id › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
codegroupPermitted values — validated against the currency_group parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | FX | no label seeded |
2 | PM | no label seeded |
idnamenumericupdate-currency
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_CORE_10 | 400 | CURRENCY_EXISTS_WITH_THIS_CODE | Currency code is defined on another currency: {0}. |
ERR_CORE_11 | 400 | CURRENCY_ID_IS_NOT_FOUND | not published in this snapshot |
path Parameters
idupdate-currency › Request Body
codegroupPermitted values — validated against the currency_group parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | FX | no label seeded |
2 | PM | no label seeded |
update-currency › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
delete-currency
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_CORE_11 | 400 | CURRENCY_ID_IS_NOT_FOUND |
path Parameters
iddelete-currency › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
convert-currency-amount-to-text
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_CORE_11 | 400 | CURRENCY_ID_IS_NOT_FOUND |
path Parameters
idconvert-currency-amount-to-text › Request Body
amountlanguageCodeconvert-currency-amount-to-text › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
textCurrencyAmount