ResponseJournalDto¶
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 "source": {},
11 "field": "string",
12 "errorKey": "string",
13 "errorMessage": "string"
14 }
15 ]
16 },
17 "object": {
18 "id": 0,
19 "displayId": "string",
20 "type": "PAYMENT",
21 "date": {
22 "timing": "START_OF_DAY",
23 "year": 2025,
24 "monthValue": 9,
25 "dayOfMonth": 4,
26 "dayOfWeek": "THURSDAY",
27 "leapYear": false,
28 "dayOfYear": 247,
29 "month": "SEPTEMBER"
30 },
31 "entries": [
32 {
33 "id": 0,
34 "displayId": "string",
35 "type": "LIABILITY",
36 "translationType": "NONE",
37 "note": "string",
38 "balanced": true,
39 "credits": 0,
40 "debits": 0,
41 "exchangeRate": 0,
42 "journalId": 0,
43 "lines": [
44 {
45 "id": 0,
46 "displayId": "string",
47 "account": "string",
48 "accountCodeName": "string",
49 "accountCodeCaption": "string",
50 "drCr": "DEBIT",
51 "amount": 0,
52 "unroundedAmount": 0,
53 "deltaAdjustment": 0,
54 "tag": "string",
55 "vendorId": "string",
56 "currencyId": 0,
57 "currencyDisplayId": "string",
58 "currencyDefinitionType": "CONTRACT_CURRENCY",
59 "leaseClassificationType": "NON_LEASE",
60 "journalEntryId": 0,
61 "numberRangeIdentifierType": {
62 "name": "COMPANY_CODE"
63 },
64 "numberRangeIdentifierValue": "string",
65 "numberRangeType": {
66 "name": "CONTRACT"
67 },
68 "allowsSystemGenerateNewId": true
69 }
70 ],
71 "numberRangeIdentifierType": {
72 "name": "COMPANY_CODE"
73 },
74 "numberRangeIdentifierValue": "string",
75 "numberRangeType": {
76 "name": "CONTRACT"
77 },
78 "allowsSystemGenerateNewId": true
79 }
80 ],
81 "numberRangeIdentifierType": {
82 "name": "COMPANY_CODE"
83 },
84 "numberRangeIdentifierValue": "string",
85 "numberRangeType": {
86 "name": "CONTRACT"
87 },
88 "allowsSystemGenerateNewId": true
89 }
90}
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
none |
message |
string |
false |
write-only |
none |
defaultMessage |
string |
false |
write-only |
none |
debugMessage |
string |
false |
write-only |
none |
errors |
false |
none |
none |
|
object |
false |
none |
none |
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 |