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": "94d7a31f-3907-4c76-9dde-47de1fc6943a",
"Created": "2026-02-01T14:09:59.0760661+00:00",
"Modified": "2026-02-01T14:09:59.0760661+00:00",
"Editor": "485f2ce0-dbed-411b-8a4e-36097bd797bd",
"PlannerTypeId": "ff5c6bf7-21a5-4a1e-965a-358d15e52e20",
"ParentPlanId": "0667d06f-4d7b-44a5-aa4a-b8dcb01c2392",
"PortfolioParentId": "24b92d91-718d-4a0f-8dcf-f9baa94bed4f",
"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": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
],
"LastComment": "2026-02-01T14:09:59.0760661+00:00",
"Integrations": [
{
"IntegrationId": "56c65936-fee0-4333-b423-efcc0686e0d5",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "42889104-17c3-4049-9d41-02a9e9ca082e",
"LastExport": "2026-02-01T14:09:59.0760661+00:00",
"LastImport": "2026-02-01T14:09:59.0760661+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"IntegrationId": "56c65936-fee0-4333-b423-efcc0686e0d5",
"ItemUrl": "sample string 2",
"ItemId": "sample string 3",
"TransactionId": "42889104-17c3-4049-9d41-02a9e9ca082e",
"LastExport": "2026-02-01T14:09:59.0760661+00:00",
"LastImport": "2026-02-01T14:09:59.0760661+00:00",
"IntegrationVersion": 7,
"Properties": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"Snapshots": [
{
"Date": "2026-02-01T14:09:59.0760661+00:00",
"StatusReportId": "d8cd3e74-71ab-42c8-9310-63b7d193de49",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Date": "2026-02-01T14:09:59.0760661+00:00",
"StatusReportId": "d8cd3e74-71ab-42c8-9310-63b7d193de49",
"Fields": {
"sample string 1": {},
"sample string 3": {}
}
}
],
"SubPlans": [
"b1e419a1-907d-4d10-856a-fb6ce62abb47",
"17506a94-fadf-4c6d-a0df-ef9de4dd1e94"
],
"PlanNumber": "sample string 14",
"RateTables": [
{
"Id": "7bb9ad4e-54de-4c7c-9fa2-4cfc32a5e154",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-02-01T14:09:59.0760661+00:00",
"End": "2026-02-01T14:09:59.0760661+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-02-01T14:09:59.0760661+00:00",
"End": "2026-02-01T14:09:59.0760661+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "f2db7995-aada-496a-a164-dacf7a6d823c",
"BaseRate": 2.0
},
{
"ResourceId": "f2db7995-aada-496a-a164-dacf7a6d823c",
"BaseRate": 2.0
}
]
},
{
"Id": "7bb9ad4e-54de-4c7c-9fa2-4cfc32a5e154",
"Name": "sample string 2",
"Multipliers": [
{
"Start": "2026-02-01T14:09:59.0760661+00:00",
"End": "2026-02-01T14:09:59.0760661+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
},
{
"Start": "2026-02-01T14:09:59.0760661+00:00",
"End": "2026-02-01T14:09:59.0760661+00:00",
"PercentRevenue": 3.0,
"PercentCost": 4.0
}
],
"ResourceRates": [
{
"ResourceId": "f2db7995-aada-496a-a164-dacf7a6d823c",
"BaseRate": 2.0
},
{
"ResourceId": "f2db7995-aada-496a-a164-dacf7a6d823c",
"BaseRate": 2.0
}
]
}
],
"Splits": [
{
"Field": "sample string 1",
"Value": "1cc8e391-64e2-48de-aca0-4ed80f2b93e1",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"Field": "sample string 1",
"Value": "1cc8e391-64e2-48de-aca0-4ed80f2b93e1",
"Split": 3.0,
"Values": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
],
"LockInfo": {
"LockedSid": "7d69db2c-6c74-4113-ad8c-417e8a6273c2",
"LockedBy": "d0df8823-0bd0-4818-8ccc-163d72d8fcd9",
"LockedDate": "2026-02-01T14:09:59.0760661+00:00"
},
"LastLocation": "sample string 15",
"StageGateFlow": {
"Id": "3b713419-fceb-4400-ad95-9195a2707fb2",
"CurrentGateId": "b1fad8d0-6aac-4061-90bf-22c78ee9b63c",
"EnteredGate": "2026-02-01T14:09:59.0760661+00:00",
"ExitedGate": "2026-02-01T14:09:59.0760661+00:00",
"GateClosed": true,
"StepStarter": "fd2346a7-1eb6-4e9d-90bb-bed6208c6eb6",
"StepApprover": "3f60fd60-8559-4f65-a6c1-4b831dc334ef",
"ApprovalState": 0,
"StepState": 0,
"Comments": "sample string 8",
"Approvals": [
{
"StepId": "7c628d4b-905a-4a35-ac03-f5a6b388f05d",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"0b4b50bd-4d9c-4185-9a90-8f2929d6f9b9": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
},
"c1ecb470-47b9-458c-a427-1b39bb90d59b": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
}
}
},
{
"StepId": "7c628d4b-905a-4a35-ac03-f5a6b388f05d",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"0b4b50bd-4d9c-4185-9a90-8f2929d6f9b9": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
},
"c1ecb470-47b9-458c-a427-1b39bb90d59b": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
}
}
}
],
"ApprovalsLog": [
{
"StepId": "7c628d4b-905a-4a35-ac03-f5a6b388f05d",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"0b4b50bd-4d9c-4185-9a90-8f2929d6f9b9": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
},
"c1ecb470-47b9-458c-a427-1b39bb90d59b": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
}
}
},
{
"StepId": "7c628d4b-905a-4a35-ac03-f5a6b388f05d",
"AutoApproved": true,
"Completed": true,
"Expired": true,
"ExpiredReason": "sample string 5",
"ApprovalStates": {
"0b4b50bd-4d9c-4185-9a90-8f2929d6f9b9": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
},
"c1ecb470-47b9-458c-a427-1b39bb90d59b": {
"TaskId": "acabd09d-eb05-44dd-b6f5-a405d783ed9e",
"Status": 0,
"Comments": [
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
},
{
"Id": "311ba1cb-2ff5-49a2-a12f-c0ba94f3c958",
"UPN": "d7d118cc-fce0-4feb-bae5-556ee5486a6f",
"PostDate": "2026-02-01T14:09:59.0760661+00:00",
"Comment": "sample string 4",
"CC": [
"ed03ffa5-7065-443b-9c75-a3893fb82029",
"41af6c19-fca6-46e5-a98a-d40af66778b0"
],
"Users": [
"3efb7eb6-4c08-4cfa-b945-cd2ce0a55376",
"0aa45414-a8f8-472b-9960-c929d55de4f5"
]
}
]
}
}
}
],
"RulesRejected": [
{
"Id": "c3ac68ce-f75f-4b30-9ed7-fe04aec83341",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
},
{
"Id": "c3ac68ce-f75f-4b30-9ed7-fe04aec83341",
"Name": "sample string 2",
"FailureText": "sample string 3",
"Filter": "sample string 4"
}
],
"ApprovalRejectionOrFailReason": "sample string 9"
},
"id": "dd486fe7-7cf2-456d-822d-7daee11025ff",
"ConfigId": "6b6a294a-66f6-430f-beda-af43bead0376"
}