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.

Path Parameter

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

Both input & output in JSON format in the body

In the input request: "code" is 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

}



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022