clearVotes
No Preview
Clear the votes from a survey. Will delete all votes in a survey, use with caution!
POST data information:
(Red information is mandatory, black is optional), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
Return data
This API call will return a single status information if successful otherwise an error message that the survey can not be found.
copySurvey
No Preview
Copy a Survey and return information of the newly created Survey.
POST data information:
(Red information is mandatory, black is optional), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
name | Name of the Survey (Will only be shown in Account) |
Return data
This API call will return a single XML survey container. XML survey container will contain the information including the surveyID that will be used in your calls to the framework.
(See listSurveys for formating help.)
fetchResults
PHP Example
Example Output
Fetch the results from the Survey without background data filtering.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
timestamp1 | Used in combination with timestamp2 to select votes between 2 dates. Needs to be in form of UNIX timestamp. |
timestamp2 | UNIX timestamp. |
allowcomments | Set this parameter to anything return the comments entered on surveys questions. |
fetchResultsByInfoReg
Fetch the results from the Survey with transaction ID.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
timestamp1 | Used in combination with timestamp2 to select votes between 2 dates. Needs to be in form of UNIX timestamp. |
timestamp2 | UNIX timestamp. |
infoReg | Transaction ID, can be collected when using automatical return with tracecode in URL. Contact tech support for more information. |
Wildcard enabled => Apply * to use Wildcard. Example : Nisse can be “N*e”
fetchResultsByUser
Example Output
Fetch the results from the Survey with background data filtering.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
timestamp1 | Used in combination with timestamp2 to select votes between 2 dates. Needs to be in form of UNIX timestamp. |
timestamp2 | UNIX timestamp. |
contactID | contactID connected to the recipient. (Wildcard enabled) |
Email belonging to the recipient. (Wildcard enabled) | |
group | Group name belonging to the recipient. (Wildcard enabled) |
title | Title belonging to the recipient. (Wildcard enabled) |
company | Company name belonging to the recipient. (Wildcard enabled) |
company-title | Recipients company title. (Wildcard enabled) |
department | Department in the company. (Wildcard enabled) |
customer-group | Customer group. (Wildcard enabled) |
gender | Se customer information. |
address | Address (Wildcard enabled) |
state | State (Wildcard enabled) |
country | Country (Wildcard enabled) |
city | City (Wildcard enabled) |
postal-code | Postal code (Wildcard enabled) |
Wildcard enabled => Apply * to use Wildcard. Example : Nisse can be N*e
getRecipientsBasedByResults
No Preview
This function uses the same indata as the fetchResultsByUser and shows the recipients that has answered based on in-data.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
timestamp1 | Used in combination with timestamp2 to select votes between 2 dates. Needs to be in form of UNIX timestamp. |
timestamp2 | UNIX timestamp. |
contactID | contactID connected to the recipient. (Wildcard enabled) |
Email belonging to the recipient. (Wildcard enabled) | |
group | Group name belonging to the recipient. (Wildcard enabled) |
title | Title belonging to the recipient. (Wildcard enabled) |
company | Company name belonging to the recipient. (Wildcard enabled) |
company-title | Recipients company title. (Wildcard enabled) |
department | Department in the company. (Wildcard enabled) |
customer-group | Customer group. (Wildcard enabled) |
gender | Se customer information. |
address | Address (Wildcard enabled) |
state | State (Wildcard enabled) |
country | Country (Wildcard enabled) |
city | City (Wildcard enabled) |
postal-code | Postal code (Wildcard enabled) |
Wildcard enabled => Apply * to use Wildcard. Example : Nisse can be N*e
importSurvey
No Preview
Import Examinare file into your account.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
examinarexml | Filecontent of the Examinare Survey File (.examinare) |
Please note: We only recommend sending a preformatted or translated Examinare Survey File to the system.
If you change the structure of the file it can create an error while using the survey. If you translate the file, make sure to use the translation function inside the tool.
listSurveys
POST data information:
This function do not need any extra POST data.
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.
questionsInSurveys
Example Output
Fetch all questions from a Survey.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | Id of the Survey in Examinare. |
searchFreeText
No Code Preview
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
surveyID | SurveyID of the Survey you want to search |
Text | Phrase you want to search for. Wildcard (*) enabled. |
sendMessageEmail
PHP Example Code
Example Output
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
user_* | contactID from the contact information. * needs to be changed into numbers. For example user_1, user_2 etc. |
delivery_message | Message to be sent by Email. Maximum 220 characters. |
delivery_subject | Subject of the message. |
rtl | Use RTL encoding for Arabic and Hebrew. Set 1 for yes or do not set for no. |
includelogo | Use logo in the top banner. Set 1 for yes or do not set for no. |
sendMessageSMS
PHP Example Code
Example Output
Send SMS message to recipients.
POST data information:
(Red information is mandatory), all POST data captions are case-sensitive.
user_* | contactID from the contact information. * needs to be changed into numbers. For example user_1, user_2 etc. |
delivery_message | Message to be sent by SMS. Maximum 220 characters. |
rtl | Use RTL encoding for Arabic and Hebrew. Set 1 for yes or do not set for no. |
Observe: This message will not have a link to a Survey or Poll. If you want to add a link to a Survey the use the API Call named "sendSurvey (SMS)".
sendSurvey (Email)
PHP Code Example
Sample Output
Send email invitations to recipients.
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. |
delivery_message | Message to be sent by Email. Maximum 220 characters. |
delivery_subject | Subject of the message. |
includelogo | Use logo in the top banner. Set 1 for yes or do not set for no. |
schedule | Scheduale this E-mail to later. Must contain a UNIX Timestamp |
sendSurvey (SMS)
PHP Code Example
Sample Output
Send SMS invitations to recipients.
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. |
delivery_message | Message to be sent by SMS. |
delivery_by | Must be set to SMS. |
schedule | Schedule this SMS to later. Must contain a UNIX Timestamp |
updateInstructionText
No Preview
Update the Instructional Text with QuestionNumber in Survey.
POST data information:
(Red information is mandatory, black is optional), all POST data captions are case-sensitive.
surveyID | SurveyID, see listSurveys for more info |
instructionText | New Instructional Text for this Question. (Apply ||!linebreak!|| instead of linebreaks) |
questionNumber | Question Number found in listSurveys. |
Return data
This API call will return a XML response with status Success if it is updated, error if an error has been called. List structure of will be returned, see questionInSurveys for more information of structure.
updateQuestionText
No Preview
Update the Questions Text with QuestionNumber in Survey.
POST data information:
(Red information is mandatory, black is optional), all POST data captions are case-sensitive.
surveyID | SurveyID, see listSurveys for more info |
questionText | New Question of this Survey. (Apply ||!linebreak!|| instead of linebreaks) |
questionNumber | Question Number found in listSurveys. |
Return data
This API call will return a XML response with status Success if it is updated, error if an error has been called. List structure of will be returned, see questionInSurveys for more information of structure.