PUT /ws/rest/service/v1/cashflow/rollup/{program_number}
Purpose:
Update Rollup Cashflows.
Input:
All parameters should be URL encoded.
Path Parameter
program_number(Optional): Specify the program number to update rollup cashflows of program otherwise to update rollup cashflows of company
Both input & output in JSON format in the body
In the input request:
"id" is a required field
Output:
JSON object containing 'status', 'data', 'message'
The data will contain the name and the id of the rollup curve which was created successfully. The message will contain the status of the curve creation for all the input data.
Status codes are:
1> 200 , for success
2> 3000, for Partial success.
Update Rollup Cashflows Input JSON
{
"data": [
{
"name": "Rollup Curve 1",
"status": "Active",
"period_type": "Standard Planning Period",
"period_name": "Standard Planning Period",
"period_by": "Month",
"period_format": "M YYYY",
"decimal_places": 3
},
{
"name": "Rollup Curve 2",
"status": "Active",
"period_type": "Financial Periods",
"period_name": "FP1",
"decimal_places": 5,
"data_source": [
{
"name": "Baseline"
},
{
"name": "Vendor Approved Budget",
"action": "delete"
}
]
}
]
}
Update Rollup Cashflows Output JSON
{
"data":[
{
"id": "208"
"name": "Rollup Curve 1",
"status": "Active",
"period_type": "Standard Planning Period",
"period_name": "Standard Planning Period",
"period_by": "Month",
"period_format": "M YYYY",
"decimal_places": 3,
"data_source": [
{
"name": "Baseline",
"curve_type": "Baseline"
},
{
"name": "Vendor Approved Budget",
"curve_type": "Baseline"
}
]
},
{
"id": 198,
"name": "Rollup Curve 2",
"description": "description",
"status": "Active",
"period_type": "Financial Periods",
"period_name": "FP1",
"period_by": "Custom",
"decimal_places": 5,
"data_source": [
{
"name": "Baseline",
"curve_type": "Baseline"
}
]
}
],
"message":[
{
"name":"Rollup Curve 1",
"status":"200",
"message":"success"
},
{
"name":"Rollup Curve 2",
"status": "200",
"message": "success"
}
],
"status":200
}