Get Cash Flow Permissions
GET /ws/rest/service/v1/cashflow/permission/{project_number}
Purpose:
Fetch Cash flow Permissions
The input JSON shall provide various options to be considered for fetching cash flow permissions.
POST body is a JSON
Note: POST call has input & output both as JSON in the body
input query parameter
filter =
{
"names" : [ "cash flow 1", "cash flow 2" ]
}
Input:
All parameters should be URL encoded.
project_number: Specify the Project number in which the cash flow exists. If not provided, Company workspace will be considered.
In request, "names" is optional.
In the request body names can be provided in below two formats
1. "names": ["cash flow 1", "cash flow 2", "cash flow 3"] For one or more cash flows.
2. "names": "cash flow 1" For only one cash flow.
Output:
JSON object containing 'status', 'data', 'message'
message will be present if status is not 200 otherwise it will be "success".
Get Cash flow Permission Sample Response
{
"data": {
"cash flow 1": {
"permissions": [
{
"login_name": "coadmin",
"full_name": "Company Administrator",
"permission": {
"edit_data": "1",
"view": "1",
"modify_permission": "0"
},
"type": "U"
},
{
"full_name": "Company Group 1",
"group_name": "Company Group 1",
"permission": {
"edit_data": "1",
"view": "1",
"modify_permission": "1"
},
"type": "CG"
}
]
},
"Cash flow 2": {
"permissions": [
{
"login_name": "firstname",
"full_name": "Firstname Lastname",
"permission": {
"edit_data": "1",
"view": "1",
"modify_permission": "1"
},
"type": "U"
}
]
}
},
"message": [
"success"
],
"status": 200
}
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