Create CBS Codes

POST /ws/rest/service/v1/cost/cbs/{project_number}

Purpose:

Create CBS Codes for the specified Project

Input:

All parameters should be URL encoded. Both the input & output are in JSON format, in the body.

Path Parameter

project_number: Specify the Project number. Project number is mandatory.

In the input request: "code" is a Required field.

Notes:

Create CBS code input JSON

{

"data": [

{

"code": "CostB~~Cost1",

"description": "Creating Cost Code using REST webservice",

"item": " Cost Item",

"uResProgressAmount": 10,

"status": "Active",

"cost_type": "Food"

},

{

"code": "Cost1",

"description": "Creating Cost Code using REST webservice",

"item": "Cost1 Item",

"uResProgressAmount": 10,

"status": "Active",

"cost_type": "Capital"

}

]

}

Output:

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

Create CBS Code output JSON

{

"data":[

{

"bitemid" : 24,

"code": "CostB",

"description": "Creating Cost Code using REST webservice",

"item": " Cost Item",

"uResProgressAmount": 10,

"status": "Active",

"cost_type": "Food",

"parentid": "23",

"orderid": "1",

"budgetid": "6",

},

{

"bitemid" : 25,

"code": "CostB~~Cost1",

"description": "Creating Cost Code using REST webservice",

"item": " Cost Item",

"uResProgressAmount": 10,

"status": "Active",

"cost_type": "Food",

"parentid": "24",

"orderid": "2",

"budgetid": "6",

},

{

"bitemid" : 26,

"code": "Cost1",

"description": "Creating Cost Code using REST webservice",

"item": " Cost1 Item",

"uResProgressAmount": 10,

"status": "Active",

"cost_type": "Capital",

"parentid": "1",

"orderid": "0",

"budgetid": "6",

}

],

"message":[

"success"

],

"status":200

}

Related Topics

Cost

Get CBS Codes

Update CBS Codes

Get Column Data

Update Column Data

Sort Cost Sheet



Last Published Friday, December 13, 2024