ADO.NET Provider for NetSuite

Build 24.0.9062

GetOAuthAccessToken

Gets an authentication token from NetSuite.

Input

Name Type Description
AuthMode String The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

使用できる値は次のとおりです。APP, WEB

デフォルト値はWEBです。

CallbackUrl String The URL the user will be redirected to after authorizing your application. Only needed when the Authmode parameter is Web.
Verifier String The verifier returned from NetSuite after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
Scope String A space-separated scope of permissions you need the app to have access to. The available values are restlets, rest_webservices. For more details, refer to: https://netsuite.custhelp.com/app/answers/detail/a_id/91339.
State String Any value that you wish to be sent with the callback. Length of the state parameter must be between 24 and 1024 characters.
AuthToken String The request token returned from GetOAuthAuthorizationURL. Only useful when AuthMode=WEB.
AuthKey String The request secret key returned by GetOAuthAuthorizationURL. Only useful when AuthMode=WEB.
AuthSecret String This field is deprecated. Please use AuthKey going forward.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with NetSuite.
OAuthAccessTokenSecret String The access token secret used for communication with NetSuite.
OAuthRefreshToken String The refresh access token used to refresh your connection to NetSuite.
ExpiresIn String The remaining lifetime on the access token.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062