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 Contacts in Eloqua
Overview
The following operations allow you to work with contacts. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with contacts, see Sample configuration .
Operation | Description |
---|---|
createContactExport | Creates a new contact export definition. |
createContactImport | Creates a new contact import definition. |
createContactImportData | Submits the data for the contact import with the specified id. |
updateContactExport | Updates the contact export definition with the specified id. |
updateContactImport | Updates the contact import definition with the specified id. |
getContactFields | Retrieve all the details of contact fields. |
getContactFieldById | Retrieve the details of given contact field id. |
getContactFilters | Retrieve all the details of contact filters. |
getContactFilterById | Retrieve the details of given contact filter id. |
getContactImports | Retrieve all the details of contact imports. |
getContactImportById | Retrieve the details of given contact import id. |
getContactExports | Retrieve all the details of contact exports. |
getContactExportById | Retrieve the details of given contact export id. |
getContactLists | Retrieve all the details of contact lists. |
getContactListById | Retrieve the details of given contact list id. |
getContactSegments | Retrieve all the details of contact segments. |
getContactSegmentById | Retrieve the details of given contact segment id. |
getContactExportDataById | Retrieve the data of given contact export id. |
deleteContactExport | Deletes the specified contacts export definition. |
deleteContactExportData | Deletes the data for the contact export with the specified id. |
deleteContactImport | Deletes the specified contact import definition. |
deleteContactImportData | Deletes the data for the contact import with the specified id. |
Operation Details
This section provides further details on the operations related to contacts.
Create Contact Export
The createContactExport
operation creates a new contact export definition.
<eloqua.createContactExport> <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.createContactExport>
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 createContactExport
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":{"ContactId":"Contact.Id","FirstName":"Contact.Field(C_FirstName)","LastName":"Contact.Field(C_LastName)"}, "autoDeleteDuration":"100" }
Related Eloqua documentation
Create Contact Import
The createContactImport
operation creates a new contact import definition.
<eloqua.createContactImport> <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.createContactImport>
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 createContactImport
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":{"ContactId":"Contact.Id","FirstName":"Contact.Field(C_FirstName)","LastName":"Contact.Field(C_LastName)"}, "identifierFieldName":"ContactId" }
Related Eloqua documentation
Create Contact Import Data
The createContactImportData operation submits the data for the contact import with the specified id.
<eloqua.createContactImportData> <importId>{$ctx:importId}</importId> <importData>{$ctx:importData}</importData> </eloqua.createContactImportData>
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 createContactImportData
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":"1", "importData":[ { "ContactId": "1", "FirstName": "Harry" }, { "ContactId": "2", "FirstName": "Lisanne" } ] }
Related Eloqua documentation
Update Contact Export
The updateContactExport
operation updates the contact export definition with the specified id.
<eloqua.updateContactExport> <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.updateContactExport>
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 updateContactExport
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":{"ContactId":"Contact.Id","FirstName":"Contact.Field(C_FirstName)","LastName":"Contact.Field(C_LastName)"}, "autoDeleteDuration":"100" }
Related Eloqua documentation
Update Contact Import
The updateContactImport
operation updates the contact import definition with the specified id.
<eloqua.updateContactImport> <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.updateContactImport>
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 updateContactImport
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":{"ContactId":"Contact.Id","FirstName":"Contact.Field(C_FirstName)","LastName":"Contact.Field(C_LastName)"}, "identifierFieldName":"ContactId" }
Related Eloqua documentation
Get Contact Fields
The getContactFields
operation retrieves all contact fields that match the specified criteria.
<eloqua.getContactFields> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactFields>
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 getContactFields
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 Contact Field By Id
The getContactFieldById
operation retrieves the specified field.
<eloqua.getContactFieldById> <fieldId>{$ctx:fieldId}</fieldId> </eloqua.getContactFieldById>
properties
fieldId:
The id of the contact field.
Sample Request
Following is a sample REST/JSON request that can be handled by getContactFieldById
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", "fieldId":"100001" }
Related Eloqua documentation
Get Contact Filters
The getContactFilters
operation retrieves all contact filters that match the specified criteria.
<eloqua.getContactFilters> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactFilters>
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 getContactFilters
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 Contact Filter By Id
The getContactFilterById
operation retrieves the specified filter.
<eloqua.getContactFieldById> <filterId>{$ctx:filterId}</filterId> </eloqua.getContactFilterById>
properties
filterId:
The id of the contact filter.
Sample Request
Following is a sample REST/JSON request that can be handled by getContactFilterById
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", "filterId":"100001" }
Related Eloqua documentation
Get Contact Imports
The getContactImports
operation retrieves all contact imports that match the specified criteria.
<eloqua.getContactFields> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactFields>
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 getContactImports
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 Contact Import By Id
The getContactImportById
operation retrieves the specified import.
<eloqua.getContactImportById> <importId>{$ctx:importId}</importId> </eloqua.getContactImportById>
properties
importId:
The id of the contact import.
Sample Request
Following is a sample REST/JSON request that can be handled by getContactImportById
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 Contact Exports
The getContactExports
operation retrieves all contact exports that match the specified criteria.
<eloqua.getContactExports> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactExports>
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 getContactExports
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 Contact Export By Id
The getContactExportById
operation retrieves the specified export.
<eloqua.getContactExportById> <exportId>{$ctx:exportId}</exportId> </eloqua.getContactExportById>
properties
exportId:
The id of the contact export.
Sample Request
Following is a sample REST/JSON request that can be handled by getContactExportById
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 Contact Lists
The getContactLists
operation retrieves all contact lists that match the specified criteria.
<eloqua.getContactLists> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactLists>
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 getContactLists
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 Contact List By Id
The getContactListById
operation retrieves the specified list.
<eloqua.getContactListById> <listId>{$ctx:listId}</listId> </eloqua.getContactListById>
properties
listId:
The id of the contact list.
Sample Request
Following is a sample REST/JSON request that can be handled by
operation.getContactListById
{ "refreshToken":"MTYXXXXU5MDoxc2FtZGNnazJWay03SYWhYflNJTlkxY2VtQ2M1RDFrVmpifjlXaEJFV35Ddk9qelplQXXXXXXVNoT25D", "redirectUri":"https://esbconnectors.blogspot.com", "clientId":"1dxxx80-3848-4a3f-a225-6s92fexxxa8", "clientSecret":"1K-yOHxxxgHr-Dm5saaskn0wsOj3eouQnbzXXXVT~NXXhdkldszB-dRad9TxHzcxxxFiiSSLtuL8zBZeXZ", "apiVersion":"2.0", "scope":"full", "listId":"100001" }
Related Eloqua documentation
Get Contact Segments
The getContactSegments
operation retrieves all contact segments that match the specified criteria.
<eloqua.getContactSegments> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <orderBy>{$ctx:orderBy}</orderBy> <q>{$ctx:q}</q> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactSegments>
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 getContactSegments
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 Contact Segment By Id
The getContactSegmentById
operation retrieves the specified segment.
<eloqua.getContactSegmentById> <segmentId>{$ctx:segmentId}</segmentId> </eloqua.getContactSegmentById>
properties
segmentId:
The id of the contact segment.
Sample Request
Following is a sample REST/JSON request that can be handled by getContactSegmentById
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", "segmentId":"100001" }
Related Eloqua documentation
Get Contact Export Data By Id
The getContactExportDataById
operation retrieves the data for the specified contact export.
<eloqua.getContactExportDataById> <exportId>{$ctx:exportId}</exportId> <limit>{$ctx:limit}</limit> <offset>{$ctx:offset}</offset> <totalResults>{$ctx:totalResults}</totalResults> </eloqua.getContactExportDataById>
properties
exportId
: The id of the contact 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 getContactExportDataById
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 Contact Export
The deleteContactExport
operation deletes the specified export.
<eloqua.deleteContactExport> <exportId>{$ctx:exportId}</exportId> </eloqua.deleteContactExport>
properties
exportId:
The id of the contact export.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteContactExport
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 Contact Export Data
The deleteContactExportData
operation deletes the specified export data.
<eloqua.deleteContactExportData> <exportId>{$ctx:exportId}</exportId> </eloqua.deleteContactExportData>
properties
exportId:
The id of the contact export.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteContactExportData
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 Contact Import
The deleteContactImport
operation deletes the specified import.
<eloqua.deleteContactImport> <importId>{$ctx:importId}</importId> </eloqua.deleteContactImport>
properties
importId:
The id of the contact import.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteContactImport
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 Contact Import Data
The deleteContactImportData
operation deletes the specified import data.
<eloqua.deleteContactImportData> <importId>{$ctx:importId}</importId> </eloqua.deleteContactImportData>
properties
importId:
The id of the contact import.
Sample Request
Following is a sample REST/JSON request that can be handled by deleteContactImportData
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 getContactFieldById
operation. The sample request for this proxy can be found in getContactFieldById 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="getContactFieldById" 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="fieldId" expression="json-eval($.fieldId)"/> <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.getContactFieldById> <fieldId>{$ctx:fieldId}</fieldId> </eloqua.getContactFieldById> <respond/> </inSequence> <outSequence/> <faultSequence/> </target> </proxy>