POST /ws/rest/service/v1/cost/cbs/list/{project_number}
Purpose:
Get list of CBS codes for a project number specified.
The input JSON includes options for fetching the data
Input:
All parameters should be URL encoded.
Path Parameter
project_num: Specify the Project number in which the records exists, Project number is mandatory
POST body is a JSON
Note: POST call has input & output both as JSON in the body
{
"options":
{
"cost_type":"Capital",
"summary_detail":"true",
"status":"active"
"hierarchy":true
}
}
All the options specified are optional.
If hierarchy is not specified, default value is false. Complete hierarchy of the cbs code will be displayed if the value is true.
Output:
JSON object containing 'status', 'data', 'message'
message will be present if status is not 200 otherwise it will be "success".
Note: Cost code attributes defined will be sent in JSON output response.