Examinare API - Phone Surveys
listPhoneSurveys
Return data
This API call will return a multiple XML survey container. XML survey container will contain the information including the surveyID that will be used in your calls to the framework.
Sample Output
<?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>
List all Surveys that has been published as a Phone Survey and status of them.
POST data information:
This function does not need any extra POST data.
Returning Key information
| surveyID | Id of the Survey in Examinare. |
| surveyName | Name of the Phone Survey. |
| surveyTaggName | Tag used in Examinare. |
| status | – Inbound – Outbound |
| callerIDs | Shows only when Outbound and this callerID needs to be sent with the request sendPhoneSurvey. If you need to add another CallerID contact Support Team to authorize it. |
| phoneNumbers | Shows only when Inbound and shows what phone number your Phone Survey is reachable at and what callerID you need to have for it to answer. |
| completedAnswers | Amount of answers on the survey (For the entire Survey). |
| stoppedAnswers | Amount of answers blocked in the survey (For the entire Survey). |
| surveyLanguage | The short code of the language used in the Phone Survey. |
sendPhoneSurvey
No Preview
Make the actual dialing request.
Functionality only works if you have Phone Survey enabled on your account!
Contact Sales to enable.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
| surveyID | Id of the Survey in Examinare. |
| user_* | contactID from the contact information. * needs to be changed into numbers. For example user_1, user_2 etc. |
| callerID | The callerid activated in your account. These can be found in calling listPhoneSurveys. (OPTIONAL) |