PUT /ws/rest/service/v1/cashflow/template/rollup/status/{template_number}
Purpose:
Update Rollup status of template cashflows
Input:
All parameters should be URL encoded.
Path Parameter
template_number(Optional): Specify the template number to update the rollup status of template cashflows otherwise to update the rollup status of standard template cashflows
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
}