On this Page
Snap type: | Read | |||||||
---|---|---|---|---|---|---|---|---|
Description: | This Snap is used to retrieve the activities associated with one or more Eloqua contact asset. It invokes the Eloqua REST API 1.0 "Read (list)" endpoint for Activities.
| |||||||
Prerequisites: | [None] | |||||||
Support and limitations: | Works in Ultra Task Pipelines. | |||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Eloqua Account for more information. | |||||||
Views: |
| |||||||
Settings | ||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||
Contact ID | Required. ID of the Eloqua contact associated with the activities of interest, or an expression which evaluates to a contact ID. Example: | |||||||
Activity Type | Required. The type of activity you wish to retrieve for the specified contact. One of:
| |||||||
Start Date/Time | Required. Start of the time range for activities to retrieve. This should be a 10-digit Unix timestamp, or an expression that evaluates to a timestamp or a DateTime. See http://www.unixtimestamp.com/.
| |||||||
End Date/Time | Required. End of the time range for activities to retrieve. | |||||||
Count | Maximum number of activities to retrieve for each contact. This is not a limit on the number of documents to output, which is always equal to the number of input documents (or 1 if there are no input documents). | |||||||
Page lookup error: page "Anaplan Read" not found. If you're experiencing issues please see our Troubleshooting Guide. | Page lookup error: page "Anaplan Read" not found. If you're experiencing issues please see our Troubleshooting Guide. |
Examples
Sample input:
[ { "id": "4156" }, { "id": "4157" }, { "id": "4158" } ]
Sample output:
[ { "contactId" : "4156", "activities" : [ { "type" : "Activity", "activityDate" : "1403589324", "activityType" : "emailSubscribe", "asset" : "0", "assetType" : "email", "contact" : "4156", "details" : [ ], "id" : "130345" }, { "type" : "Activity", "activityDate" : "1341343693", "activityType" : "emailSubscribe", "asset" : "0", "assetType" : "email", "contact" : "4156", "details" : [ ], "id" : "2947" } ] }, { "contactId" : "4157", "activities" : [ ] }, { "contactId" : "4158", "activities" : [ { "type" : "Activity", "activityDate" : "1341343693", "activityType" : "emailSubscribe", "asset" : "0", "assetType" : "email", "contact" : "4158", "details" : [ ], "id" : "2948" } ] } ]