简体   繁体   English

Eloqua API “EmailTestDeployment”报告显示为实时发送

[英]Eloqua API “EmailTestDeployment” report shows as live send

I'm using the REST API 2.0 for sending quick tests but they're coming through as 'live' sends in the reports.我正在使用 REST API 2.0 发送快速测试,但它们在报告中作为“实时”发送。 Surely there's a way for it show up as a test, right?肯定有办法让它显示为测试,对吧? I feel like I'm missing something simple but not sure what it is.我觉得我错过了一些简单的东西,但不确定它是什么。 Here's the object I'm passing in the request body:这是我在请求正文中传递的 object:

{
   "type": "EmailTestDeployment",
   "name": "REST Test 01",
   "contactId": selectedContact[0].id,
   "sendFromUserId": null,
   "email": {
      "type": "Email",
      "id": email.id,
      "name": email.name
   },
   "sendOptions": {
      "allowResend": "true",
      "allowSendToUnsubscribe": "true"
   }
}

Any help would be greatly appreciated, thanks!任何帮助将不胜感激,谢谢!

Sending a test email is only available through the user interface.发送测试 email 只能通过用户界面进行。 I would recommend creating a test copy of the email for API test sends so it does not muddle your reporting as much.我建议为 API 测试发送创建 email 的测试副本,这样它就不会混淆您的报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM