POST api/GenerateExcelBudgetSubmissionTemplateData/{id}/{tipe}/{isDeptHead}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| tipe | integer |
Required |
|
| isDeptHead | boolean |
Required |
Body Parameters
Collection of BudgetSubmissionCustomModel| Name | Description | Type | Additional information |
|---|---|---|---|
| COAId | integer |
None. |
|
| COATypeName | string |
None. |
|
| COACode | string |
None. |
|
| COAName | string |
None. |
|
| COADesc | string |
None. |
|
| BudgetLock | boolean |
None. |
|
| DepartementNodeId | integer |
None. |
|
| COADepreciationCode | string |
None. |
|
| DepreciationYear | integer |
None. |
|
| DepreciationYearCondition | integer |
None. |
|
| MinValueDepreciationAmount | decimal number |
None. |
|
| BudgetSubmissionDetailHistory | Collection of BudgetSubmissionDetailHistoryModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"COAId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"BudgetLock": true,
"DepartementNodeId": 1,
"COADepreciationCode": "sample string 5",
"DepreciationYear": 1,
"DepreciationYearCondition": 1,
"MinValueDepreciationAmount": 1.0,
"BudgetSubmissionDetailHistory": [
{
"BudgetSubmissionDetailHistoryId": 1,
"BudgetSubmissionHistoryId": 1,
"COAId": 1,
"DetailItem": "sample string 2",
"DepartmentSubmited": "sample string 3",
"DepartmentTCodeID": 1,
"DepartmentTCodeName": "sample string 4",
"Project": "sample string 5",
"CurrencyId": 1,
"CurrencyName": "sample string 6",
"Total": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1,
"BudgetSubmissionBreakdownHistory": [
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
},
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
}
]
},
{
"BudgetSubmissionDetailHistoryId": 1,
"BudgetSubmissionHistoryId": 1,
"COAId": 1,
"DetailItem": "sample string 2",
"DepartmentSubmited": "sample string 3",
"DepartmentTCodeID": 1,
"DepartmentTCodeName": "sample string 4",
"Project": "sample string 5",
"CurrencyId": 1,
"CurrencyName": "sample string 6",
"Total": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1,
"BudgetSubmissionBreakdownHistory": [
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
},
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
}
]
}
]
},
{
"COAId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"BudgetLock": true,
"DepartementNodeId": 1,
"COADepreciationCode": "sample string 5",
"DepreciationYear": 1,
"DepreciationYearCondition": 1,
"MinValueDepreciationAmount": 1.0,
"BudgetSubmissionDetailHistory": [
{
"BudgetSubmissionDetailHistoryId": 1,
"BudgetSubmissionHistoryId": 1,
"COAId": 1,
"DetailItem": "sample string 2",
"DepartmentSubmited": "sample string 3",
"DepartmentTCodeID": 1,
"DepartmentTCodeName": "sample string 4",
"Project": "sample string 5",
"CurrencyId": 1,
"CurrencyName": "sample string 6",
"Total": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1,
"BudgetSubmissionBreakdownHistory": [
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
},
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
}
]
},
{
"BudgetSubmissionDetailHistoryId": 1,
"BudgetSubmissionHistoryId": 1,
"COAId": 1,
"DetailItem": "sample string 2",
"DepartmentSubmited": "sample string 3",
"DepartmentTCodeID": 1,
"DepartmentTCodeName": "sample string 4",
"Project": "sample string 5",
"CurrencyId": 1,
"CurrencyName": "sample string 6",
"Total": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1,
"BudgetSubmissionBreakdownHistory": [
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
},
{
"BudgetSubmissionBreakdownHistoryId": 1,
"BudgetSubmissionDetailHistoryId": 1,
"Month": 1,
"StartDate": "2026-04-19T12:35:42.8224531+07:00",
"EndDate": "2026-04-19T12:35:42.8224531+07:00",
"ValueIDR": 1.0,
"ValueUSD": 1.0,
"Created": "2026-04-19T12:35:42.8224531+07:00",
"CreatedBy": 1,
"Modified": "2026-04-19T12:35:42.8224531+07:00",
"ModifiedBy": 1
}
]
}
]
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"