Delete Distribution Profiles

DELETE /ws/rest/service/v1/cashflow/profile

Purpose

Delete distribution profiles of company

Request Format

Both input & output in JSON format in the body

Response Format

A JSON object is returned in the following format.

{

"data": [],

"message": [],

"status": <REST status code value>

}

A successful response displays a status code 200.

A failed response displays a message with a status code.

Sample Request

This is an example of a request to delete the following distributions profiles.

{

"data": {

"names": ["Linear", "L Curve", "S Curve"]

}

}

Sample Success Response

This is an example of a partially successful response with status codes 200, 1337, and 1338 for the respective distribution profiles.

{

"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

}