ResponseExchangeRateDto¶
Example Json Object
1{
2 "code": "UPDATED",
3 "message": "string",
4 "defaultMessage": "string",
5 "debugMessage": "string",
6 "errors": {
7 "all": [
8 {
9 "type": "GENERIC",
10 "errorMessage": "string",
11 "source": {},
12 "field": "string",
13 "errorKey": "string"
14 }
15 ]
16 },
17 "object": {
18 "id": 0,
19 "status": "CREATED",
20 "displayId": "string",
21 "erpSystemId": 0,
22 "erpSystemDisplayId": "string",
23 "validFrom": "2019-08-24",
24 "rate": 0,
25 "fromFactor": 0,
26 "toFactor": 0,
27 "indirectExchangeRate": 0,
28 "indirectFromFactor": 0,
29 "indirectToFactor": 0,
30 "exchangeRateType": "string",
31 "alternateExchangeRateType": "string",
32 "fromCurrencyId": 0,
33 "fromCurrencyDisplayId": "string",
34 "toCurrencyId": 0,
35 "toCurrencyDisplayId": "string"
36 }
37}
📄 Description: Data transfer object representing the exchange rate information for financial entities within an organization’s structure, facilitating accurate currency conversions and financial reporting across hierarchical levels.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
Code identifier for the resource |
message |
string |
false |
write-only |
Textual representation of the exchange rate message, providing context and details relevant to the financial organization’s structure and hierarchy. |
defaultMessage |
string |
false |
write-only |
Default message to be displayed for financial entities within the organizational structure, providing clarity on exchange rate information. |
debugMessage |
string |
false |
write-only |
Provides detailed information about any errors or issues encountered during the exchange rate retrieval process within the financial organization structure. |
errors |
false |
none |
Value for errors field |
|
object |
false |
none |
Value for object field |
Enumerated Values
Attribute |
Value |
|---|---|
code |
API_CALL_FAILED, ATTACHED, BAD_REQUEST, DATA_VALIDATION_ERROR, DELETED, DETACHED, INTERNAL_SYSTEM_ERROR, NULL_RESPONSE, OK, OK_BUT_RESPONSE_INVALID, REQUEST_VALIDATION_ERROR, SERVICE_VALIDATION_ERROR, UPDATED |