【发布时间】:2016-11-19 19:32:56
【问题描述】:
即使我的请求在 JSON body 中提供了所有必需的参数,为什么会出现以下错误?
API:https://developer.surveymonkey.com/docs/methods/send_flow/
【问题讨论】:
标签: rest http-post surveymonkey
即使我的请求在 JSON body 中提供了所有必需的参数,为什么会出现以下错误?
API:https://developer.surveymonkey.com/docs/methods/send_flow/
【问题讨论】:
标签: rest http-post surveymonkey
问题是您在收集器字段下有id。这不是一个允许的属性。 send_flow 创建一个新的收集器和电子邮件,并将它们附加到现有调查中,因此您无法选择已经存在的收集器。只需从您的有效负载中删除它,您就不会再收到该错误了。
{
"survey_id": "111237200",
"collector": {
"send": true,
"recipients": [{
...
}]
},
"email_message": {
"subject": "Ice and Fire event",
"reply_email": "sunil@ljhjhjk.com"
}
}
【讨论】: