Import a WBS from Project

post

/api/restapi/action/importWBS

Send a request to this endpoint to import a WBS from a project or project template.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityWBSImportInput
Type: object
Title: ApiEntityWBSImportInput
Show Source
  • copyOptions
    The list of objects to be copied from the source WBS to the target WBS.
    ACTIVITIES must be selected to copy other objects associated with the WBS. If ACTIVITIES is not selected, then only the WBS will be copied.
    TASKS must be selected to copy TASK_HANDOFFS. If TASKS and ACTIVITIES are not selected along with TASK_HANDOFFS, the TASK_HANDOFFS will not be copied.
    Allowed Values : [ "ACTIVITIES", "PROJECT_CODES", "WORKSPACE_CODES", "CONFIGURED_FIELDS", "RELATIONSHIPS", "ASSIGNMENTS", "TASKS", "TASK_HANDOFFS"].
  • sourceWBS
    The identifier for the source WBS.
  • targetWBS
    The identifier for the target WBS.
Nested Schema : copyOptions
Type: array
The list of objects to be copied from the source WBS to the target WBS.
ACTIVITIES must be selected to copy other objects associated with the WBS. If ACTIVITIES is not selected, then only the WBS will be copied.
TASKS must be selected to copy TASK_HANDOFFS. If TASKS and ACTIVITIES are not selected along with TASK_HANDOFFS, the TASK_HANDOFFS will not be copied.
Allowed Values : [ "ACTIVITIES", "PROJECT_CODES", "WORKSPACE_CODES", "CONFIGURED_FIELDS", "RELATIONSHIPS", "ASSIGNMENTS", "TASKS", "TASK_HANDOFFS"].
Show Source
Nested Schema : sourceWBS
The identifier for the source WBS.
Match All
Show Source
Nested Schema : targetWBS
The identifier for the target WBS.
Match All
Show Source
Nested Schema : ApiEntityWBSImportIdentifierInput
Type: object
Title: ApiEntityWBSImportIdentifierInput
Show Source
  • Maximum Length: 60
    The unique identifier for a project set by the user who created the project.
  • The unique identifier for the project.The project object can also be identified by its unique criteria.
  • Unique identifier of the WBS.
  • Maximum Length: 4000
    The complete path to the WBS. This is the hierarchy path from the Project Code to the WBS. It is based on the following pattern: <ProjectCode>.<WSBCode>.<WSBCode>...<WBSCode>. For example, for a project with code 'P1' having the WBS hierarchy as 'WBS1', 'WBS2', and 'WBS3', the wbsPath for 'WBS3' will be defined as 'P1.WBS1.WBS2.WBS3'.
  • Maximum Length: 60
    The user-specified identifier of a workspace.
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityWBSImportResponse
Type: object
Title: ApiEntityWBSImportResponse
Show Source

400 Response

Invalid input for the Action service.
Back to Top