2017-08-02 80 views
1

我需要从Eloqua取1000K记录骡子ESB,我做了以下3个电话到Eloqua来获取数据:是否有在Eloqua一个同步调用任何时间限制吗?

  1. 创建导出定义
  2. 传出数据同步到临时集结区
  3. 检索数据

随着核心电压限制我做第一个2个调用一次,最后一次通话了这么多次,就像第一次迭代取20K记录和处理更新到Salesforce。在第二次迭代接下来的20K记录。

我所面临的问题正在从eloqua重试30呼叫/迭代有效载荷之后是“空”,还有40万左右的记录是有在eloqua但无法提取。

它用了12个小时完成29个呼叫,是否有在Eloqua任何时间限制吗?就像一个同步电话在12小时内过期了?

回答

1

查看导出定义响应中的dataRetentionDuration字段。它似乎默认为12小时。尝试使用更大的值创建导出。

从最新的文档:http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/op-api-bulk-2.0-contacts-exports-post.html

请求

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" 
} 

响应

{ 
    "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" 
} 
+0

嗨,它怎么可以配置为48小时? – Thiru

+0

我在答案中更新了请求,其中包含“dataRetentionDuration”:“PT48H”。我希望这是有帮助的。 –

1

retrieving sync data默认限制为1000;但是,最大值可以设置为50,000。如果将限制查询参数设置为50000,则可以检索包含8个请求的400,000条记录。

请参阅本教程了解更多详细信息和示例 - Retrieving large volumes of data

+0

我会去loupatrick的建议。他是该API的专家。 –

相关问题