denominations
Operations addressed under /denominations — 3 operations.
create-denomination
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<Guid>, 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 Guid. 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 | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_120 | 400 | DENOMINATION_IS_ALREADY_DEFINED | This denomination is already defined. |
ERR_ACCNT_18 | 400 | CURRENCY_ID_NOT_FOUND | Currency not found. |
create-denomination › Request Body
currencyNumbernametypePermitted values — validated against the denomination_type parameter.
| Value | Meaning |
|---|---|
1 | banknote |
2 | coin |
unitcreate-denomination › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
idIdentifier returned by the command.
update-denomination
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_ACCNT_120 | 400 | DENOMINATION_IS_ALREADY_DEFINED | This denomination is already defined. |
ERR_ACCNT_121 | 400 | DENOMINATION_IS_NOT_FOUND | Denomination is not found with the given id'{0}'. |
ERR_ACCNT_18 | 400 | CURRENCY_ID_NOT_FOUND | Currency not found. |
path Parameters
idupdate-denomination › Request Body
currencyNumbernametypePermitted values — validated against the denomination_type parameter.
| Value | Meaning |
|---|---|
1 | banknote |
2 | coin |
unitupdate-denomination › 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-denomination
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_ACCNT_121 | 400 | DENOMINATION_IS_NOT_FOUND | Denomination is not found with the given id'{0}'. |
path Parameters
iddelete-denomination › 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.