Update the gender information for a single recipient.

POST data information:

(Red information is mandatory, black is optional), all POST data captions are case-sensitive.

contactID Contact ID from your Examinare database.
gender Gender of the recipient. (male for Male, female for Female).

Return data

This API call will return a XML response with status Success if it is updated, error if an error has been called. The XML contacts container will contain the information including the contactID that will be used in your calls to the framework. (See addRecipient)

Please note that example below is for addrecipient and needs to be adjusted to use the update function.


<?xml version="1.0" encoding="utf-8"?>
 <contact cid="contactID">
		<lastname>Last name</lastname>
		<company>Company name</company>
		<company-title>Company name</company-title>
		<customer-group>Sales groups</customer-group>
		<phonenumber>+46844444444</ phonenumber>
				<value>Testar åäö</value>

PHP Example (With our PHP Wrapper Library.
	/* Change the top information 
	according to your account details. */
	$api2 = new ExaminareAPIConnector($key["apicompany"],$key["apikey"],"");
	$recipient_r = Array();
	$recipient_r["name"]="My name";
	$recipient_r["group"]="My Group";
	/* In $result you will now find all 
	returnable errors if any or the Recipient record to use.*/