Create WBS Code

POST /ws/rest/service/v2/wbs

Purpose: Create WBS Codes in a specific shell from a different system.

Note: If you are creating a WBS sheet/codes manually by using the REST service, do not include a period (".") in the name of the shell when you create the shell. Because the shell name becomes part of the WBS path and WBS does not currently accept periods, the shell name cannot contain periods.

Permissions:

The user must have the required WBS Sheet Services permissions under the Activity Manager.

Mandatory fields for this API include “source”, “project_number”, “sourceProjectId”, “wbsCode”, “wbsName”, “wbsPath”, and “sheetType”, while “removeUnreferencedData”, “ETCTechnique”, “PerformanceFactor”, “isETCApplicableToChild”, and “wbsStatus” are optional.

Input (Manual Sheet Type):

{

"options": {

"source": "Others",

"project_number": "P-0056", // Manual

"removeUnreferencedData":false,

"sheetType": "manual"

},

"data": [

{

"uuu_cmwbs_code": "A1083",

"uuu_cmwbs_name": "WBS1",

"uuu_P6WBSPath": "P-0056.A1083",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 5,

"isETCApplicableToChild" : true

},

{

"uuu_cmwbs_code": "A1084",

"uuu_cmwbs_name": "WBS2",

"uuu_P6WBSPath": "P-0056.A1083.A1084",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 5,

"isETCApplicableToChild" : true

}

]

}

Output (Manual Sheet Type):

{

"data": [

{

"id": 28852,

"uuu_cmwbs_code": "A1084",

"uuu_cmwbs_name": "WBS2",

"uuu_P6WBSPath": "P-0056.A1083.A1084",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 0.01

},

{

"id": 28851,

"uuu_cmwbs_code": "A1083",

"uuu_cmwbs_name": "WBS1",

"uuu_P6WBSPath": "P-0056.A1083",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 0.01

}

],

"message": [

"success"

],

"status": 200,

"rest_audit_id": 11870

}

Note: For the Manual Sheet Type, the source should always be “Others”.

Input (System Sheet Type):

{

"options": {

"source": "Primavera Cloud",

"sourceProjectId": "WBSSystem", // System

"project_number": "P-0056", // Manual

"removeUnreferencedData":false,

"sheetType": "System"

},

"data": [

{

"uuu_cmwbs_code": "A1083",

"uuu_cmwbs_name": "WBS1",

"uuu_P6WBSPath": "WBSSystem.A1083",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 5,

"isETCApplicableToChild" : true

},

{

"uuu_cmwbs_code": "A1084",

"uuu_cmwbs_name": "WBS2",

"uuu_P6WBSPath": "WBSSystem.A1083.A1084",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 5,

"isETCApplicableToChild" : true

}

]

}

Output (System Sheet Type):

{

"data": [

{

"id": 28852,

"uuu_cmwbs_code": "A1084",

"uuu_cmwbs_name": "WBS2",

"uuu_P6WBSPath": "WBSSystem.A1083.A1084",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 0.01

},

{

"id": 28851,

"uuu_cmwbs_code": "A1083",

"uuu_cmwbs_name": "WBS1",

"uuu_P6WBSPath": "WBSSystem.A1083",

"uuu_cmwbs_status": "Active",

"uuu_P6ETCComputeType": 4,

"uuu_P6ETCUserValue": 0.01

}

],

"message": [

"success"

],

"status": 200,

"rest_audit_id": 11868

}

Note: For the System Sheet Type, the source can be “Primavera Cloud” or “P6”.

Related Topics

WBS Sheet

Get External WBS Sheet Data



Last Published Tuesday, July 1, 2025