DELETE /ws/rest/service/v1/cashflow/profile
Purpose:
Delete distribution profiles of company
Input:
Both input & output in JSON format in the body
Delete Distribution Profile input JSON
{
"data": {
"names": ["Linear", "L Curve", "S Curve"]
}
}
Output:
JSON object containing 'status', 'data', 'message'
Delete Distribution Profile Output JSON
{
"data": [],
"message": [
{
"name": "Linear"
"status": 200,
"message": "success"
},
{
"name": "L Curve"
"status": 1337,
"message": "Distribution Profile do not exist"
},
{
"name": "S Curve"
"status": 1338,
"message": "Distribution Profile is used in Cashflow Curves"
}
],
"status": 3000
}
Status codes are:
1> 200 , for success
2> 3000, for Partial success.