Get Distribution Profiles

GET /ws/rest/service/v1/cashflow/profile

Purpose

Get Distribution profiles of company

Request Format

All parameters must be URL encoded.

Path Parameter

URL parameter (Optional)

filter= {"names":["Linear" , "L Curve"]}

Filter can be used to filter on profile name to get the distribution profile data. If profile does not exist with the given name, that name will be ignored. Profiles of other names will be returned.

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 Response

{

"data": [

{

"name": "Linear",

"status": "Active",

"distribution": [

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0",

"5.0"

]

}

],

"message": ["success"],

"status": 200

}