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": "d9be7a77-c7a6-4022-b75d-43ba961a2bf5", "Created": "2024-12-13T18:57:26.5133208+00:00", "Modified": "2024-12-13T18:57:26.5133208+00:00", "Editor": "116cb16f-d621-4a61-b91d-cca0dc2a3534", "PlannerTypeId": "d6a02d0c-a74c-4680-8c9b-4a4e1bd0bb14", "ParentPlanId": "a83cdc68-d356-47e2-ad08-626033c74b38", "PortfolioParentId": "4686ef61-7184-4fd1-b94d-270a6a39d7cd", "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": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ], "LastComment": "2024-12-13T18:57:26.5133208+00:00", "Integrations": [ { "IntegrationId": "ba795f5f-280b-4092-b146-16994b70608c", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "70c806f0-bb86-4784-b3b5-128b2a64808f", "LastExport": "2024-12-13T18:57:26.5133208+00:00", "LastImport": "2024-12-13T18:57:26.5133208+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } }, { "IntegrationId": "ba795f5f-280b-4092-b146-16994b70608c", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "70c806f0-bb86-4784-b3b5-128b2a64808f", "LastExport": "2024-12-13T18:57:26.5133208+00:00", "LastImport": "2024-12-13T18:57:26.5133208+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } } ], "Snapshots": [ { "Date": "2024-12-13T18:57:26.5133208+00:00", "StatusReportId": "f59b501b-d6e4-4b27-b4d4-e430e92f5e6c", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "Date": "2024-12-13T18:57:26.5133208+00:00", "StatusReportId": "f59b501b-d6e4-4b27-b4d4-e430e92f5e6c", "Fields": { "sample string 1": {}, "sample string 3": {} } } ], "SubPlans": [ "25741357-085c-4d12-bddd-f4ac928727bf", "ee656e1e-c001-4320-af1f-624079d1973e" ], "PlanNumber": "sample string 14", "RateTables": [ { "Id": "e99de106-b4e0-48f4-8df6-38af079608c3", "Name": "sample string 2", "Multipliers": [ { "Start": "2024-12-13T18:57:26.5133208+00:00", "End": "2024-12-13T18:57:26.5133208+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2024-12-13T18:57:26.5133208+00:00", "End": "2024-12-13T18:57:26.5133208+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "c11a6bc8-5838-4674-9bff-c06dbfad8a1d", "BaseRate": 2.0 }, { "ResourceId": "c11a6bc8-5838-4674-9bff-c06dbfad8a1d", "BaseRate": 2.0 } ] }, { "Id": "e99de106-b4e0-48f4-8df6-38af079608c3", "Name": "sample string 2", "Multipliers": [ { "Start": "2024-12-13T18:57:26.5133208+00:00", "End": "2024-12-13T18:57:26.5133208+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2024-12-13T18:57:26.5133208+00:00", "End": "2024-12-13T18:57:26.5133208+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "c11a6bc8-5838-4674-9bff-c06dbfad8a1d", "BaseRate": 2.0 }, { "ResourceId": "c11a6bc8-5838-4674-9bff-c06dbfad8a1d", "BaseRate": 2.0 } ] } ], "Splits": [ { "Field": "sample string 1", "Value": "cd6dfe3e-1140-445e-952b-5c09eae54c99", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } }, { "Field": "sample string 1", "Value": "cd6dfe3e-1140-445e-952b-5c09eae54c99", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } } ], "LockInfo": { "LockedSid": "d83c6683-b69f-4bca-bf04-dbc018db3f0e", "LockedBy": "03bdd07e-2ef7-4c0f-a744-cde9de997245", "LockedDate": "2024-12-13T18:57:26.5133208+00:00" }, "LastLocation": "sample string 15", "StageGateFlow": { "Id": "93a9be66-c987-44b3-a1eb-d7245c8eaf93", "CurrentGateId": "dd99f657-b2da-4b76-8186-ce53fdd280c0", "EnteredGate": "2024-12-13T18:57:26.5133208+00:00", "ExitedGate": "2024-12-13T18:57:26.5133208+00:00", "GateClosed": true, "StepStarter": "c9ec6ed9-bcb6-42fd-b72b-3729dbb9a1a1", "StepApprover": "eb11a1ec-ce61-4c9b-891c-b685ace5aae7", "ApprovalState": 0, "StepState": 0, "Comments": "sample string 8", "Approvals": [ { "StepId": "83d315ae-01df-4fad-a08e-f00edcf096d2", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "70d3fdf3-02e0-4015-9ecf-7a572465b91e": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] }, "180e233a-97d7-47a0-9c72-7532964e01a6": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] } } }, { "StepId": "83d315ae-01df-4fad-a08e-f00edcf096d2", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "70d3fdf3-02e0-4015-9ecf-7a572465b91e": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] }, "180e233a-97d7-47a0-9c72-7532964e01a6": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] } } } ], "ApprovalsLog": [ { "StepId": "83d315ae-01df-4fad-a08e-f00edcf096d2", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "70d3fdf3-02e0-4015-9ecf-7a572465b91e": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] }, "180e233a-97d7-47a0-9c72-7532964e01a6": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] } } }, { "StepId": "83d315ae-01df-4fad-a08e-f00edcf096d2", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "70d3fdf3-02e0-4015-9ecf-7a572465b91e": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] }, "180e233a-97d7-47a0-9c72-7532964e01a6": { "TaskId": "4a9e273f-cc5d-4248-8cee-2dbc105a0d02", "Status": 0, "Comments": [ { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] }, { "Id": "ed45ecb7-24e6-4fd1-bd54-b36eb09a139d", "UPN": "d73e45cd-64d3-44cf-bf7d-cd66f37adcd8", "PostDate": "2024-12-13T18:57:26.5133208+00:00", "Comment": "sample string 4", "CC": [ "2a7af08b-a185-4c73-88c9-5810656d532c", "25775887-66bd-4216-9266-f9fea7ef29dd" ], "Users": [ "9cf8a0e4-f46b-4afc-82c4-126c9c9ba3c9", "435dc9dd-b0a7-496b-a310-6fd55937a56c" ] } ] } } } ], "RulesRejected": [ { "Id": "18b3cf14-5b67-45a6-b26c-88e49c4cb7a3", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" }, { "Id": "18b3cf14-5b67-45a6-b26c-88e49c4cb7a3", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" } ], "ApprovalRejectionOrFailReason": "sample string 9" }, "id": "a1fb330a-d73e-4be5-8f6e-92fd5160d5c7", "ConfigId": "c5503a9c-3bbb-4dfd-9a7f-53b856b94b95" }