PUT /ws/rest/service/v1/fund/
Purpose:
Update company fund code attributes.
Input:
All parameters should be URL encoded.
POST body is a JSON. Data will be list of fund code attributes to be updated at company level
Note: POST call has input & output both as JSON in the body.
Update Fund
{"data":[{
"code":"MiscFund",
"category":"Grants",
"description":"Miscellaneous Fund"
}
]
}
Code , Name ,Id, Status and orderid cannot be updated. If provided, they will be ignored.
Output:
JSON object containing 'status', 'data', 'message'
A message will be present if the status is not 200 otherwise it will be "success".
Update Fund
{
"data": [
{
"id":4,
"code":MiscFund,
"name":"MiscFund",
"category":"Grants",
"description":"MiscellaenousFund",
"status":"active"
}
],
"message":
[
{ code: "MiscFund","status": "200","message":"success"}
],
"status": 200
}
Multiple fund codes can be updated in a single request.