POST api/workplan/{Id}/changetype?PlanType={PlanType}&NewParentId={NewParentId}
Change the type of a plan.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
Required |
|
PlanType | globally unique identifier |
Required |
|
NewParentId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkPlanName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Archived | boolean |
None. |
|
Author | globally unique identifier |
None. |
|
Created | date |
None. |
|
Modified | date |
None. |
|
Editor | globally unique identifier |
None. |
|
PlannerTypeId | globally unique identifier |
None. |
|
ParentPlanId | globally unique identifier |
None. |
|
PortfolioParentId | globally unique identifier |
None. |
|
PortfolioOrder | integer |
None. |
|
UserList | Collection of UserAccess |
None. |
|
InheritUserList | Collection of UserAccess |
None. |
|
TeamList | Collection of TeamAccess |
None. |
|
InheritTeamList | Collection of TeamAccess |
None. |
|
Fields | Dictionary of string [key] and Object [value] |
None. |
|
SummaryFields | Dictionary of string [key] and Object [value] |
None. |
|
Folder | boolean |
None. |
|
Fragment | boolean |
None. |
|
FragmentInfo | FragmentInfo |
None. |
|
Hidden | boolean |
None. |
|
Comments | Collection of TaskComment |
None. |
|
LastComment | date |
None. |
|
Integrations | Collection of IntegratedSystem |
None. |
|
Snapshots | Collection of FieldSnapshot |
None. |
|
SubPlans | Collection of globally unique identifier |
None. |
|
PlanNumber | string |
None. |
|
RateTables | Collection of PlanRateTable |
None. |
|
Splits | Collection of LookupSplit |
None. |
|
LockInfo | PlanLockInfo |
None. |
|
LastLocation | string |
None. |
|
StageGateFlow | StageGateFlow |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Archived": true, "Author": "b6cf3a64-0e75-4597-b40b-d814d4684883", "Created": "2025-09-04T03:08:07.4823706+00:00", "Modified": "2025-09-04T03:08:07.4823706+00:00", "Editor": "63e3b281-6f1a-4471-9fca-874b8b868892", "PlannerTypeId": "2d8cd726-1c82-4122-aa42-d25820c7e1c3", "ParentPlanId": "330673ef-27b9-49ed-916e-e0c882f09fed", "PortfolioParentId": "8fde9436-51b8-4755-8456-6ff6ded5b93a", "PortfolioOrder": 9, "UserList": [ {}, {} ], "InheritUserList": [ {}, {} ], "TeamList": [ {}, {} ], "InheritTeamList": [ {}, {} ], "Fields": { "sample string 1": {}, "sample string 3": {} }, "SummaryFields": { "sample string 1": {}, "sample string 3": {} }, "Folder": true, "Fragment": true, "FragmentInfo": { "Name": "sample string 1", "Description": "sample string 2", "Category": "sample string 3", "WorkTypes": "sample string 4", "Personal": true }, "Hidden": true, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ], "LastComment": "2025-09-04T03:08:07.4823706+00:00", "Integrations": [ { "IntegrationId": "92460fcf-7c2c-4507-9fc4-b30de765188e", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "0b01ba17-1a98-4bd6-9956-20fdcf6cffbf", "LastExport": "2025-09-04T03:08:07.4823706+00:00", "LastImport": "2025-09-04T03:08:07.4823706+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } }, { "IntegrationId": "92460fcf-7c2c-4507-9fc4-b30de765188e", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "0b01ba17-1a98-4bd6-9956-20fdcf6cffbf", "LastExport": "2025-09-04T03:08:07.4823706+00:00", "LastImport": "2025-09-04T03:08:07.4823706+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } } ], "Snapshots": [ { "Date": "2025-09-04T03:08:07.4823706+00:00", "StatusReportId": "474a3aa3-5250-472f-af9d-eeacb6d552ed", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "Date": "2025-09-04T03:08:07.4823706+00:00", "StatusReportId": "474a3aa3-5250-472f-af9d-eeacb6d552ed", "Fields": { "sample string 1": {}, "sample string 3": {} } } ], "SubPlans": [ "35da31ca-5ae9-498d-88c4-23aed6c0aba4", "70a1346a-3a31-4cb4-a417-78f4e94c894a" ], "PlanNumber": "sample string 14", "RateTables": [ { "Id": "b44082f5-f5d3-49b9-8c54-bf9b1abcd946", "Name": "sample string 2", "Multipliers": [ { "Start": "2025-09-04T03:08:07.4823706+00:00", "End": "2025-09-04T03:08:07.4823706+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2025-09-04T03:08:07.4823706+00:00", "End": "2025-09-04T03:08:07.4823706+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "329c7bf0-5c5e-497e-bfe5-cca1d61f4e25", "BaseRate": 2.0 }, { "ResourceId": "329c7bf0-5c5e-497e-bfe5-cca1d61f4e25", "BaseRate": 2.0 } ] }, { "Id": "b44082f5-f5d3-49b9-8c54-bf9b1abcd946", "Name": "sample string 2", "Multipliers": [ { "Start": "2025-09-04T03:08:07.4823706+00:00", "End": "2025-09-04T03:08:07.4823706+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2025-09-04T03:08:07.4823706+00:00", "End": "2025-09-04T03:08:07.4823706+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "329c7bf0-5c5e-497e-bfe5-cca1d61f4e25", "BaseRate": 2.0 }, { "ResourceId": "329c7bf0-5c5e-497e-bfe5-cca1d61f4e25", "BaseRate": 2.0 } ] } ], "Splits": [ { "Field": "sample string 1", "Value": "54a5750a-232a-421a-9f69-04c0f97bf1a6", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } }, { "Field": "sample string 1", "Value": "54a5750a-232a-421a-9f69-04c0f97bf1a6", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } } ], "LockInfo": { "LockedSid": "680d69c6-8c16-4b9c-99fa-ed7f884b5302", "LockedBy": "8fea5c1d-1462-42b8-a439-4f9aa3b5b06d", "LockedDate": "2025-09-04T03:08:07.4823706+00:00" }, "LastLocation": "sample string 15", "StageGateFlow": { "Id": "d1044c61-959e-4faa-9871-882f43d12123", "CurrentGateId": "2e7b551d-8660-4991-a3f0-11d32f526b4d", "EnteredGate": "2025-09-04T03:08:07.4823706+00:00", "ExitedGate": "2025-09-04T03:08:07.4823706+00:00", "GateClosed": true, "StepStarter": "3f94180b-f865-4eb3-9d02-caf8cd79792c", "StepApprover": "f0aacb24-c065-4303-8ff8-49f47e014ab1", "ApprovalState": 0, "StepState": 0, "Comments": "sample string 8", "Approvals": [ { "StepId": "99b9e30d-48ee-47e0-a64a-8c543327d660", "AutoApproved": true, "Completed": true, "Expired": true, "ExpiredReason": "sample string 5", "ApprovalStates": { "a6c71033-e4fb-4693-b6de-6bbfdd54ed10": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] }, "a8d06483-2e16-428d-b4bc-44ffe6c52ac7": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] } } }, { "StepId": "99b9e30d-48ee-47e0-a64a-8c543327d660", "AutoApproved": true, "Completed": true, "Expired": true, "ExpiredReason": "sample string 5", "ApprovalStates": { "a6c71033-e4fb-4693-b6de-6bbfdd54ed10": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] }, "a8d06483-2e16-428d-b4bc-44ffe6c52ac7": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] } } } ], "ApprovalsLog": [ { "StepId": "99b9e30d-48ee-47e0-a64a-8c543327d660", "AutoApproved": true, "Completed": true, "Expired": true, "ExpiredReason": "sample string 5", "ApprovalStates": { "a6c71033-e4fb-4693-b6de-6bbfdd54ed10": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] }, "a8d06483-2e16-428d-b4bc-44ffe6c52ac7": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] } } }, { "StepId": "99b9e30d-48ee-47e0-a64a-8c543327d660", "AutoApproved": true, "Completed": true, "Expired": true, "ExpiredReason": "sample string 5", "ApprovalStates": { "a6c71033-e4fb-4693-b6de-6bbfdd54ed10": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] }, "a8d06483-2e16-428d-b4bc-44ffe6c52ac7": { "TaskId": "bc89109a-ed04-4780-850b-0182aacece86", "Status": 0, "Comments": [ { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] }, { "Id": "6171add9-70ea-423b-9b5c-df0137546de7", "UPN": "277e3432-3818-45d5-bf27-9dc293e1ea21", "PostDate": "2025-09-04T03:08:07.4823706+00:00", "Comment": "sample string 4", "CC": [ "163b3232-178c-4a37-8c69-ffa09cb6fa28", "995c05c5-d243-436b-ba20-f5d10055e2a8" ], "Users": [ "0039e1f2-b1ec-41db-863c-850e7a1a3151", "56c36188-cfac-4e68-bd54-b7318ecddc20" ] } ] } } } ], "RulesRejected": [ { "Id": "583c4a73-c63c-4c93-bf68-a8f284b9d889", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" }, { "Id": "583c4a73-c63c-4c93-bf68-a8f284b9d889", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" } ], "ApprovalRejectionOrFailReason": "sample string 9" }, "id": "e3ea5649-0a7a-48bb-b5aa-236b440be1f9", "ConfigId": "2d06f71c-b1f3-4803-8397-b1bee0cb3880" }