POST api/workplan/{PlanId}/step/approve?state={state}&comment={comment}
Approve a Process Step
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanId | globally unique identifier |
Required |
|
| state | ProcessState |
Required |
|
| comment | string |
Default value is |
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": "e5c98e3b-d787-421b-8400-7d2b2fa54924",
"Created": "2025-12-03T13:08:06.2782899+00:00",
"Modified": "2025-12-03T13:08:06.2782899+00:00",
"Editor": "a2b61430-7b5c-4e10-8e33-b5f3326929f8",
"PlannerTypeId": "4c3ee2cc-9d73-4891-8d16-4d823ca869e0",
"ParentPlanId": "ac850b0b-93ca-45e3-8ad6-5e8338a78233",
"PortfolioParentId": "de97dbf4-1ff6-48b6-8855-c12aa77b75bc",
"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": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
],
"LastComment": "2025-12-03T13:08:06.2782899+00:00",
"Integrations": [
{
"IntegrationId": "37c725e3-94c9-4481-9e1f-f86e2834b251",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "9607a3d2-3093-4a02-892d-789af0623dc0",
"LastExport": "2025-12-03T13:08:06.2782899+00:00",
"LastImport": "2025-12-03T13:08:06.2782899+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"IntegrationId": "37c725e3-94c9-4481-9e1f-f86e2834b251",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "9607a3d2-3093-4a02-892d-789af0623dc0",
"LastExport": "2025-12-03T13:08:06.2782899+00:00",
"LastImport": "2025-12-03T13:08:06.2782899+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"Snapshots": [
{
"Date": "2025-12-03T13:08:06.2782899+00:00",
"StatusReportId": "c275d086-6dec-4360-9232-231953612b6d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Date": "2025-12-03T13:08:06.2782899+00:00",
"StatusReportId": "c275d086-6dec-4360-9232-231953612b6d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"SubPlans": [
"3c9bd160-0d7b-4caf-a1ea-64e6a159ff89",
"053e00f4-1378-4e5f-a09e-61bdbe884a79"
],
"PlanNumber": "sample string 14",
"RateTables": [
{
"Id": "298591bc-8308-4d5e-b668-1a72895b89ef",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2025-12-03T13:08:06.2782899+00:00",
"End": "2025-12-03T13:08:06.2782899+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2025-12-03T13:08:06.2782899+00:00",
"End": "2025-12-03T13:08:06.2782899+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "ff11a067-4512-4ab4-bd04-88ec25b65a72",
"BaseRate": 2.0
},
{
"ResourceId": "ff11a067-4512-4ab4-bd04-88ec25b65a72",
"BaseRate": 2.0
}
]
},
{
"Id": "298591bc-8308-4d5e-b668-1a72895b89ef",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2025-12-03T13:08:06.2782899+00:00",
"End": "2025-12-03T13:08:06.2782899+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2025-12-03T13:08:06.2782899+00:00",
"End": "2025-12-03T13:08:06.2782899+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "ff11a067-4512-4ab4-bd04-88ec25b65a72",
"BaseRate": 2.0
},
{
"ResourceId": "ff11a067-4512-4ab4-bd04-88ec25b65a72",
"BaseRate": 2.0
}
]
}
],
"Splits": [
{
"Field": "sample string 1",
"Value": "e573b498-ee0b-455a-b090-29e20fcb907f",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"Field": "sample string 1",
"Value": "e573b498-ee0b-455a-b090-29e20fcb907f",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
],
"LockInfo": {
"LockedSid": "31279c08-34ca-4547-a8db-ee88fffce2bb",
"LockedBy": "c2f21662-31fc-4968-81e5-87f5a781671c",
"LockedDate": "2025-12-03T13:08:06.2782899+00:00"
},
"LastLocation": "sample string 15",
"StageGateFlow": {
"Id": "55b02d5a-3b34-4e4b-994c-21a509633619",
"CurrentGateId": "3d368d2f-36a0-4345-8f4b-5add16bdef94",
"EnteredGate": "2025-12-03T13:08:06.2782899+00:00",
"ExitedGate": "2025-12-03T13:08:06.2782899+00:00",
"GateClosed": true,
"StepStarter": "d47a02f7-7fa8-4d79-a071-bee022da28d2",
"StepApprover": "f449a56d-5049-482d-984d-6b8a208e4df3",
"ApprovalState": 0,
"StepState": 0,
"Comments": "sample string 8",
"Approvals": [
{
"StepId": "9407bc21-4cbd-4792-811a-c5ef1a1a9014",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"ee32aa60-1fbc-4e26-b073-bfa51e65eb6b": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
},
"43dae721-2805-49ad-a7ee-58d343dc31fc": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
}
}
},
{
"StepId": "9407bc21-4cbd-4792-811a-c5ef1a1a9014",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"ee32aa60-1fbc-4e26-b073-bfa51e65eb6b": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
},
"43dae721-2805-49ad-a7ee-58d343dc31fc": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
}
}
}
],
"ApprovalsLog": [
{
"StepId": "9407bc21-4cbd-4792-811a-c5ef1a1a9014",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"ee32aa60-1fbc-4e26-b073-bfa51e65eb6b": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
},
"43dae721-2805-49ad-a7ee-58d343dc31fc": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
}
}
},
{
"StepId": "9407bc21-4cbd-4792-811a-c5ef1a1a9014",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"ee32aa60-1fbc-4e26-b073-bfa51e65eb6b": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
},
"43dae721-2805-49ad-a7ee-58d343dc31fc": {
"TaskId": "a6fb3788-3f4b-4304-a694-70b6fb2b36a6",
"Status": 0,
"Comments": [
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
},
{
"Id": "94ce0453-9cae-4609-aaaa-b43058494259",
"UPN": "608be6d3-3bf4-440c-a1a7-a7428e621658",
"PostDate": "2025-12-03T13:08:06.2782899+00:00",
"Comment": "sample string 4",
"CC": [
"01dcdb2f-a533-4076-8504-06a04618b77f",
"0e6bd58d-7b0a-41d1-b672-83c6c13440cc"
],
"Users": [
"a36508a0-6be6-411d-a5b6-91ff815155c9",
"add36a99-ab14-410e-9469-0704cfa3ff3c"
]
}
]
}
}
}
],
"RulesRejected": [
{
"Id": "639efbbe-be73-4fd5-89d3-d9025b0a9d5e",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
},
{
"Id": "639efbbe-be73-4fd5-89d3-d9025b0a9d5e",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
}
],
"ApprovalRejectionOrFailReason": "sample string 9"
},
"id": "da9cc959-6669-4288-bb6e-ca838ce72ec5",
"ConfigId": "2d97d1d6-881f-415f-8b8f-dc579f9b77ab"
}