POST api/workplan
Add a plan
Request Information
URI Parameters
None.
Body Parameters
WorkPlanRequestName | Description | Type | Additional information |
---|---|---|---|
WorkPlan | WorkPlanReq |
None. |
Request Formats
application/json, text/json
Sample:
{ "WorkPlan": { "Name": "sample string 1", "Folder": true, "PlanType": "dfba35a5-6fb9-43fe-a3ce-bc9614bba0de", "PortfolioParentId": "c9f94cf1-ded0-4510-a1b4-5fa5ebe42e0f", "ParentPlanId": "5065625a-0443-4265-886d-7e8d82696417", "Owner": "2c95bdf5-b883-466a-8cef-51b0cf034188", "Fields": { "sample string 1": {}, "sample string 3": {} }, "SummaryFields": { "sample string 1": {}, "sample string 3": {} } } }
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": "08fd409d-10fb-463d-8550-dd400142e927", "Created": "2024-12-18T20:07:23.1995082+00:00", "Modified": "2024-12-18T20:07:23.1995082+00:00", "Editor": "da9bd7c9-f7a6-40b0-b73a-8900241b7e06", "PlannerTypeId": "9cb20113-700f-4633-8ef2-54d16c4bf51a", "ParentPlanId": "4faa00b1-bb9d-40f9-a993-5ed3153173bd", "PortfolioParentId": "5a1d625a-8f80-4d64-a554-292ce7f5653b", "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": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ], "LastComment": "2024-12-18T20:07:23.1995082+00:00", "Integrations": [ { "IntegrationId": "d97f50c9-7f83-474a-b5a7-ae03891589ca", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "81839ac8-4b63-4806-bbc7-36cd33c8d51f", "LastExport": "2024-12-18T20:07:23.1995082+00:00", "LastImport": "2024-12-18T20:07:23.1995082+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } }, { "IntegrationId": "d97f50c9-7f83-474a-b5a7-ae03891589ca", "ItemUrl": "sample string 2", "ItemId": "sample string 3", "TransactionId": "81839ac8-4b63-4806-bbc7-36cd33c8d51f", "LastExport": "2024-12-18T20:07:23.1995082+00:00", "LastImport": "2024-12-18T20:07:23.1995082+00:00", "IntegrationVersion": 7, "Properties": { "sample string 1": {}, "sample string 3": {} } } ], "Snapshots": [ { "Date": "2024-12-18T20:07:23.1995082+00:00", "StatusReportId": "6e3b3024-9bb0-471e-b05c-1079d719990a", "Fields": { "sample string 1": {}, "sample string 3": {} } }, { "Date": "2024-12-18T20:07:23.1995082+00:00", "StatusReportId": "6e3b3024-9bb0-471e-b05c-1079d719990a", "Fields": { "sample string 1": {}, "sample string 3": {} } } ], "SubPlans": [ "c7b40a8a-e2bf-4d40-99a9-f3d1aa81c595", "8245f4ea-e12e-4a1a-9732-75991d873f4d" ], "PlanNumber": "sample string 14", "RateTables": [ { "Id": "d73acca4-0e61-425b-a595-f6f034ffd492", "Name": "sample string 2", "Multipliers": [ { "Start": "2024-12-18T20:07:23.1995082+00:00", "End": "2024-12-18T20:07:23.1995082+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2024-12-18T20:07:23.1995082+00:00", "End": "2024-12-18T20:07:23.1995082+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "441d60d2-0036-4cdc-a325-3bfb53ad14d2", "BaseRate": 2.0 }, { "ResourceId": "441d60d2-0036-4cdc-a325-3bfb53ad14d2", "BaseRate": 2.0 } ] }, { "Id": "d73acca4-0e61-425b-a595-f6f034ffd492", "Name": "sample string 2", "Multipliers": [ { "Start": "2024-12-18T20:07:23.1995082+00:00", "End": "2024-12-18T20:07:23.1995082+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 }, { "Start": "2024-12-18T20:07:23.1995082+00:00", "End": "2024-12-18T20:07:23.1995082+00:00", "PercentRevenue": 3.0, "PercentCost": 4.0 } ], "ResourceRates": [ { "ResourceId": "441d60d2-0036-4cdc-a325-3bfb53ad14d2", "BaseRate": 2.0 }, { "ResourceId": "441d60d2-0036-4cdc-a325-3bfb53ad14d2", "BaseRate": 2.0 } ] } ], "Splits": [ { "Field": "sample string 1", "Value": "c99ad2ae-6902-4fc0-8e63-bf10c7c9197e", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } }, { "Field": "sample string 1", "Value": "c99ad2ae-6902-4fc0-8e63-bf10c7c9197e", "Split": 3.0, "Values": { "sample string 1": 2.0, "sample string 3": 4.0 } } ], "LockInfo": { "LockedSid": "e7bddfa2-9241-4fb8-a934-2c17746b69ad", "LockedBy": "3deb3f5b-c9e9-4a98-9591-5ac0414adad0", "LockedDate": "2024-12-18T20:07:23.1995082+00:00" }, "LastLocation": "sample string 15", "StageGateFlow": { "Id": "c3257f84-2e3e-4dae-bc45-a5f74784db65", "CurrentGateId": "743b45e1-a6e3-497f-b273-b36364c3191c", "EnteredGate": "2024-12-18T20:07:23.1995082+00:00", "ExitedGate": "2024-12-18T20:07:23.1995082+00:00", "GateClosed": true, "StepStarter": "3783cd87-c737-489b-bbe3-16746677a6b5", "StepApprover": "f0b78f43-6d8e-40de-a3ba-64b1a8ef45f3", "ApprovalState": 0, "StepState": 0, "Comments": "sample string 8", "Approvals": [ { "StepId": "8d9a232f-a94f-4e78-863d-fd4b8e14b35f", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "4aee1714-62ac-4a04-a787-7e8877582ed2": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] }, "30e1587f-5537-430f-a064-231aa5404602": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] } } }, { "StepId": "8d9a232f-a94f-4e78-863d-fd4b8e14b35f", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "4aee1714-62ac-4a04-a787-7e8877582ed2": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] }, "30e1587f-5537-430f-a064-231aa5404602": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] } } } ], "ApprovalsLog": [ { "StepId": "8d9a232f-a94f-4e78-863d-fd4b8e14b35f", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "4aee1714-62ac-4a04-a787-7e8877582ed2": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] }, "30e1587f-5537-430f-a064-231aa5404602": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] } } }, { "StepId": "8d9a232f-a94f-4e78-863d-fd4b8e14b35f", "AutoApproved": true, "Completed": true, "Expired": true, "ApprovalStates": { "4aee1714-62ac-4a04-a787-7e8877582ed2": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] }, "30e1587f-5537-430f-a064-231aa5404602": { "TaskId": "ae3c8521-9250-43b2-ba54-13f8c03d4dd4", "Status": 0, "Comments": [ { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] }, { "Id": "42f0ffd3-4104-4873-8d41-007f2798454c", "UPN": "e1b5772c-b6c3-4bee-8341-57ba03f3c159", "PostDate": "2024-12-18T20:07:23.1995082+00:00", "Comment": "sample string 4", "CC": [ "60c17871-26b6-4f77-8946-e61f7c8a6133", "aedf4678-88e4-4143-b6a5-1c28c745fbcf" ], "Users": [ "10385703-2415-4660-80c2-b3f4454ab0db", "0feb3aab-c015-4213-919c-21ca2c1a3df2" ] } ] } } } ], "RulesRejected": [ { "Id": "76c816af-9c38-4aab-bc27-4fada360a640", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" }, { "Id": "76c816af-9c38-4aab-bc27-4fada360a640", "Name": "sample string 2", "FailureText": "sample string 3", "Filter": "sample string 4" } ], "ApprovalRejectionOrFailReason": "sample string 9" }, "id": "1c48f857-6127-4661-9eee-0f59190c60e8", "ConfigId": "9ab6145c-4e6d-4b21-a347-a281a1610d67" }