POST api/SubmitReforecastDetail?reforecastHistoryId={reforecastHistoryId}&userId={userId}&isDraft={isDraft}&remark={remark}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
reforecastHistoryId

integer

Required

userId

integer

Required

isDraft

boolean

Required

remark

string

Required

Body Parameters

ReforecastQueueModel
NameDescriptionTypeAdditional information
CAPEX

Collection of ReforecastHeaderModel

None.

TotalCAPEX

ReforecastMonthTotalValueModel

None.

OPEX

Collection of ReforecastHeaderModel

None.

TotalOPEX

ReforecastMonthTotalValueModel

None.

GrandTotal

ReforecastMonthTotalValueModel

None.

TotalRow

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CAPEX": [
    {
      "ReforecastHistoryId": 1,
      "ReforecastDetailHistoryId": 1,
      "COATypeId": 1,
      "COAId": 1,
      "COATypeName": "sample string 1",
      "COACode": "sample string 2",
      "COAName": "sample string 3",
      "COADesc": "sample string 4",
      "Detail": [
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        },
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        }
      ]
    },
    {
      "ReforecastHistoryId": 1,
      "ReforecastDetailHistoryId": 1,
      "COATypeId": 1,
      "COAId": 1,
      "COATypeName": "sample string 1",
      "COACode": "sample string 2",
      "COAName": "sample string 3",
      "COADesc": "sample string 4",
      "Detail": [
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        },
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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": [
    {
      "ReforecastHistoryId": 1,
      "ReforecastDetailHistoryId": 1,
      "COATypeId": 1,
      "COAId": 1,
      "COATypeName": "sample string 1",
      "COACode": "sample string 2",
      "COAName": "sample string 3",
      "COADesc": "sample string 4",
      "Detail": [
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        },
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        }
      ]
    },
    {
      "ReforecastHistoryId": 1,
      "ReforecastDetailHistoryId": 1,
      "COATypeId": 1,
      "COAId": 1,
      "COATypeName": "sample string 1",
      "COACode": "sample string 2",
      "COAName": "sample string 3",
      "COADesc": "sample string 4",
      "Detail": [
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
        },
        {
          "ReforecastHistoryId": 1,
          "ReforecastDetailHistoryId": 1,
          "BudgetSubmissionDetailId": 1,
          "ReforecastDetailPrevId": 1,
          "ReforecastPlanDetailPrevId": 1,
          "COATypeId": 1,
          "COAId": 1,
          "DepartmentTCodeId": 1,
          "CurrencyId": 1,
          "TotalMonth": 64,
          "COATypeName": "sample string 1",
          "COACode": "sample string 2",
          "COAName": "sample string 3",
          "COADesc": "sample string 4",
          "DetailItem": "sample string 5",
          "DepartementNodeName": "sample string 6",
          "Project": "sample string 7",
          "CurrencyName": "sample string 8",
          "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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.