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": "a667d2e8-e381-4e86-abdc-881d6cf0c507",
"Created": "2025-12-03T13:08:07.2782801+00:00",
"Modified": "2025-12-03T13:08:07.2782801+00:00",
"Editor": "89ff03af-5df7-4780-aa73-483bdf495190",
"PlannerTypeId": "8d5b2b59-b579-49c3-a667-630f6196b10a",
"ParentPlanId": "130192f1-ec16-4bb2-b025-f27ae89f1c81",
"PortfolioParentId": "fe8a45a0-5d5d-4d22-aab0-7626488c193a",
"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": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
],
"LastComment": "2025-12-03T13:08:07.2782801+00:00",
"Integrations": [
{
"IntegrationId": "305aa9e1-d657-464f-9f12-aa3b812cbb26",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "a698260d-0357-4c55-b401-34c785f38548",
"LastExport": "2025-12-03T13:08:07.2782801+00:00",
"LastImport": "2025-12-03T13:08:07.2782801+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"IntegrationId": "305aa9e1-d657-464f-9f12-aa3b812cbb26",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "a698260d-0357-4c55-b401-34c785f38548",
"LastExport": "2025-12-03T13:08:07.2782801+00:00",
"LastImport": "2025-12-03T13:08:07.2782801+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"Snapshots": [
{
"Date": "2025-12-03T13:08:07.2782801+00:00",
"StatusReportId": "434e2730-9909-4bcb-a4f4-44a41ae28778",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Date": "2025-12-03T13:08:07.2782801+00:00",
"StatusReportId": "434e2730-9909-4bcb-a4f4-44a41ae28778",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"SubPlans": [
"f13c3683-7c6d-435d-8cb7-e78cdd82ae6d",
"1cbae6dd-e19d-42ab-a4e3-75a2ce9ccfbf"
],
"PlanNumber": "sample string 14",
"RateTables": [
{
"Id": "54a38efc-3268-4d18-a1ac-17a41b140b14",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2025-12-03T13:08:07.2782801+00:00",
"End": "2025-12-03T13:08:07.2782801+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2025-12-03T13:08:07.2782801+00:00",
"End": "2025-12-03T13:08:07.2782801+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "0495e1b9-b164-4fcc-b292-7d454b37e88b",
"BaseRate": 2.0
},
{
"ResourceId": "0495e1b9-b164-4fcc-b292-7d454b37e88b",
"BaseRate": 2.0
}
]
},
{
"Id": "54a38efc-3268-4d18-a1ac-17a41b140b14",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2025-12-03T13:08:07.2782801+00:00",
"End": "2025-12-03T13:08:07.2782801+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2025-12-03T13:08:07.2782801+00:00",
"End": "2025-12-03T13:08:07.2782801+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "0495e1b9-b164-4fcc-b292-7d454b37e88b",
"BaseRate": 2.0
},
{
"ResourceId": "0495e1b9-b164-4fcc-b292-7d454b37e88b",
"BaseRate": 2.0
}
]
}
],
"Splits": [
{
"Field": "sample string 1",
"Value": "227870b0-47a0-4640-948b-9500a5402595",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"Field": "sample string 1",
"Value": "227870b0-47a0-4640-948b-9500a5402595",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
],
"LockInfo": {
"LockedSid": "b6a24ba0-7475-4a66-871c-3da37f3f8d16",
"LockedBy": "47ff2ff5-bc11-40e9-a8af-2b7d0d05ceda",
"LockedDate": "2025-12-03T13:08:07.2782801+00:00"
},
"LastLocation": "sample string 15",
"StageGateFlow": {
"Id": "bdc2a423-323a-4b06-8003-9790acf2ff10",
"CurrentGateId": "8dd5a0c6-2490-4bcf-afc8-40f69a1ae189",
"EnteredGate": "2025-12-03T13:08:07.2782801+00:00",
"ExitedGate": "2025-12-03T13:08:07.2782801+00:00",
"GateClosed": true,
"StepStarter": "764c77dd-8639-472a-9b3b-7570d18e9a37",
"StepApprover": "e58aa96f-094a-4fe6-86e2-9bf508969361",
"ApprovalState": 0,
"StepState": 0,
"Comments": "sample string 8",
"Approvals": [
{
"StepId": "54b2adc0-05d8-4d4b-9be0-3cce4d567368",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"a78bc907-b79c-4fc9-9a0e-9683b6d94010": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
},
"a6656591-2f10-4dae-9728-4f49e4286b95": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
}
}
},
{
"StepId": "54b2adc0-05d8-4d4b-9be0-3cce4d567368",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"a78bc907-b79c-4fc9-9a0e-9683b6d94010": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
},
"a6656591-2f10-4dae-9728-4f49e4286b95": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
}
}
}
],
"ApprovalsLog": [
{
"StepId": "54b2adc0-05d8-4d4b-9be0-3cce4d567368",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"a78bc907-b79c-4fc9-9a0e-9683b6d94010": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
},
"a6656591-2f10-4dae-9728-4f49e4286b95": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
}
}
},
{
"StepId": "54b2adc0-05d8-4d4b-9be0-3cce4d567368",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"a78bc907-b79c-4fc9-9a0e-9683b6d94010": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
},
"a6656591-2f10-4dae-9728-4f49e4286b95": {
"TaskId": "d32c25f3-46b8-499c-a148-c9465752acf0",
"Status": 0,
"Comments": [
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
},
{
"Id": "0547e5e9-4389-4bd2-9490-29db6c300bd6",
"UPN": "1215a969-7d94-4074-8901-0e52b24aafc9",
"PostDate": "2025-12-03T13:08:07.2782801+00:00",
"Comment": "sample string 4",
"CC": [
"9f2702f0-c594-4d5b-8043-5681c66d5bbb",
"21cdd925-0798-43e1-8f2b-d6f86ae3424b"
],
"Users": [
"e0c34964-65ad-4482-b308-0b9a24bc11f2",
"78f1abb9-9a40-480a-8ac4-47b55367acee"
]
}
]
}
}
}
],
"RulesRejected": [
{
"Id": "9af42fc9-4d26-47da-8956-9545b341a18d",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
},
{
"Id": "9af42fc9-4d26-47da-8956-9545b341a18d",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
}
],
"ApprovalRejectionOrFailReason": "sample string 9"
},
"id": "2dd90989-1e74-4d30-88e7-e705145f3281",
"ConfigId": "55e7dec6-614f-4e31-9005-df5aa46b8cb0"
}