Create Summary Curve
POST /ws/rest/service/v1/cashflow/summary/{project_number}
Purpose:
Create Cashflow summary curves.
Input:
All parameters should be URL encoded.
Path Parameter
project_number(Required): Specify the project/shell number.
Note: POST call has input & output both as JSON in the body
In the input request:
"name"(Required).
"status" (Optional): If not specified then the summary curve will be active.
"description" (Optional): If no value is specified then the summary curve will be created with no description.
"curves" (Optional): List of cash flow curve names, which has to be part of the summary curve. If no value is specified then the summary curve will be created without any cash flow curve.
Output:
JSON object containing 'status', 'data', 'message'
The data will contain the name and the id of the summary curve which was created successfully. The message will contain the status of the curve creation for all the input data.
Sample input request
{
"data":[
{
"name":"summary curve 1",
"status":"active",
"description":"This summary curve is created from REST API",
"curves":[
"CF For buildings",
"Curve 1"
]
},
{
"name":"summary curve 2",
"status":"active",
"description":"This summary curve is created from REST API",
"curves":[
"Manual curve 0120",
"cashflow for bridge 20"
]
}
]
}
Sample output request
{
"data":[
{
"name":"summary curve 1",
"id":31
}
],
"message":[
{
"name":"summary curve 1",
"status":"200",
"message":"success"
},
{
"name":"summary curve 2",
"status":"1308",
"message":"Summary name already exists"
}
],
"status":3000
}
Related Topics
Response Error Codes (REST API Details in Cash Flow)
Create Rollup Cash Flows for Program or Company
Update Rollup Cash Flows for Program or 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
Update or Modify Cash Flow Permission
Create (Add User or Group) Cash Flow Permission
Delete (Remove User or Group) Cash Flow Permission
Last Published Friday, December 13, 2024