Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Project Operations Integrated with ERP, Project Operations Core.
Microsoft Dynamics 365 Project Operations provides the Process Project Approval Sets API. Use this API to programmatically process approvals through Power Automate or a custom plug-in.
Process Project Approval Sets API
Name
msdyn_ProcessProjectApprovalSets
Input parameters
| Parameter | Type | Description |
|---|---|---|
| ProjectApprovals | Entity Collection | A list of the project approval records to process. |
| ActionType | Int | The action to perform on the records. The following options are available:
|
| NoteLogName | String | The note that you want to attach to the approval set. This note appears in the Logs section. |
Notes
- Include different types of approvals (time, expense, or material) in the
ProjectApprovalsentity collection. - The specified action type applies to all records in the entity collection. You can't perform a different action on a subset of the records. To approve some records and reject others, make two API calls and pass the appropriate
ActionTypevalue in each call. - The approval process occurs in the context of the user who makes the request. The system runs approval validations against that user (the
msdyn_Approverfield on the approval set). - As with approvals done through the user interface (UI), the system processes approval sets either synchronously or asynchronously, depending on the Background Approval Threshold value.