Update Fund Assignment Order

PUT /ws/rest/service/v1/fund/order/{project_number}

Purpose

Fund ordering to be used for fund assignment when auto order rule is specified for the business process. this API will allow user to change the fund order in the project/shell funding sheet.

Request Format

All parameters should be URL encoded. POST body (JSON)

Path Parameter

project_number: Specify the project/shell number of the funding sheet.

The data object will contain all the fund codes listed in order.

Sample Request

{

"data": [{"code_order": ["1001", "1002", "1003"]}]

}

Response Format

A JSON object is returned in the following format.

{

"data": [],

"message": [],

"status": <REST status code value>

}

A successful response displays a status code 200.

A failed response displays a message with a status code.

If update for one code fails, all the changes will be rolled back.

Sample Success Response

{

"data": [{"code_order": ["1001", "1002", "1003"]}],

"message": ["success"],

"status": 200

}

Validation Messages and Status Codes

Status Message Condition
200 success If all the data is retrieved in the response