Changes the values of a contact in the addressbook.

Route /addressbook/editPerson[/:key[/:format]]
required Parameters hash(POST)
Optional Parameters projhashes (POST)
orghash (POST)
labelids (POST)
titleprefix (POST)
title (POST)
firstname (POST)
lastname (POST)
function (POST)
birthday (POST)
costumernumber (POST)
description (POST)
email (POST)
email2 (POST)
phoneWork (POST)
phonePrivate (POST)
phoneMobile (POST)
fax (POST)
socialFacebook (POST)
socialTwitter (POST)
socialLinkedin (POST)
socialGooglePlus (POST)
socialXing (POST)
return values hash 
cross references getProjects() – Diese Funktion enthält die Projekt Hashes.
getOrganisations()  – Diese Funktion enthält Organisation Hashes.
getLabels() – Diese Funktion enthält labelids.
hints Alle Parameter, die nicht in der Route enthalten sind, werden per POST versendet.
labelids – beim editieren werden zunächst alle Labelassoziationen gelöscht, und die übergebenen labels neu angelgt.
projhashes – beim editieren werden zunächst alle Projektassoziationen gelöscht, und die übergebenen projekte neu angelgt.


Labeling description value margin default value
titleprefix e.g. Dear Mister string
title Titel of the person. (e.g. Dr.) string
firstname Firstname of the person. string
lastname Lastname of the person. string
function Function of the person. string
birthday Birthday of the person. YYYY-MM-DD
costumernumber Costumernumber of the person. string
orghash Organisationhash string
description Description of the contact. string
labelids label ids array of strings
email primary E-Mail string
email2 secundary E-Mail string
phoneWork Telephonenumber string
phonePrivate Telephonenumber – privat string
phoneMobile Telephonenumber – mobile string
fax Faxnumber string
socialFacebook Url to Facebookaccount string
socialTwitter Url to Twitteraccount string
socialLinkedin Url to linkedinaccount string
socialGooglePlus Url to Google+ Account string
socialXing Url to Xing Account string
projhashes Projekthashes array of Projekthashes
format Defines of what format the result is. json|xml json

Return Values

Labeling Description value margin
hash Id of the person. (a-z0-9){32}


message description
no permission The key has no access to this function.
internal error An internal error occured.
param missing A required parameter is missing.
param invalid The value of a parameter is not valid.
result empty The request was successful, but the result itself is empty.
cost error The current credit amount is not sufficient to handle the request.
0k. The processing was successful.


$root = 'https://suite.xovi.net/api/';
$arrayParams = array(
    'service' =>'addressbook',
    'method'  =>'editPerson',
    'key'     =>'myPersonalKey',
$pathString = implode('/', $arrayParams);
$requestURL = $root.$pathString;

$arrayParams = array(
    'hash' => 'hashOfAPerson', //required
    'firstname' => 'MyContactFirstname',
    'lastname' => 'MyContactLastname',
$paramsString = http_build_query($arrayParams);

if (!function_exists('curl_init')) die('cURL not available');

$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_URL, $requestURL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//setup POST
curl_setopt($ch, CURLOPT_POST, count($arrayParams));
curl_setopt($ch, CURLOPT_POSTFIELDS, $paramsString);

// Download the given URL, and return output
$output = curl_exec($ch);

// Close the cURL resource, and free system resources



	"apiErrorCode": 0,
	"apiErrorMessage": "0k.",
	"apiResult": [{
		"hash": "b4b292d0c16f20eee10a7754539a189c"



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