POST api/workplan/{planId}/step/clear
Clear out the stage gates from the plan, cancel all approval tasks and reset the process step back to the first step
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| planId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkPlan| Name | 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": "7310bec6-55eb-4c1d-b23a-52051c6353da",
"Created": "2026-05-02T16:46:37.2817968+00:00",
"Modified": "2026-05-02T16:46:37.2817968+00:00",
"Editor": "869290c7-64f5-4fa7-a0a6-cc05d19117bd",
"PlannerTypeId": "844e353d-e5dd-44b9-ab65-ba92bc3c5505",
"ParentPlanId": "1ef93040-ae72-4150-8f88-728af431ab67",
"PortfolioParentId": "c6e9cc92-4a03-44df-81d7-a79c9e01ac2a",
"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": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
],
"LastComment": "2026-05-02T16:46:37.2817968+00:00",
"Integrations": [
{
"IntegrationId": "14112c86-02b3-47a3-8e44-a339ee006c8d",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "77064dfb-f9ae-43a2-9f4b-f1dd04b383b3",
"LastExport": "2026-05-02T16:46:37.2817968+00:00",
"LastImport": "2026-05-02T16:46:37.2817968+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"IntegrationId": "14112c86-02b3-47a3-8e44-a339ee006c8d",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "77064dfb-f9ae-43a2-9f4b-f1dd04b383b3",
"LastExport": "2026-05-02T16:46:37.2817968+00:00",
"LastImport": "2026-05-02T16:46:37.2817968+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"Snapshots": [
{
"Date": "2026-05-02T16:46:37.2817968+00:00",
"StatusReportId": "f20de176-4c13-4965-9a83-74aa0f25595b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Date": "2026-05-02T16:46:37.2817968+00:00",
"StatusReportId": "f20de176-4c13-4965-9a83-74aa0f25595b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"SubPlans": [
"e9c23ce1-5bc4-434e-bb9b-ba7d976f9fcc",
"0ac1ce76-a3b0-4e8e-8a1a-878fe505baee"
],
"PlanNumber": "sample string 14",
"RateTables": [
{
"Id": "4339454d-178f-4542-9036-262acc2e11c1",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-05-02T16:46:37.2817968+00:00",
"End": "2026-05-02T16:46:37.2817968+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-05-02T16:46:37.2817968+00:00",
"End": "2026-05-02T16:46:37.2817968+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "15ba46d0-6b6d-44e3-b9b0-b9560d5d5cec",
"BaseRate": 2.0
},
{
"ResourceId": "15ba46d0-6b6d-44e3-b9b0-b9560d5d5cec",
"BaseRate": 2.0
}
]
},
{
"Id": "4339454d-178f-4542-9036-262acc2e11c1",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-05-02T16:46:37.2817968+00:00",
"End": "2026-05-02T16:46:37.2817968+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-05-02T16:46:37.2817968+00:00",
"End": "2026-05-02T16:46:37.2817968+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "15ba46d0-6b6d-44e3-b9b0-b9560d5d5cec",
"BaseRate": 2.0
},
{
"ResourceId": "15ba46d0-6b6d-44e3-b9b0-b9560d5d5cec",
"BaseRate": 2.0
}
]
}
],
"Splits": [
{
"Field": "sample string 1",
"Value": "25531816-6aad-44fb-b445-2defe6db1dea",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"Field": "sample string 1",
"Value": "25531816-6aad-44fb-b445-2defe6db1dea",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
],
"LockInfo": {
"LockedSid": "0c93befa-f01b-46b5-8f23-24e9b98015c1",
"LockedBy": "d01be26e-155a-4c52-9e4a-befdb0d39341",
"LockedDate": "2026-05-02T16:46:37.2817968+00:00"
},
"LastLocation": "sample string 15",
"StageGateFlow": {
"Id": "f5b19353-2cc0-4f8c-9d1c-c68890809622",
"CurrentGateId": "b22ed4f6-f82a-414a-9026-4872883a224c",
"EnteredGate": "2026-05-02T16:46:37.2817968+00:00",
"ExitedGate": "2026-05-02T16:46:37.2817968+00:00",
"GateClosed": true,
"StepStarter": "849cbda3-dfd3-4004-8b0d-356397ad80e5",
"StepApprover": "0034254a-df6c-4171-b414-1d22c32b2edf",
"ApprovalState": 0,
"StepState": 0,
"Comments": "sample string 8",
"Approvals": [
{
"StepId": "4eda6fb4-34cf-4a28-8fc4-1446f5b264e2",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"c75eb76c-19df-49f5-8919-60685f54c731": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
},
"bd98e54e-7bfc-4d2b-a597-3900dfc180b7": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
}
}
},
{
"StepId": "4eda6fb4-34cf-4a28-8fc4-1446f5b264e2",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"c75eb76c-19df-49f5-8919-60685f54c731": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
},
"bd98e54e-7bfc-4d2b-a597-3900dfc180b7": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
}
}
}
],
"ApprovalsLog": [
{
"StepId": "4eda6fb4-34cf-4a28-8fc4-1446f5b264e2",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"c75eb76c-19df-49f5-8919-60685f54c731": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
},
"bd98e54e-7bfc-4d2b-a597-3900dfc180b7": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
}
}
},
{
"StepId": "4eda6fb4-34cf-4a28-8fc4-1446f5b264e2",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"c75eb76c-19df-49f5-8919-60685f54c731": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
},
"bd98e54e-7bfc-4d2b-a597-3900dfc180b7": {
"TaskId": "0fe7b017-f4f0-43e3-8d61-8369210ca059",
"Status": 0,
"Comments": [
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
},
{
"Id": "2e28af7a-bf96-427c-aeb8-b5f2653569f5",
"UPN": "6c46c978-605a-494e-b434-72427ab0d6e4",
"PostDate": "2026-05-02T16:46:37.2817968+00:00",
"Comment": "sample string 4",
"CC": [
"c11f2a15-ef02-4fce-87a6-6cdafc5f34a2",
"cb857979-d449-4ccd-b6b4-71d82c07bed7"
],
"Users": [
"a935a461-785b-44c7-bbab-c28d17e62be7",
"b99b816b-41d8-43d1-a353-91399dc83800"
]
}
]
}
}
}
],
"RulesRejected": [
{
"Id": "8179a3ca-08c4-4bc8-b1f1-b8180319673d",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
},
{
"Id": "8179a3ca-08c4-4bc8-b1f1-b8180319673d",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
}
],
"ApprovalRejectionOrFailReason": "sample string 9"
},
"id": "76723977-c892-41cd-bae8-b2640ade94be",
"ConfigId": "c178f5f9-a3d0-4a76-b2ca-f86cf6dd8f97"
}