DELETE /ws/rest/service/v1/cashflow/{project_number}
Purpose:
Delete detail/rollup cashflows
Input:
All parameters should be URL encoded.
Path Parameter
project_number(Optional): Specify the project/shell/program number to delete the cashflows of project otherwise to delete the company rollup curves
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.
Delete Cashflow Input JSON
{
"data": {
"names": ["Cash Flow 1","Cash Flow 2"]
}
}
Delete Cashflow Ouput JSON
{
"data": [],
"message": [
{
"status": 200,
"message": "success",
"name": "Cash Flow 1"
},
{
"status": 1305,
"message": "Cash Flow do not exist",
"name": "Cash Flow 2"
}
],
"status": 3000
}