Update Fund Status
PUT /ws/rest/service/v1/fund/status/{project_number}
Purpose:
API will allow user to change the fund status in the project/shell funding sheet.
Input:
All parameters should be URL encoded.
Path Parameter
project_number(Optional): Specify the project/shell number of the funding sheet. If not specified,will update company fund codes.
POST body (JSON)
The data object will have fund ids and the status to be updated to. It will take the id as the key and the status as value.
Sample input request
{
"data": [
{"code":"1001","status":"Active"},
{"code":"1002","status":"Open"},
{"code":"1003","status":"Inactive"}
]
}
Output:
JSON object containing 'status', 'data', 'message'
Update Status
{
"data": [
{
"code": "1003",
"status": "Inactive"
}
],
"message": [
{
"code": "1001",
"message": "Fund Code do not exist.",
"status": "1203"
},
{
"code": "1002",
"message": "Status field value is not correct.",
"status": "663"
},
{
"code": "1003",
"message": "success",
"status": "200"
}
],
"status": 3000
}
Partial update is allowed.
Related Topics
Get Fund Assignment Order for Cost Sheet
Update Fund Assignment Order for Cost Sheet
Get Fund Consumption for CBS Level SOV (Auto-Order / Auto-Ratio)
Update Fund Consumption for CBS Level SOV (Auto-Order / Auto-Ratio)
Response Error Codes (Funding REST API Details)
Last Published Friday, December 13, 2024