To use the Eloqua connector, add the <eloqua.init> or <eloqua.getAccessTokenFromCode>
or <eloqua.getAccessTokenFromRefreshToken>
element in your configuration before carrying out any other Eloqua operations.To authenticating using HTTP basic authentication add <eloqua.init>
element in your configuration before carrying out any other Eloqua operations.
Code Block |
---|
|
<eloqua.init>
<siteName>{$ctx:siteName}</siteName>
<username>{$ctx:username}</username>
<password>{$ctx:password}</password>
<apiVersion>{$ctx:apiVersion}</apiVersion>
</eloqua.init> |
properties
siteName:
The site name of the user.
username:
The username of the user.
password:
The password of the user.
apiVersion:
The version of the API.
...
Code Block |
---|
language | xml |
---|
title | getAccessTokenFromCode |
---|
|
<eloqua.getAccessTokenFromCode>
<code>{$ctx:code}</code>
<redirectUri>{$ctx:redirectUri}</redirectUri>
<clientId>{$ctx:clientId}</clientId>
<clientSecret>{$ctx:clientSecret}</clientSecret>
<apiVersion>{$ctx:apiVersion}</apiVersion>
</eloqua.getAccessTokenFromCode> |
properties
code
: The value of the authorization code.
clientId
: The value of your client id given when you registered your application with Eloqua.clientSecret
: The value of your client secret given when you registered your application with Eloqua.
redirectUri
: Same redirect_uri that you passed to get code.
apiVersion
: The version of the API.
...
Code Block |
---|
language | xml |
---|
title | getAccessTokenFromRefreshToken |
---|
|
<eloqua.getAccessTokenFromRefreshToken>
<refreshToken>{$ctx:refreshToken}</refreshToken>
<scope>{$ctx:scope}</scope>
<redirectUri>{$ctx:redirectUri}</redirectUri>
<clientId>{$ctx:clientId}</clientId>
<clientSecret>{$ctx:clientSecret}</clientSecret>
<apiVersion>{$ctx:apiVersion}</apiVersion>
</eloqua.getAccessTokenFromRefreshToken> |
properties
refreshToken
: The value of the refresh token.
scope
: The scope of the token.redirectUri
: Same redirect_uri that you passed to get code.clientId:
The value of your client id given when you registered your application with Eloqua.clientSecret
: The value of your client secret given when you registered your application with Eloqua.
apiVersion
: The version of the API.
...