POST api/GenerateExcelReforecastPlan/{reforecastPlanHeaderHistoryId}/{userId}/{tipe}/{isDeptHead}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| reforecastPlanHeaderHistoryId | integer |
Required |
|
| userId | integer |
Required |
|
| tipe | integer |
Required |
|
| isDeptHead | boolean |
Required |
Body Parameters
ReforecastPlanQueueModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CAPEX | Collection of ReforecastPlanHeaderModel |
None. |
|
| TotalCAPEX | ReforecastPlanMonthTotalValueModel |
None. |
|
| OPEX | Collection of ReforecastPlanHeaderModel |
None. |
|
| TotalOPEX | ReforecastPlanMonthTotalValueModel |
None. |
|
| GrandTotal | ReforecastPlanMonthTotalValueModel |
None. |
|
| TotalRow | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CAPEX": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"COATypeId": 1,
"COAId": 1,
"SubmitterDepartmentNodeId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"Submitter": "sample string 5",
"Detail": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
}
]
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"COATypeId": 1,
"COAId": 1,
"SubmitterDepartmentNodeId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"Submitter": "sample string 5",
"Detail": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
}
]
}
],
"TotalCAPEX": {
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0
},
"OPEX": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"COATypeId": 1,
"COAId": 1,
"SubmitterDepartmentNodeId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"Submitter": "sample string 5",
"Detail": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
}
]
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"COATypeId": 1,
"COAId": 1,
"SubmitterDepartmentNodeId": 1,
"COATypeName": "sample string 1",
"COACode": "sample string 2",
"COAName": "sample string 3",
"COADesc": "sample string 4",
"Submitter": "sample string 5",
"Detail": [
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
},
{
"ReforecastPlanHistoryId": 1,
"ReforecastPlanDetailHistoryId": 1,
"BudgetSubmissionDetailId": 1,
"ReforecastDetailPrevId": 1,
"ReforecastPlanDetailPrevId": 1,
"COATypeId": 1,
"COAId": 1,
"DepartmentTCodeId": 1,
"SubmitterDepartmentNodeId": 1,
"CurrencyId": 1,
"TotalMonth": 64,
"Submitter": "sample string 1",
"COATypeName": "sample string 2",
"COACode": "sample string 3",
"COAName": "sample string 4",
"COADesc": "sample string 5",
"DetailItem": "sample string 6",
"DepartementNodeName": "sample string 7",
"Project": "sample string 8",
"CurrencyName": "sample string 9",
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0,
"BudgetLock": true,
"IsNewDetail": true
}
]
}
],
"TotalOPEX": {
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0
},
"GrandTotal": {
"Month1ValueIDR": 1.0,
"Month1ValueUSD": 1.0,
"Month2ValueIDR": 1.0,
"Month2ValueUSD": 1.0,
"Month3ValueIDR": 1.0,
"Month3ValueUSD": 1.0,
"Month4ValueIDR": 1.0,
"Month4ValueUSD": 1.0,
"Month5ValueIDR": 1.0,
"Month5ValueUSD": 1.0,
"Month6ValueIDR": 1.0,
"Month6ValueUSD": 1.0,
"Month7ValueIDR": 1.0,
"Month7ValueUSD": 1.0,
"Month8ValueIDR": 1.0,
"Month8ValueUSD": 1.0,
"Month9ValueIDR": 1.0,
"Month9ValueUSD": 1.0,
"Month10ValueIDR": 1.0,
"Month10ValueUSD": 1.0,
"Month11ValueIDR": 1.0,
"Month11ValueUSD": 1.0,
"Month12ValueIDR": 1.0,
"Month12ValueUSD": 1.0,
"TotalValueIDR": 1.0
},
"TotalRow": 1
}
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. |