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.
The allowed values are APP, WEB. The default value is 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. |
AuthToken | String | The request token returned from GetOAuthAuthorizationURL. Used when OAuth Version is 1.0. Only useful when AuthMode=WEB. |
AuthKey | String | The request secret key returned by GetOAuthAuthorizationURL. Used when OAuth Version is 1.0. Only useful when AuthMode=WEB. |
AuthSecret | String | This field is deprecated. Please use AuthKey going forward. Used when OAuth Version is 1.0. |
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. |