PUT /ws/rest/service/v1/cashflow/rollup/status/{project_number}
Purpose:
Update Cashflow Rollup status
Input:
All parameters should be URL encoded.
Path Parameter
project_number(Required): Specify the project/shell number to update the rollup status of project cashflow
Both input & output in JSON format in the body
Output:
JSON object containing 'status', 'data', 'message'
Status codes are:
1> 200 , for success
2> 3000, for Partial success.
Update Rollup Status Input JSON
{
"data" : [
{"name": "Cash Flow 1", "rollup_status": "Inactive"},
{"name": "Cash Flow 2", "rollup_status": "Open"},
{"name": "Cash Flow 3", "rollup_status": "Active"}
]
}
Update Rollup Status Ouptut JSON
{
"data": [
{
"rollup_status": "Active",
"name": "Cash Flow 1",
"id": "61"
}
],
"message": [
{
"name": "Cash Flow 1",
"message": "success",
"status": 200
},
{
"name": "Cash Flow 2",
"message": "Status field value is not correct.",
"status": 663
},
{
"name": "Cash Flow 3",
"message": "Cash Flow do not exist",
"status": 1305
}
],
"status": 3000
}