GET /ws/rest/service/v1/cashflow/profile
Purpose:
Get Distribution profiles of company
Input:
All parameters should 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 then that name will be ignored. Profiles of other names will be returned.
Output:
JSON object containing 'status', 'data', 'message'
Get Distribution Profile Output JSON
{
"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
}
Status codes are:
1> 200 , for success