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

Cash Flow

Authorization

Definitions or Values Used

Response Error Codes (REST API Details in Cash Flow)

Create Cash Flow

Create Summary Curve

Create Rollup Cash Flows for Company

Update Rollup Cash Flows for Company

Delete Cash Flow

Delete Cash Flow Curve

Delete Cash Flow - Summary Curves

Get Cash Flow Data

Get Summary Cash Flow Data

Get Rollup Status

Get Rollup Status - for Template Cash Flows

Update Rollup Status

Update Rollup Status - For Template Cash Flows

Refresh Cash Flow

Get Cash Flow Refresh Job Status

Get Cash Flow Properties

Get Summary Cash Flow Properties

Get Cash Flow Permissions

Get Distribution Profiles

Create (Add User or Group) Cash Flow Permission

Delete (Remove User or Group) Cash Flow Permission

Update Cash Flow Properties

Update or Modify Cash Flow Permission

Update Cash Flow Data

Update Cash Flow Schedule

Create Distribution Profiles

Delete Distribution Profiles

Refresh Cash Flow Curves

Get Cash Flow Permissions



Last Published Tuesday, July 1, 2025