Update Distribution Profiles

PUT /ws/rest/service/v1/cashflow/profile

Purpose:

Update the distribution profiles of company.

Input:

Both input & output in JSON format in the body.

Update Distribution Profile input JSON

{

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

]

}

]

}

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.

Output:

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

Update Distribution Profile ouput JSON

{

"data": [],

"message": [

{

"id" : 1,

"name": "S Curve new"

"status": 200,

"message": "success"

},

{

"id" : 2,

"name": "Front Loaded"

"status": 200,

"message": "success"

}

],

"status": 200

}

Status codes are:

1> 200 , for success

2> 3000, for Partial success.



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022