Create Distribution Profiles

POST /ws/rest/service/v1/cashflow/profile

Purpose:

Create distribution profiles of company

Input:

Both input & output in JSON format in the body.

Create Distribution Profile input JSON

{

"data": [

{

"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"

]

},

{

"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"

]

}

]

}

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. If the "distribution" is not provided, then the "distribution" with 20 elements, all of which with value 5, will be considered.

Output:

JSON object containing 'status', 'data', 'message'

Create Distribution Profile output JSON

{

"data": [

{

"id": 5,

"name": "S Curve new"

}

],

"message": [

{

"name": "S Curve new",

"status": 200,

"message": "success"

},

{

"name": "Front Loaded",

"status": 1337,

"message": "Distribution Profile already exist"

}

],

"status": 3000

}

Status codes are:

1> 200 , for success

2> 3000, for Partial success.

Related Topics

Cash Flow

Definitions or Values Used

Authorization

Response Error Codes (REST API Details in Cash Flow)

Create Cash Flow

Create Summary Curve

Create Rollup Cash Flows for Program or Company

Update Rollup Cash Flows for Program or Company

Delete Cash Flow

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

Update or Modify Cash Flow Permission

Create (Add User or Group) Cash Flow Permission

Delete (Remove User or Group) Cash Flow Permission

Update Cash Flow

Update Cash Flow Data

Get Distribution Profiles

Update Distribution Profiles

Delete Distribution Profiles

Refresh Cash Flow Curves

Get Cash Flow Permissions



Last Published Friday, December 13, 2024