ストアドプロシージャ
ストアドプロシージャはファンクションライクなインターフェースで、HubSpot の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらず本製品 の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにHubSpot から関連するレスポンスデータを返します。
CData ADO.NET Provider for HubSpot ストアドプロシージャ
| 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. |