...
...
Overview
The following operations allow you to work with Contact Lists. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with Contact Lists, see Sample configuration .
For more details click Contact Lists.
This section provides further details on the operations related to Contact Lists.
Anchor |
---|
| createAContactList |
---|
| createAContactList |
---|
|
Create A Contact ListThe createAContactList
operation creates a new contact list.
Code Block |
---|
language | xml |
---|
title | createAContactList |
---|
|
<eloqua.createAContactList>
<scope>global</scope>
<count>10</count>
<membershipAdditions>["1"]</membershipAdditions>
<name>my new contact list</name>
<dataLookupId>3965b95a-9e64-42bf-9d8d-a277bf02184f</dataLookupId>
<membershipDeletions>["1"]</membershipDeletions>
</eloqua.createAContactList> |
scope :
To create a contact list on this scope.
count :
The number of the contacts on a list.membershipAdditions :
Boolean value, to set the permission to add members.name :
Name of the contact list to create the list on this name.dataLookupId :
The identifier of data lookup.membershipDeletions :
Boolean value, to set the permission to delete members.
Following is a sample REST/JSON request that can be handled by the createAContactList
operation.
Code Block |
---|
language | xml |
---|
title | Sample request for createAContactList |
---|
|
{
"username":"myusername",
"password":"mypassword",
"siteName":"mysiteName",
"scope":"global",
"count":10,
"membershipAdditions":["1"],
"name":"my new contact list",
"dataLookupId":"3965b95a-9e64-42bf-9d8d-a277bf02184f",
"membershipDeletions":["1"]
} |
Anchor |
---|
| updateAContactList |
---|
| updateAContactList |
---|
|
Update A Contact ListThe updateAContactList
operation updates a contact list.
Code Block |
---|
language | xml |
---|
title | updateAContactList |
---|
|
<eloqua.updateAContactList>
<scope>global</scope>
<count>10</count>
<membershipAdditions>["1"]</membershipAdditions>
<name>my new contact list</name>
<dataLookupId>3965b95a-9e64-42bf-9d8d-a277bf02184f</dataLookupId>
<membershipDeletions>["1"]</membershipDeletions>
</eloqua.updateAContactList> |
contactListId :
Unique identifier of the contact list.
scope :
To create a contact list on this scope.
count :
The number of the contacts on a list.membershipAdditions :
Boolean value, to set the permission to add members.name :
Name of the contact list to update the list on this name.dataLookupId :
The identifier of data lookup.membershipDeletions :
Boolean value, to set the permission to delete members.
Following is a sample REST/JSON request that can be handled by the updateAContactList
operation.
Code Block |
---|
language | xml |
---|
title | Sample request for updateAContactList |
---|
|
{
"username":"myusername",
"password":"mypassword",
"siteName":"mysiteName",
"contactListId":"1",
"scope":"global",
"count":10,
"membershipAdditions":["1"],
"name":"my new contact list",
"dataLookupId":"3965b95a-9e64-42bf-9d8d-a277bf02184f",
"membershipDeletions":["1"]
} |
Anchor |
---|
| getAllContactLists |
---|
| getAllContactLists |
---|
|
Get All Contact ListsThe getAllContactLists
operation retrieves all contact lists.
Code Block |
---|
language | xml |
---|
title | getAllContactLists |
---|
|
<eloqua.getAllContactLists>
<count>2</count>
<depth>1</depth>
<search></search>
<page>1</page>
<orderBy></orderBy>
<lastUpdatedAt>1426066807</lastUpdatedAt>
<extensions>1</extensions>
</eloqua.getAllContactLists> |
count :
The number of results in a page to display. This must me in between 1 and 1000.
depth
:
The RequestDepth. It can be 'Complete' or 'Reference' or 'Minimal' or 'Partial'.
search
:
The search field, to search for that field.
page
:
The page number to display. This must be greater than 1.
orderBy
:
The order by property to order the fields.
lastUpdatedAt
:
The date time of the last update.
extensions
:
The identifier of the view.
Anchor |
---|
| sampleRequest |
---|
| sampleRequest |
---|
|
Sample RequestFollowing is a sample REST/JSON request that can be handled by getAllContactLists
operation.
Code Block |
---|
language | xml |
---|
title | Sample request for getAllContactLists |
---|
|
{
"username":"myusername",
"password":"mypassword",
"siteName":"mysiteName",
"count":2,
"page":1,
"lastUpdatedAt":1426066807,
"depth":"Complete",
"extensions":"1"
} |
Anchor |
---|
| getAContactList |
---|
| getAContactList |
---|
|
Get A Contact ListThe getAContactList
operation retrieves the details of a contact list associated with the specified contact list id.
Code Block |
---|
language | xml |
---|
title | getAContactList |
---|
|
<eloqua.getAContactList>
<contactListId>1</contactListId>
<depth>Complete</depth>
<extensions></extensions>
</eloqua.getAContactList> |
contactListId :
Unique identifier of the contact list.
depth
:
The RequestDepth. It can be 'Complete' or 'Reference' or 'Minimal' or 'Partial'.
extensions
:
The identifier of the view.
Following is a sample REST/JSON request that can be handled by the getAContactList
operation.
Code Block |
---|
language | xml |
---|
title | Sample request for getAContactList |
---|
|
{
"username":"myusername",
"password":"mypassword",
"siteName":"mysiteName",
"contactListId":"1",
"depth":"Complete"
} |
Anchor |
---|
| updateAContactList |
---|
| updateAContactList |
---|
|
Delete A Contact ListThe deleteAContactList
operation deletes a contact list information associated with the specified contact list id.
Code Block |
---|
language | xml |
---|
title | deleteAContactList |
---|
|
<eloqua.deleteAContactList>
<contactListId>1</contactListId>
</eloqua.deleteAContactList> |
contactListId
:
Unique identifier of the contact list.
Following is a sample REST/JSON request that can be handled by the deleteAContactList
operation.
Code Block |
---|
language | xml |
---|
title | Sample request for deleteAContactList |
---|
|
{
"username":"myusername",
"password":"mypassword",
"siteName":"mysiteName",
"contactListId":"1"
} |
Sample ConfigurationFollowing is a sample proxy service that illustrates how to connect to Eloqua Standard API with the init
operation to use the getAllContactLists
operation. The sample request for this proxy can be found in getAllContactLists
sample request . You can use this sample as a template for using other operations in this category.
...