POST api/journal/save-journal
Request Information
URI Parameters
None.
Body Parameters
JournalDataName | Description | Type | Additional information |
---|---|---|---|
Master | Ledger |
None. |
|
Detail | Collection of journalDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "Master": { "SEQ_NO": 1, "BOOK_SEQ": 1, "NAME_SEQ": 1, "TRANS_DATE": "2024-09-07T22:32:46.8076705-04:00", "VOUCHER_NO": "sample string 2", "INVOICE_NO": "sample string 3", "TOTAL_AMOUNT": 1.0, "ADJUST_AMOUNT": 1.0, "AC_YEAR_SEQ": 1, "COMP_SEQ": 1, "IS_OPENING": true, "USER_SEQ": 1, "TRANS_SEQ": 1, "PUR_SEQ": 1, "BOOK_AC_SEQ": 1, "CURRENCY": "sample string 4", "EXCH_RATE": 5.0, "CHQ_BANK": "sample string 6", "CHQ_PARTY_NAME": "sample string 7", "CHQ_NO": "sample string 8", "CHQ_DATE": "2024-09-07T22:32:46.8076705-04:00", "NARRATION": "sample string 9", "TOKAN_NO": "sample string 10" }, "Detail": [ { "SR": 1, "NAME_SEQ": 1, "CURRENT_BALANCE": 1.0, "AMOUNT": 1.0, "CR_DR": "sample string 2", "ADJUST_AMOUNT": 1.0, "ADJUSTMENT": [ { "LEDGER_DET_SEQ": 1, "LEDGER_SEQ": 2, "ADJ_LEDGER_DET_SEQ": 1, "ADJUST_AMOUNT": 1.0 }, { "LEDGER_DET_SEQ": 1, "LEDGER_SEQ": 2, "ADJ_LEDGER_DET_SEQ": 1, "ADJUST_AMOUNT": 1.0 } ] }, { "SR": 1, "NAME_SEQ": 1, "CURRENT_BALANCE": 1.0, "AMOUNT": 1.0, "CR_DR": "sample string 2", "ADJUST_AMOUNT": 1.0, "ADJUSTMENT": [ { "LEDGER_DET_SEQ": 1, "LEDGER_SEQ": 2, "ADJ_LEDGER_DET_SEQ": 1, "ADJUST_AMOUNT": 1.0 }, { "LEDGER_DET_SEQ": 1, "LEDGER_SEQ": 2, "ADJ_LEDGER_DET_SEQ": 1, "ADJUST_AMOUNT": 1.0 } ] } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseMessageName | Description | Type | Additional information |
---|---|---|---|
STATUS | string |
None. |
|
MESSAGE | string |
None. |
|
VALUE | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "STATUS": "sample string 1", "MESSAGE": "sample string 2", "VALUE": "sample string 3" }