I need to fetch 1000k records from Eloqua to mule esb,I make the below 3 calls to Eloqua to fetch data :
As the vCore limitation i make first 2 calls once and last call so many times, like first iteration fetch 20k records and process update into salesforce. In second iteration next 20k records.
The issue i face is after making 30th call/iteration payload retried from eloqua is 'null', Still around 400k records are there in eloqua but could not fetch.
It took 12 hours to complete 29 calls, is there any time limitation in Eloqua ? like one sync call is expired in 12 hours like that?
Take a look at the dataRetentionDuration field in the export definition response. It seems to be 12 hours by default. Try creating the export with a bigger value.
From the latest docs: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/op-api-bulk-2.0-contacts-exports-post.html
Request
POST /contacts/exports
Content-Type: application/json
{
"name": "Contact Lead Score Export",
"fields": {
"Rating": "{{Contact.LeadScore.Model[1].Rating}}",
"Profile": "{{Contact.LeadScore.Model[1].ProfileScore}}",
"Engagement": "{{Contact.LeadScore.Model[1].EngagementScore}}",
"EmailAddress": "{{Contact.Field(C_EmailAddress)}}"
},
"dataRetentionDuration": "PT48H"
}
Response
{
"name": "Contact Lead Score Export",
"fields": {
"Rating": "{{Contact.LeadScore.Model[1].Rating}}",
"Profile": "{{Contact.LeadScore.Model[1].ProfileScore}}",
"Engagement": "{{Contact.LeadScore.Model[1].EngagementScore}}",
"EmailAddress": "{{Contact.Field(C_EmailAddress)}}"
},
"dataRetentionDuration": "PT48H",
"uri": "/contacts/exports/29588",
"createdBy": "Api.User",
"createdAt": "2015-08-19T20:51:28.8201911Z",
"updatedBy": "Api.User",
"updatedAt": "2015-08-19T20:51:28.8201911Z"
}