Approvals endpoints
Approval entries and comments for sales, purchase and master data approvals, and the user setup that defines the approver hierarchy.
All URLs on this page are relative to the company URL, https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/datawareness/endpoints/v1.0/companies({companyId})/. See Construction of the URL.
Master data
| Endpoint | Description | Business key | Source table | Tier |
|---|---|---|---|---|
userSetups | User setup defining the approver hierarchy and approval amount limits. | userName | User Setup | Premium |
Transactional data
| Endpoint | Description | Business key | Source table | Tier |
|---|---|---|---|---|
approvalCommentLines | Comments recorded by approvers on approval requests. | entryNo | Approval Comment Line | Premium |
approvalEntries | Approval requests and their outcome for sales, purchase and master data documents. | entryNo | Approval Entry | Premium |
Example queries
Approval requests sent this year
GET .../approvalEntries?$filter=dateTimeSentForApproval ge 2026-01-01T00:00:00Z
&$select=entryNo,tableName,documentType,documentNo,status,senderUserName,approverUserName,dateTimeSentForApproval,amountLCY
Tips
- Fields: every endpoint's fields, with types, are listed by
properties— see Metadata discovery. The same list is on the endpoint's page under BI Endpoints in Business Central.