ODBC Driver for eBay

Build 20.0.7587

GetOAuthAccessToken

Gets the OAuth access token from eBay.

Input

Name Type Required Description
UseOAuth String False Indicates if you want to use OAuth. If not set to true it will automatically use Auth and Auth.
Verifier String False The verifier token returned by EBay after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode.
CallbackUrl String False The URL the user will be redirected to after authorizing your application.
RuName String False The Redirect URL name on the Token from eBay via your Application section of the User Tokens page.
SessionId String False The session Id needed to authenticate when using Auth and Auth.
Scope String False The scope or permissions you are requesting.

The default value is https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.marketing.readonly https://api.ebay.com/oauth/api_scope/sell.marketing https://api.ebay.com/oauth/api_scope/sell.inventory.readonly https://api.ebay.com/oauth/api_scope/sell.inventory https://api.ebay.com/oauth/api_scope/sell.account.readonly https://api.ebay.com/oauth/api_scope/sell.account https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly https://api.ebay.com/oauth/api_scope/sell.fulfillment https://api.ebay.com/oauth/api_scope/sell.analytics.readonly.

AuthMode String False 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 APP.

State String False An opaque value used by the client to maintain state between the request and callback.

Result Set Columns

Name Type Description
OAuthAccessToken String The OAuth token.
OAuthRefreshToken String The OAuth refresh token.
ExpiresIn String The remaining lifetime for the access token in seconds.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587