POST api/JournalEntryMaster/SaveJournalEntry
Request Information
URI Parameters
None.
Body Parameters
JournalEntryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| EntrySource | string |
None. |
|
| JournalDetailModel | Collection of JournalDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"UserID": 1,
"CompanyID": 1,
"EntrySource": "sample string 2",
"JournalDetailModel": [
{
"UnitID": 1,
"BranchID": 1,
"AreaID": 1,
"LedgerID": 1,
"OriginBranchID": 1,
"Description": "sample string 1",
"EntryDate": "2025-12-12T02:26:56.1777665+05:30",
"LedgerType": 1,
"Amount": 1.0
},
{
"UnitID": 1,
"BranchID": 1,
"AreaID": 1,
"LedgerID": 1,
"OriginBranchID": 1,
"Description": "sample string 1",
"EntryDate": "2025-12-12T02:26:56.1777665+05:30",
"LedgerType": 1,
"Amount": 1.0
}
]
}
application/xml, text/xml
Sample:
<JournalEntryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
<CompanyID>1</CompanyID>
<EntrySource>sample string 2</EntrySource>
<ID>1</ID>
<JournalDetailModel>
<JournalDetailModel>
<Amount>1</Amount>
<AreaID>1</AreaID>
<BranchID>1</BranchID>
<Description>sample string 1</Description>
<EntryDate>2025-12-12T02:26:56.1777665+05:30</EntryDate>
<LedgerID>1</LedgerID>
<LedgerType>1</LedgerType>
<OriginBranchID>1</OriginBranchID>
<UnitID>1</UnitID>
</JournalDetailModel>
<JournalDetailModel>
<Amount>1</Amount>
<AreaID>1</AreaID>
<BranchID>1</BranchID>
<Description>sample string 1</Description>
<EntryDate>2025-12-12T02:26:56.1777665+05:30</EntryDate>
<LedgerID>1</LedgerID>
<LedgerType>1</LedgerType>
<OriginBranchID>1</OriginBranchID>
<UnitID>1</UnitID>
</JournalDetailModel>
</JournalDetailModel>
<UserID>1</UserID>
</JournalEntryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |