Get Fund Assignment Order for Cost Sheet

GET /ws/rest/service/v1/cost/fund/order/{project_number}

Purpose:

Get Fund Order

Input:

All parameters should be URL encoded.

Path Parameter

project_number(Required): Specify the project/shell number of the funding sheet

optional url parameter -

filter=

{

"cbs_codes":["code1" ,"code2"]

}

If cbs_codes in filter do not have fund assigned to them , then empty code_order List will return in response for those cbs_codes.

When filter is not provided then only those cbs_codes which have fund assigned to them , will return in response.

Output:

JSON object containing 'status', 'data', 'message'

Status

Message

Condition

200

success

If all the data is retrieved in the response

500

exception message

If there is any exception when running this service

1240

Request is valid for Shell or Project, not for Program.

If the GET request is called for Program

1207

Funding sheet do not exist.

If shell does not have funding Sheet

707

Cost sheet does not exist.

If shell does not have Cost Sheet

Get Fund Order

Without filter condition: response contains only those cbs_codes which have fund assigned.

{

"data": [{

"cbs_code": "cost_code_1",

"code_order": ["f1001", "f1002", "f1003"]

},

{

"cbs_code": "cost_code_2",

"code_order": ["f1002", "f1004", "f1003"]

}

],

"message": [

"success"

],

"status": 200

}

With filter condition: returns empty code_order List for "cost_code_3". It does not have fund assigned.

{

"data": [{

"cbs_code": "cost_code_1",

"code_order": ["f1001", "f1002", "f1003"]

},

{

"cbs_code": "cost_code_2",

"code_order": ["f1002", "f1004", "f1003"]

},

{

"cbs_code": "cost_code_3",

"code_order": []

}

],

"message": [

"success"

],

"status": 200

}



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022