Quantcast
Channel: Topliners : All Content - All Communities
Viewing all articles
Browse latest Browse all 3423

How to get activity data by Bulk APIs v2.0?

$
0
0

Hi all,

 

I have completed to get Account data by Bulk APIs v2.0. (create an export for Account and then create a Sync for this export)

But when trying to use the integration to work for Activity data, I always get Error status of Sync.

So, could you please show me any suggestions for this issue?

Is there any option different between exports of Account and Activity?

 

Thanks,

Biao

 

PS: I find an example to request activity data:

POST https://<host>.eloqua.com/api/bulk/2.0/activities/exports

{

"name":"Example Activity Export",

"fields":{

"ActivityId":"{{Activity.Id}}",

"AssetName":"{{Activity.Asset.Name}}",

"ActivityType":"{{Activity.Type}}",

"Id":"{{Activity.Id}}",

"ActivityDate":"{{Activity.CreatedAt}}",

"EmailAddress":"{{Activity.Field(EmailAddress)}}",

"ContactId":"{{Activity.Contact.Id}}",

"VisitorId":"{{Activity.Visitor.Id}}",

"AssetType":"{{Activity.Asset.Type}}",

"AssetId":"{{Activity.Asset.Id}}",

"RawData":"{{Activity.Field(RawData)}}"

},

"filter":"’{{Activity.Type}}’=’FormSubmit’"

}

I get error status of Sync for this export. But when I remove the 'Id' and 'RawData' fields, I get success.

I guess that there are some roles of the field settings, e.g. one statement should not appear more than once, and so on.

 

So, where could I find the roles? Or is there an API could return the valid field list?

Thank you very much.


Viewing all articles
Browse latest Browse all 3423

Trending Articles