DELETE /ws/rest/service/v1/fund/{project_number}
Purpose:
Deletes Fund codes
Input:
All parameters should be URL encoded.
Path Parameter
project_number: Specify the project/shell number in which fund ids exists. If no value is specified then the fund ids will be deleted from company.
Path Parameter
Both input & output in JSON format in the body
Delete Fund
{
"data":{
"codes": ["Fund9","Fund5","Fund6"]
}
}
Output:
JSON object containing 'status', 'data', 'message'
Status codes are:
1> 200 OK , if all creation succeeds .
2> 3000 , If any of records creation fail.
For Partial failure, relevant message will be displayed to the fund code.
Delete Fund
{
"data": {
},
"message": [
{ code: "Fund5","status": "1206","message":"Fund Code is referenced in lineitems"},
{ code: ""Fund6"","status": "200","message":"success"} ,
{ code: "Fund9","status": "1201","message":"Fund Code do not exist"}
],
"status": 3000
}