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": "e1570419-ba29-4a8b-a946-23400093688c",
"Created": "2026-07-01T16:21:27.8982427+00:00",
"Modified": "2026-07-01T16:21:27.8982427+00:00",
"Editor": "5a087c17-5954-40c8-b07c-278c881618f6",
"PlannerTypeId": "fbb40bbb-97ff-4075-bdc8-3d517d50420e",
"ParentPlanId": "297470c4-0b91-4f40-9fd7-55a39abfaca3",
"PortfolioParentId": "9c2cfc68-92d0-40c4-8fcd-ddaef0f42477",
"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": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
],
"LastComment": "2026-07-01T16:21:27.8982427+00:00",
"Integrations": [
{
"IntegrationId": "9a6d1bfc-6f9b-4f5b-9e14-014c70bfa5ab",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "ed738f9a-91f2-4014-8b9a-ca3d327c2d03",
"LastExport": "2026-07-01T16:21:27.8982427+00:00",
"LastImport": "2026-07-01T16:21:27.8982427+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"IntegrationId": "9a6d1bfc-6f9b-4f5b-9e14-014c70bfa5ab",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "ed738f9a-91f2-4014-8b9a-ca3d327c2d03",
"LastExport": "2026-07-01T16:21:27.8982427+00:00",
"LastImport": "2026-07-01T16:21:27.8982427+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"Snapshots": [
{
"Date": "2026-07-01T16:21:27.8982427+00:00",
"StatusReportId": "3f21ff56-3e76-4709-bb07-d84c795e3e02",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Date": "2026-07-01T16:21:27.8982427+00:00",
"StatusReportId": "3f21ff56-3e76-4709-bb07-d84c795e3e02",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"SubPlans": [
"4d10c769-ff9b-40e1-8e89-a5bda73f5a9c",
"b5313b5d-af8b-41f3-b2d0-efdb653a77b0"
],
"PlanNumber": "sample string 14",
"RateTables": [
{
"Id": "dcf5288d-7331-4da8-af1d-f814347fa291",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-07-01T16:21:27.8982427+00:00",
"End": "2026-07-01T16:21:27.8982427+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-07-01T16:21:27.8982427+00:00",
"End": "2026-07-01T16:21:27.8982427+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "0b98294a-0822-4113-855f-638c3dceaa12",
"BaseRate": 2.0
},
{
"ResourceId": "0b98294a-0822-4113-855f-638c3dceaa12",
"BaseRate": 2.0
}
]
},
{
"Id": "dcf5288d-7331-4da8-af1d-f814347fa291",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-07-01T16:21:27.8982427+00:00",
"End": "2026-07-01T16:21:27.8982427+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-07-01T16:21:27.8982427+00:00",
"End": "2026-07-01T16:21:27.8982427+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "0b98294a-0822-4113-855f-638c3dceaa12",
"BaseRate": 2.0
},
{
"ResourceId": "0b98294a-0822-4113-855f-638c3dceaa12",
"BaseRate": 2.0
}
]
}
],
"Splits": [
{
"Field": "sample string 1",
"Value": "62233a9c-466b-468c-a125-cdb6bfe1b3e0",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"Field": "sample string 1",
"Value": "62233a9c-466b-468c-a125-cdb6bfe1b3e0",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
],
"LockInfo": {
"LockedSid": "42b56f3d-053e-4ac5-9bb0-98ec0eebac72",
"LockedBy": "0f5ea8e8-c43c-45d2-b8e2-997f8b40f4d8",
"LockedDate": "2026-07-01T16:21:27.8982427+00:00"
},
"LastLocation": "sample string 15",
"StageGateFlow": {
"Id": "4e0a9db7-9c1f-4070-9658-7bbb5eac822f",
"CurrentGateId": "0e48fa74-0ed5-449b-95a9-9df9b8088afe",
"EnteredGate": "2026-07-01T16:21:27.8982427+00:00",
"ExitedGate": "2026-07-01T16:21:27.8982427+00:00",
"GateClosed": true,
"StepStarter": "24a9221e-3029-44d8-bb94-8e28e5fdbae6",
"StepApprover": "436fe3f8-7d2e-461a-9414-e00c225d73c5",
"ApprovalState": 0,
"StepState": 0,
"Comments": "sample string 8",
"Approvals": [
{
"StepId": "4584dd91-d4ea-4fd6-9a44-25d563109dac",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"e05a0a69-0982-49a5-9423-676b24b859bc": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
},
"793a7291-cf66-4409-8b76-d210458ad8f6": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
}
}
},
{
"StepId": "4584dd91-d4ea-4fd6-9a44-25d563109dac",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"e05a0a69-0982-49a5-9423-676b24b859bc": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
},
"793a7291-cf66-4409-8b76-d210458ad8f6": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
}
}
}
],
"ApprovalsLog": [
{
"StepId": "4584dd91-d4ea-4fd6-9a44-25d563109dac",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"e05a0a69-0982-49a5-9423-676b24b859bc": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
},
"793a7291-cf66-4409-8b76-d210458ad8f6": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
}
}
},
{
"StepId": "4584dd91-d4ea-4fd6-9a44-25d563109dac",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"e05a0a69-0982-49a5-9423-676b24b859bc": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
},
"793a7291-cf66-4409-8b76-d210458ad8f6": {
"TaskId": "d667f98a-eef4-4337-919b-b49568c0766f",
"Status": 0,
"Comments": [
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
},
{
"Id": "e53cdb98-71b4-4c75-98ab-e1f950fa0248",
"UPN": "cb52db65-a711-45cc-a71c-110c04eb3339",
"PostDate": "2026-07-01T16:21:27.8982427+00:00",
"Comment": "sample string 4",
"CC": [
"8288a2f4-70d5-4416-b041-52fa60003cee",
"25e141fa-c6c7-4d7b-96b4-1b877d8537ab"
],
"Users": [
"094b4c8c-7f47-4074-9486-96e3b30ef9be",
"a3af55ec-8e87-4a08-8634-c2d66a6de11b"
]
}
]
}
}
}
],
"RulesRejected": [
{
"Id": "de40213f-c452-48da-886d-72d3cdb6a799",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
},
{
"Id": "de40213f-c452-48da-886d-72d3cdb6a799",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
}
],
"ApprovalRejectionOrFailReason": "sample string 9"
},
"id": "c8f9aeec-bf35-4796-a974-3a2e8a2af2dc",
"ConfigId": "373e8f6c-294b-417d-bc6a-0f4ffe1e4e56"
}