Update Distribution Profiles
PUT /ws/rest/service/v1/cashflow/profile
Purpose
Update the distribution profiles of company.
Request Format
Both input & output in JSON format in the body.
Request Parameters
Supported values for "status" is "Active" or "Inactive".
The "distribution" must be a list of at least 20 elements, the sum of them all must be 100.
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 update two active distribution profiles.
{
"data": [
{
"id": 1,
"name": "S Curve new",
"status": "Active",
"distribution": [
"0.5",
"0.5",
"1.5",
"1.5",
"4.0",
"4.0",
"7.5",
"7.5",
"11.5",
"11.5",
"11.5",
"11.5",
"7.5",
"7.5",
"4.0",
"4.0",
"1.5",
"1.5",
"0.5",
"0.5"
]
},
{
"id": 2,
"name": "Front Loaded",
"status": "Active",
"distribution": [
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"6.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5",
"3.5"
]
}
]
}
Sample Response
This is an example of a successful response with status code 200.
{
"data": [],
"message": [
{
"id" : 1,
"name": "S Curve new"
"status": 200,
"message": "success"
},
{
"id" : 2,
"name": "Front Loaded"
"status": 200,
"message": "success"
}
],
"status": 200
}
Related Topics
Response Error Codes (REST API Details in Cash Flow)
Create Rollup Cash Flows for Company
Update Rollup Cash Flows for Company
Delete Cash Flow - Summary Curves
Get Rollup Status - for Template Cash Flows
Update Rollup Status - For Template Cash Flows
Get Cash Flow Refresh Job Status
Get Summary Cash Flow Properties
Create (Add User or Group) Cash Flow Permission
Delete (Remove User or Group) Cash Flow Permission
Update or Modify Cash Flow Permission
Last Published Tuesday, July 1, 2025