Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the provider beyond simple SELECT/INSERT/UPDATE/DELETE operations with Microsoft Dynamics 365 Business Central.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Microsoft Dynamics 365 Business Central, along with an indication of whether the procedure succeeded or failed.
CData ADO.NET Provider for Microsoft Dynamics 365 Business Central Stored Procedures
| Name | Description |
| GetAdminConsentURL | Generates the admin consent URL required for granting application access to a specified domain. An administrator must open this URL separately to authorize the application when using custom OAuth credentials. |
| GetOAuthAccessToken | Retrieves the OAuth access token needed for authenticating API requests to the service. This token is essential for maintaining secure communication. |
| GetOAuthAuthorizationUrl | Generates an authorization URL from the data source. This URL is used to obtain an authorization code or verifier, which is required to complete the OAuth authentication process. |
| RefreshOAuthAccessToken | Refreshes an expired OAuth access token using a valid refresh token. Ensures uninterrupted authentication without requiring user reauthorization. |