sendSurvey (SMS)

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


<?xml version="1.0" encoding="utf-8"?>

PHP Example (With our PHP Wrapper Library.
	/* Change the top information 
	according to your account details. */
	$api2 = new ExaminareAPIConnector($key["apicompany"],$key["apikey"],"");
	$details = Array();
	$details["delivery_by"]="SMS";// Must be set otherwise it will be sent by Email.
	/* In $result you will now find all 
	returnable errors if any or the send ID.*/