Examinare API - 电话调查
listPhoneSurveys
返回数据
此 API 调用将返回多个 XML 调查容器。 XML 调查容器将包含包括 surveyID 在内的信息,这些信息将在您调用框架时使用。
样本输出
<?xml version="1.0" encoding="utf-8"?><response>
<status>Success</status>
<surveys>
<surveyInfo surveyID="1379659109">
<surveyID>1379659109</surveyID>
<surveyName>Outbound Phone Survey</surveyName>
<surveyTaggName></surveyTaggName>
<status>Outbound</status>
<callerIDs>
<callerID>+46188008080</callerID>
<callerID>+46703121234</callerID>
<callerID>+46855926800</callerID>
<callerID>+61865558135</callerID>
<callerID>+6624028269</callerID>
<callerID>+14088894369</callerID>
<callerID>+46840809736</callerID>
</callerIDs>
<completedAnswers>6</completedAnswers>
<stoppedAnswers>0</stoppedAnswers>
<surveyLanguage>sv</surveyLanguage>
</surveyInfo>
<surveyInfo surveyID="1390898671">
<surveyID>1390898671</surveyID>
<surveyName>Inbound Phone Survey</surveyName>
<surveyTaggName></surveyTaggName>
<status>Inbound</status>
<phoneNumbers>
<phoneNumber>
<to>+46188008020</to>
<from>*</from>
</phoneNumber>
</phoneNumbers>
<completedAnswers>9</completedAnswers>
<stoppedAnswers>0</stoppedAnswers>
<surveyLanguage>en</surveyLanguage>
</surveyInfo>
</surveys>
</response>
列出已作为电话调查发布的所有调查及其状态。
POST 数据信息:
这个函数不需要任何额外的POST数据。
关键信息
| surveyID | Examinare中的调查ID。 |
| surveyName | 电话调查的名称。 |
| surveyTaggName | Examinare中使用的标签。 |
| status | – 入境 – 出境 |
| callerIDs | 仅在 Outbound 和此时显示 callerID 需要与请求一起发送 sendPhoneSurvey. 如果您需要添加另一个 CallerID 联系支持团队授权它。 |
| phoneNumbers | 仅显示入站时,并显示您的电话调查可联系的电话号码以及 callerID 你需要有它来回答。 |
| completedAnswers | 调查答复数量(整个调查 ) 。 |
| stoppedAnswers | 调查中被阻止的答复数量(整个调查 ) 。 |
| surveyLanguage | 电话调查中使用的语言的简码。 |
sendPhoneSurvey
没有预览
提出实际拨号请求。
只有在您的帐户中启用了电话调查时,该功能才能正常工作!
联系销售部门以启用。
POST 数据信息:
(红色 信息是强制性的 ) , 所有的POST数据标题是大小写敏感的。
| surveyID | Examinare中的调查ID。 |
| 用户_* | contactID 来自联系人信息。 * 需要更改为数字。 例如 user_1, user_2 等等。 |
| callerID | 在您的帐户中激活的callerid。 这些可以在呼叫中找到 listPhoneSurveys. (非强制性) |