POST api/Account/ChartOfAccountAddUpdate
Request Information
URI Parameters
None.
Body Parameters
AccountHeadModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountHeadList | Collection of MstAccountHeadModel |
None. |
|
| ParentId | integer |
None. |
|
| ParentHeadName | string |
None. |
|
| HeadId | integer |
None. |
|
| Title | string |
None. |
|
| OperationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountHeadList": [
{
"AccountHeadId": 1,
"ParentId": 1,
"MainId": 2,
"Title": "sample string 3",
"Level": 1,
"BranchCode": "sample string 4",
"IsSrNo": 1,
"Status": 5,
"FixStatus": 1,
"FixTitle": "sample string 6",
"ReceiveVoucherList": true,
"ExpenseVoucherList": true,
"JournalVoucherList": true,
"RestrictParent": true
},
{
"AccountHeadId": 1,
"ParentId": 1,
"MainId": 2,
"Title": "sample string 3",
"Level": 1,
"BranchCode": "sample string 4",
"IsSrNo": 1,
"Status": 5,
"FixStatus": 1,
"FixTitle": "sample string 6",
"ReceiveVoucherList": true,
"ExpenseVoucherList": true,
"JournalVoucherList": true,
"RestrictParent": true
}
],
"ParentId": 1,
"ParentHeadName": "sample string 1",
"HeadId": 2,
"Title": "sample string 3",
"OperationType": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddUpdateDeleteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": {}
}