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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »



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 .

OperationDescription
1Working with Activities in Eloqua Creates a new activity export definition.
1Working with Activities in EloquaCreates a new activity import definition.
1Working with Activities in EloquaSubmits the data for the activity import with the specified id.
updateActivityExport Updates the activity export definition with the specified id.
1Working with Activities in EloquaUpdates the activity import definition with the specified id.
1Working with Activities in EloquaRetrieve all the details of activity types.
getActivityTypeById Retrieve the details of given activity type id.
getActivityImports Retrieve all the details of activity imports.
1Working with Activities in EloquaRetrieve the details of given activity import id.
1Working with Activities in EloquaRetrieve the details of given activity export id.
1Working with Activities in EloquaRetrieve the data of given activity export id.
1Working with Activities in EloquaDeletes the specified activity export definition.
1Working with Activities in EloquaDeletes 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.

createActivityExport
<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.

Sample request for createActivityExport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/post-exports.htm

Create Activity Import

The createActivityImport operation creates a new activity import definition.

createActivityImport
<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.

Sample request for createActivityImport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/post-imports.htm

Create Activity Import Data

The createActivityImportData operation submits the data for the activity import with the specified id.

createActivityImportData
<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 createActivityImportData operation.

Sample request for 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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/post-imports-id-data.htm

Update Activity Export

The updateActivityExport operation updates the activity export definition with the specified id.

updateActivityExport
<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.

Sample request for updateActivityExport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/put-exports-id.htm

Update Activity Import

The updateActivityImport operation updates the activity import definition with the specified id.

updateActivityImport
<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.

Sample request for updateActivityImport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/put-imports-id.htm

Get Activity Types

The getActivityTypes operation retrieves all activity types that match the specified criteria.

getActivityTypes
<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.

Sample request for getActivityTypes
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-types.htm

Get Activity Type By Id

The getActivityTypeById operation retrieves the specified field.

getActivityTypeById
<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.

Sample request for getActivityTypeById
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-types-id.htm

Get Activity Imports

The getActivityImports operation retrieves all activity imports that match the specified criteria.

getActivityImports
<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.

Sample request for getActivityImports
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-imports.htm

Get Activity Import By Id

The getActivityImportById operation retrieves the specified import.

getActivityImportById
<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.

Sample request for getActivityImportById
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-imports-id.htm

Get Activity Export By Id

The getActivityExportById operation retrieves the specified export.

getActivityExportById
<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.

Sample request for getActivityExportById
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-exports-id.htm

Get Activity Export Data By Id

The getActivityExportDataById operation retrieves the data for the specified activity export.

getActivityExportDataById
<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.

Sample request for getActivityExportDataById
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/get-exports-id-data.htm

Delete Activity Export

The deleteActivityExport operation deletes the specified export.

deleteActivityExport
<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.

Sample request for deleteActivityExport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/delete-exports-id.htm

Delete Activity Export Data

The deleteActivityExportData operation deletes the specified export data.

deleteActivityExportData
<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.

Sample request for deleteActivityExportData
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/delete-exports-id-data.htm

Delete Activity Import

The deleteActivityImport operation deletes the specified import.

deleteActivityImport
<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.

Sample request for deleteActivityImport
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/delete-imports-id.htm

Delete Activity Import Data

The deleteActivityImportData operation deletes the specified import data.

deleteActivityImportData
<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.

Sample request for deleteActivityImportData
{
    "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

http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/Content/D_Reference/endpoints/activities/delete-imports-id-data.htm

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.

Sample proxy
<?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>
  • No labels