Copy Activity
post
/activity/copyActivity
This operation copies the activity to a project or a WBS. The WBS can be in the current project or in a different project. If both the project ObjectId and the WBS ObjectId are specified, the WBS ObjectId will take precedence.
Request
Header Parameters
-
Authorization: string
OAuth token
Supported Media Types
- application/json
Root Schema : CopyActivity
Type:
object
Title:
CopyActivity
CopyActivity Entity
Show Source
-
CopyActivityCodes: boolean
Specifies whether ActivityCodes are to be copied into the new project.
-
CopyActivityExpenses: boolean
Specifies whether ActivityExpenses are to be copied into the new project.
-
CopyActivityNotes: boolean
Specifies whether ActivityNotes are to be copied into the new project.
-
CopyActivitySecureCodes: boolean
Specifies whether ActivitySecureCodes are to be copied into the new project.
-
CopyActivitySteps: boolean
Specifies whether ActivitySteps are to be copied into the new project.
-
CopyAssignmentCodes: boolean
Specifies whether AssignmentCodes are to be copied into the new project.
-
CopyAssignmentSecureCodes: boolean
Specifies whether AssignmentSecureCodes are to be copied into the new project.
-
CopyPastPeriodActuals: boolean
Specifies whether PastPeriodActuals are to be copied into the new project.
-
CopyProjectDocuments: boolean
Specifies whether ProjectDocuments are to be copied into the new project.
-
CopyRelationships: boolean
Specifies whether Relationships are to be copied into the new project.
-
CopyResourceAndRoleAssignments: boolean
Specifies whether ResourceAndRoleAssignments are to be copied into the new project.
-
ObjectId: integer
(int32)
The unique identifier of the activity you want to copy.
-
TargetActivityId: string
The unique identifier of the target activity
-
TargetProjectObjectId: integer
(int32)
The unique identifier of the project where you want to copy.
-
TargetWBSObjectId: integer
(int32)
The unique identifier of the WBS where you want to copy.
Response
Supported Media Types
- application/json
201 Response
Activity Created.
Root Schema : CopyActivityResponse
Type:
object
Title:
CopyActivityResponse
CopyActivityResponse Entity
Show Source
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.