Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the add-in beyond simple SELECT/INSERT/UPDATE/DELETE operations with HubSpot.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from HubSpot, along with an indication of whether the procedure succeeded or failed.
CData Excel Add-In for HubSpot Stored Procedures
| Name | Description |
| AddOptedOutContacts | Unsuscribes the contact from all subscription preferences in Hubspot. |
| EnableSubscriptionPreferences | Subscribes the contact to the specified subscription type. Along with this, HubSpot enables all available subscription types for the specified contact with the default status of NOT_SPECIFIED. |
| GetAccountDetails | Retrieve HubSpot account details such as account type, time zone, currencies, and data hosting location. |
| GetOAuthAccessToken | Fetches the OAuth Access Token, which is used to authenticate and authorize Hubspot API calls. |
| GetOAuthAuthorizationURL | Retrieves the OAuth Authorization URL, allowing the client to direct the user's browser to the authorization server and initiate the OAuth process. |
| RefreshOAuthAccessToken | Refreshes an expired OAuth Access Token to maintain continuous authenticated access to Hubspot resources without requiring reauthorization from the user. |
| UpdateSubscriptionPreferences | Updates the subscription preferences for a contact in HubSpot. |