This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Working with Activities in Eloqua
Overview
The following operations allow you to work with activities. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with activities, see Sample configuration .
Operation | Description |
---|---|
createActivityExport | Creates a new activity export definition. |
createActivityImport | Creates a new activity import definition. |
createActivityImportData | Submits the data for the activity import with the specified id. |
updateActivityExport | Updates the activity export definition with the specified id. |
updateActivityImport | Updates the activity import definition with the specified id. |
getActivityTypes | Retrieve all the details of activity types. |
getActivityTypeById | Retrieve the details of given activity type id. |
getActivityImports | Retrieve all the details of activity imports. |
getActivityImportById | Retrieve the details of given activity import id. |
getActivityExportById | Retrieve the details of given activity export id. |
getActivityExportDataById | Retrieve the data of given activity export id. |
deleteActivityExport | Deletes the specified activity export definition. |
deleteActivityExportData | Deletes the data for the activity export with the specified id. |
deleteActivityImport | Deletes the specified activity import definition. |
deleteActivityImportData | Deletes the data for the activity import with the specified id. |
Operation Details
This section provides further details on the operations related to activity.
Create Activity Export
The createActivityExport
operation creates a new activity export definition.
<eloqua.createActivityExport> <name>{$ctx:name}</name> <fields>{$ctx:fields}</fields> <autoDeleteDuration>{$ctx:autoDeleteDuration}</autoDeleteDuration> <filter>{$ctx:filter}</filter> <createdAt>{$ctx:createdAt}</createdAt> <createdBy>{$ctx:createdBy}</createdBy> <dataRetentionDuration>{$ctx:dataRetentionDuration}</dataRetentionDuration> <kbUsed>{$ctx:kbUsed}</kbUsed> <maxRecords>{$ctx:maxRecords}</maxRecords> <syncActions>{$ctx:syncActions}</syncActions> <updatedAt>{$ctx:updatedAt}</updatedAt> <updatedBy>{$ctx:updatedBy}</updatedBy> <uri>{$ctx:uri}</uri> </eloqua.createActivityExport>
properties
name:
Name of the definition. Useful for reusing definitions.fields
: List of fields to be included in the operation.autoDeleteDuration
: Time until the definition will be deleted.filter
: Specifies what data should be included in the export.createdAt:
Timestamp when the definition was created.
createdBy:
User who created the definition.
dataRetentionDuration:
Time until the staged data will be deleted.kbUsed
: The amount of space required to store staged data.maxRecords:
Specifies the maximum number of records to export.
syncActions:
Specifies additional operations to import or export.updatedAt:
Timestamp when the definition was updated.updatedBy:
User who updated the definition.uri:
System- generated URI that defines the definition for future referencing.
Sample request
Following is a sample REST/JSON request that can be handled by the createActivityExport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "name":"testExport", "fields":{"email":"Activity.Field(EmailAddress)"}, "filter":"'{{Activity.Type}}'='Subscribe'" }
Related Eloqua documentation
Create Activity Import
The createActivityImport operation creates a new activity import definition.
<eloqua.createActivityImport> <name>{$ctx:name}</name> <fields>{$ctx:fields}</fields> <autoDeleteDuration>{$ctx:autoDeleteDuration}</autoDeleteDuration> <isUpdatingMultipleMatchedRecords>{$ctx:isUpdatingMultipleMatchedRecords}</isUpdatingMultipleMatchedRecords> <createdAt>{$ctx:createdAt}</createdAt> <createdBy>{$ctx:createdBy}</createdBy> <dataRetentionDuration>{$ctx:dataRetentionDuration}</dataRetentionDuration> <identifierFieldName>{$ctx:identifierFieldName}</identifierFieldName> <kbUsed>{$ctx:kbUsed}</kbUsed> <updateRule>{$ctx:updateRule}</updateRule> <syncActions>{$ctx:syncActions}</syncActions> <updatedAt>{$ctx:updatedAt}</updatedAt> <updatedBy>{$ctx:updatedBy}</updatedBy> <uri>{$ctx:uri}</uri> </eloqua.createActivityImport>
properties
name:
Name of the definition. Useful for reusing definitions.fields
: List of fields to be included in the operation.autoDeleteDuration
: Time until the definition will be deleted.isUpdatingMultipleMatchedRecords
: Specifies whether Eloqua should update multiple records if multiple records match the identifierFieldName.createdAt:
Timestamp when the definition was created.
createdBy:
User who created the definition.
dataRetentionDuration:
Time until the staged data will be deleted.identifierFieldName
: Specifies which field to use to match the imported data to existing Eloqua data.updateRule:
Specifies how updates should be handled.kbUsed:
The amount of space required to store staged data.syncActions:
Specifies additional operations to import or export.updatedAt:
Timestamp when the definition was updated.updatedBy:
User who updated the definition.uri:
System- generated URI that defines the definition for future referencing.
Sample request
Following is a sample REST/JSON request that can be handled by the createActivityImport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "name":"testImport", "fields":{"email":"Activity.Field(EmailAddress)","type":"Activity.Type"}, "identifierFieldName":"email" }
Related Eloqua documentation
Create Activity Import Data
The createActivityImportData
operation submits the data for the activity import with the specified id.
<eloqua.createActivityImportData> <importId>{$ctx:importId}</importId> <importData>{$ctx:importData}</importData> </eloqua.createActivityImportData>
properties
importId
: The id of the import.importData
: Array of dictionary of strings.
Sample Request
Following is a sample REST/JSON request that can be handled by
operation.createActivityImportData
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "importId":"1", "importData":[ { "email": "sean.butler@example.com", "type":"Registered" }, { "FirstName": "nikita.robertson@example.com", "type":"Registered" } ] }
Related Eloqua documentation
Update Activity Export
The updateActivityExport
operation updates the activity export definition with the specified id.
<eloqua.updateActivityExport> <exportId>{$ctx:exportId}</exportId> <name>{$ctx:name}</name> <fields>{$ctx:fields}</fields> <autoDeleteDuration>{$ctx:autoDeleteDuration}</autoDeleteDuration> <filter>{$ctx:filter}</filter> <createdAt>{$ctx:createdAt}</createdAt> <createdBy>{$ctx:createdBy}</createdBy> <dataRetentionDuration>{$ctx:dataRetentionDuration}</dataRetentionDuration> <kbUsed>{$ctx:kbUsed}</kbUsed> <maxRecords>{$ctx:maxRecords}</maxRecords> <syncActions>{$ctx:syncActions}</syncActions> <updatedAt>{$ctx:updatedAt}</updatedAt> <updatedBy>{$ctx:updatedBy}</updatedBy> <uri>{$ctx:uri}</uri> </eloqua.updateActivityExport>
properties
exportId
: The id of the export.name:
Name of the definition. Useful for reusing definitions.fields
: List of fields to be included in the operation.autoDeleteDuration
: Time until the definition will be deleted.filter
: Specifies what data should be included in the export.createdAt:
Timestamp when the definition was created.
createdBy:
User who created the definition.
dataRetentionDuration:
Time until the staged data will be deleted.kbUsed
: The amount of space required to store staged data.maxRecords:
Specifies the maximum number of records to export.
syncActions:
Specifies additional operations to import or export.updatedAt:
Timestamp when the definition was updated.updatedBy:
User who updated the definition.uri:
System- generated URI that defines the definition for future referencing.
Sample request
Following is a sample REST/JSON request that can be handled by the updateActivityExport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"34", "name":"testExport", "fields":{"email":"Activity.Field(EmailAddress)"}, "filter":"'{{Activity.Type}}'='Subscribe'" }
Related Eloqua documentation
Update Activity Import
The updateActivityImport
operation updates the activity import definition with the specified id.
<eloqua.updateActivityImport> <importId>{$ctx:importId}</importId> <name>{$ctx:name}</name> <fields>{$ctx:fields}</fields> <autoDeleteDuration>{$ctx:autoDeleteDuration}</autoDeleteDuration> <isUpdatingMultipleMatchedRecords>{$ctx:isUpdatingMultipleMatchedRecords}</isUpdatingMultipleMatchedRecords> <createdAt>{$ctx:createdAt}</createdAt> <createdBy>{$ctx:createdBy}</createdBy> <dataRetentionDuration>{$ctx:dataRetentionDuration}</dataRetentionDuration> <identifierFieldName>{$ctx:identifierFieldName}</identifierFieldName> <kbUsed>{$ctx:kbUsed}</kbUsed> <updateRule>{$ctx:updateRule}</updateRule> <syncActions>{$ctx:syncActions}</syncActions> <updatedAt>{$ctx:updatedAt}</updatedAt> <updatedBy>{$ctx:updatedBy}</updatedBy> <uri>{$ctx:uri}</uri> </eloqua.updateActivityImport>
properties
importId: The id of the import.
name:
Name of the definition. Useful for reusing definitions.fields
: List of fields to be included in the operation.autoDeleteDuration
: Time until the definition will be deleted.isUpdatingMultipleMatchedRecords
: Specifies whether Eloqua should update multiple records if multiple records match the identifierFieldName.createdAt:
Timestamp when the definition was created.
createdBy:
User who created the definition.
dataRetentionDuration:
Time until the staged data will be deleted.identifierFieldName
: Specifies which field to use to match the imported data to existing Eloqua data.updateRule:
Specifies how updates should be handled.kbUsed:
The amount of space required to store staged data.syncActions:
Specifies additional operations to import or export.updatedAt:
Timestamp when the definition was updated.updatedBy:
User who updated the definition.uri:
System- generated URI that defines the definition for future referencing.
Sample request
Following is a sample REST/JSON request that can be handled by the updateActivityImport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "importId":"54", "name":"testImport", "fields":{"email":"Activity.Field(EmailAddress)","type":"Activity.Type"}, "identifierFieldName":"email" }
Related Eloqua documentation
Get Activity Types
The getActivityTypes
operation retrieves all activity types that match the specified criteria.
<eloqua.getActivityTypes> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getActivityTypes>
properties
limit
: Specifies maximum number of records to return.offset
: Specifies an offset that allows to retrieve the next batch of records.orderBy
: Term to order the results by..q
: Specifies query criteria used to filter resultl.totalResults
: The total number of records that satisfy the request.
Sample request
Following is a sample REST/JSON request that can be handled by the getActivityTypes
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "totalResults":"true", "q":"name='E*'", "orderBy":"name DESC", "offset":"0", "limit":"10" }
Related Eloqua documentation
Get Activity Type By Id
The getActivityTypeById
operation retrieves the specified field.
<eloqua.getActivityTypeById> <typeId>{$ctx:typeId}</typeId> </eloqua.getActivityTypeById>
properties
typeId:
The id of the activity type.
Sample Request
Following is a sample REST/JSON request that can be handled by getActivityTypeById
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "typeId":"100001" }
Related Eloqua documentation
Get Activity Imports
The getActivityImports
operation retrieves all activity imports that match the specified criteria.
<eloqua.getActivityImports> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getActivityImports>
properties
limit
: Specifies maximum number of records to return.offset
: Specifies an offset that allows to retrieve the next batch of records.orderBy
: Term to order the results by..q
: Specifies query criteria used to filter resultl.totalResults
: The total number of records that satisfy the request.
Sample request
Following is a sample REST/JSON request that can be handled by the getActivityImports
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "totalResults":"true", "q":"name='E*'", "orderBy":"name DESC", "offset":"0", "limit":"10" }
Related Eloqua documentation
Get Activity Import By Id
The getActivityImportById
operation retrieves the specified import.
<eloqua.getActivityImportById> <importId>{$ctx:importId}</importId> </eloqua.getActivityImportById>
properties
importId:
The id of the activity import.
Sample Request
Following is a sample REST/JSON request that can be handled by getActivityImportById
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "importdId":"100001" }
Related Eloqua documentation
Get Activity Export By Id
The getActivityExportById
operation retrieves the specified export.
<eloqua.getActivityExportById> <exportId>{$ctx:exportId}</exportId> </eloqua.getActivityExportById>
properties
exportId:
The id of the activity export.
Sample Request
Following is a sample REST/JSON request that can be handled by getActivityExportById
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"100001" }
Related Eloqua documentation
Get Activity Export Data By Id
The getActivityExportDataById
operation retrieves the data for the specified activity export.
<eloqua.getActivityExportDataById> <exportId>{$ctx:exportId}</exportId> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getActivityExportDataById>
properties
exportId
: The id of the activity export.limit
: Specifies maximum number of records to return.offset
: Specifies an offset that allows to retrieve the next batch of records.totalResults
: The total number of records that satisfy the request.
Sample Request
Following is a sample REST/JSON request that can be handled by getActivityExportDataById
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"1", "totalResults":"true", "offset":"2, "limit":"1o" }
Related Eloqua documentation
Delete Activity Export
The deleteActivityExport
operation deletes the specified export.
<eloqua.deleteActivityExport> <exportId>{$ctx:exportId}</exportId> </eloqua.deleteActivityExport>
properties
exportId:
The id of the activity export.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteActivityExport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"100001" }
Related Eloqua documentation
Delete Activity Export Data
The deleteActivityExportData
operation deletes the specified export data.
<eloqua.deleteActivityExportData> <exportId>{$ctx:exportId}</exportId> </eloqua.deleteActivityExportData>
properties
exportId:
The id of the activity export.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteActivityExportData
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"100001" }
Related Eloqua documentation
Delete Activity Import
The deleteActivityImport
operation deletes the specified import.
<eloqua.deleteActivityImport> <importId>{$ctx:importId}</importId> </eloqua.deleteActivityImport>
properties
importId:
The id of the activity import.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteActivityImport
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "exportId":"100001" }
Related Eloqua documentation
Delete Activity Import Data
The deleteActivityImportData
operation deletes the specified import data.
<eloqua.deleteActivityImportData> <importId>{$ctx:importId}</importId> </eloqua.deleteActivityImportData>
properties
importId:
The id of the activity import.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteActivityImportData
operation.
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "importId":"100001" }
Related Eloqua documentation
Sample Configuration
Following is a sample proxy service that illustrates how to connect to Eloqua with the getAccessTokenFromRefreshToken
operation and use the getActivityTypeById
operation. The sample request for this proxy can be found in getActivityTypeById
sample request . You can use this sample as a template for using other operations in this category.
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="getActivityTypeById" transports="https http" startOnLoad="true" trace="disable"> <description/> <target> <inSequence> <property name="refreshToken" expression="json-eval($.refreshToken)"/> <property name="scope" expression="json-eval($.scope)"/> <property name="redirectUri" expression="json-eval($.redirectUri)"/> <property name="clientId" expression="json-eval($.clientId)"/> <property name="apiVersion" expression="json-eval($.apiVersion)"/> <property name="clientSecret" expression="json-eval($.clientSecret)"/> <property name="typeId" expression="json-eval($.typeId)"/> <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> <eloqua.getActivityTypeById> <typeId>{$ctx:typeId}</typeId> </eloqua.getActivityTypeById> <respond/> </inSequence> <outSequence/> <faultSequence/> </target> </proxy>