POST api/workplan/{id}/updatefragment
Save workplan as fragment
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
FragmentInfoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
Category | string |
None. |
|
WorkTypes | string |
None. |
|
Personal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "Category": "sample string 3", "WorkTypes": "sample string 4", "Personal": true }
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": "38c342cd-d96d-42df-9b18-05ecec2759db", "Created": "2025-04-04T02:34:33.8386156+00:00", "Modified": "2025-04-04T02:34:33.8386156+00:00", "Editor": "e6fe0111-d514-4197-8a82-bd307353931d", "PlannerTypeId": "b71072c9-c316-45e6-90dc-622665db3e11", "ParentPlanId": "1c56aa28-1d40-4a3c-bd4e-c92605942eca", "PortfolioParentId": "3b23cc40-0017-4e99-be29-c2eaf57b95ec", "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": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ], "LastComment": "2025-04-04T02:34:33.8386156+00:00", "Integrations": [ { "IntegrationId": "9a4f92b7-4520-4b88-a35e-2cb5bce88473", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "499207d4-2199-4e73-9f7d-01967f32817a", "LastExport": "2025-04-04T02:34:33.8386156+00:00", "LastImport": "2025-04-04T02:34:33.8386156+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } }, { "IntegrationId": "9a4f92b7-4520-4b88-a35e-2cb5bce88473", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "499207d4-2199-4e73-9f7d-01967f32817a", "LastExport": "2025-04-04T02:34:33.8386156+00:00", "LastImport": "2025-04-04T02:34:33.8386156+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } } ], "Snapshots": [ { "Date": "2025-04-04T02:34:33.8386156+00:00", "StatusReportId": "f5da7a7a-455c-4a17-9583-5a1b6b147b69", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "Date": "2025-04-04T02:34:33.8386156+00:00", "StatusReportId": "f5da7a7a-455c-4a17-9583-5a1b6b147b69", "Fields": { "sample string 1": {}, "sample string 3": {} } } ], "SubPlans": [ "54a2201a-5ca9-4b2b-b187-41310c785f31", "071a67ee-392e-482b-ba9d-d8e7a1bd0fec" ], "PlanNumber": "sample string 14", "RateTables": [ { "Id": "b7d2e802-6cbb-4b13-96a7-23359a69c2bc", "Name": "sample string 2", "Multipliers": [ { "Start": "2025-04-04T02:34:33.8386156+00:00", "End": "2025-04-04T02:34:33.8386156+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2025-04-04T02:34:33.8386156+00:00", "End": "2025-04-04T02:34:33.8386156+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "0a2880a4-cead-4fd3-8372-0981487edb53", "BaseRate": 2.0 }, { "ResourceId": "0a2880a4-cead-4fd3-8372-0981487edb53", "BaseRate": 2.0 } ] }, { "Id": "b7d2e802-6cbb-4b13-96a7-23359a69c2bc", "Name": "sample string 2", "Multipliers": [ { "Start": "2025-04-04T02:34:33.8386156+00:00", "End": "2025-04-04T02:34:33.8386156+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2025-04-04T02:34:33.8386156+00:00", "End": "2025-04-04T02:34:33.8386156+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "0a2880a4-cead-4fd3-8372-0981487edb53", "BaseRate": 2.0 }, { "ResourceId": "0a2880a4-cead-4fd3-8372-0981487edb53", "BaseRate": 2.0 } ] } ], "Splits": [ { "Field": "sample string 1", "Value": "8fd0673a-10bb-4f86-afb6-9848e3a27759", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } }, { "Field": "sample string 1", "Value": "8fd0673a-10bb-4f86-afb6-9848e3a27759", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } } ], "LockInfo": { "LockedSid": "d08928b4-b8e6-483f-a990-49ea2805ef07", "LockedBy": "42a10afd-c3ea-431f-832f-a89f9bcbd1e8", "LockedDate": "2025-04-04T02:34:33.8386156+00:00" }, "LastLocation": "sample string 15", "StageGateFlow": { "Id": "1890231c-1f26-44ed-b7ed-aa715d79b5d8", "CurrentGateId": "7b9fcf61-d076-4293-a599-dc1f882827e4", "EnteredGate": "2025-04-04T02:34:33.8386156+00:00", "ExitedGate": "2025-04-04T02:34:33.8386156+00:00", "GateClosed": true, "StepStarter": "2e073b4f-83b4-4d02-958a-33f02e101e0c", "StepApprover": "d826b935-e87e-4563-8b5c-9b4853c1133b", "ApprovalState": 0, "StepState": 0, "Comments": "sample string 8", "Approvals": [ { "StepId": "089098ac-9e11-48e1-ae59-6508ee67fc61", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "42054b4c-6894-49aa-a6ff-97d42334f4ef": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] }, "372f3d28-609b-4337-9b35-900e28e9f149": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] } } }, { "StepId": "089098ac-9e11-48e1-ae59-6508ee67fc61", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "42054b4c-6894-49aa-a6ff-97d42334f4ef": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] }, "372f3d28-609b-4337-9b35-900e28e9f149": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] } } } ], "ApprovalsLog": [ { "StepId": "089098ac-9e11-48e1-ae59-6508ee67fc61", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "42054b4c-6894-49aa-a6ff-97d42334f4ef": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] }, "372f3d28-609b-4337-9b35-900e28e9f149": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] } } }, { "StepId": "089098ac-9e11-48e1-ae59-6508ee67fc61", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "42054b4c-6894-49aa-a6ff-97d42334f4ef": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] }, "372f3d28-609b-4337-9b35-900e28e9f149": { "TaskId": "ab6b1856-bedf-438f-a235-08617abda9d9", "Status": 0, "Comments": [ { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] }, { "Id": "9b970bd9-3ede-40c7-a672-2fc08c9362f0", "UPN": "f2c10493-6458-4b11-98e3-6ce8c1f33848", "PostDate": "2025-04-04T02:34:33.8386156+00:00", "Comment": "sample string 4", "CC": [ "b4ecc6e3-2e23-46a3-8fb9-cc896c0c24b9", "aac5cb3c-37ad-4791-9361-96b979a04a55" ], "Users": [ "926db461-c5a5-4997-a333-6935aacd299a", "5def6cfb-8383-4d55-8d76-6ef6bae2b7de" ] } ] } } } ], "RulesRejected": [ { "Id": "f82cc394-5cca-407a-9f4a-79f5c602cfc8", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" }, { "Id": "f82cc394-5cca-407a-9f4a-79f5c602cfc8", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" } ], "ApprovalRejectionOrFailReason": "sample string 9" }, "id": "947cf5bb-b6db-451e-9980-fa14b0bd9e09", "ConfigId": "ae411f99-aa88-4106-be96-d6f398c301e5" }