* * SERVICE CALLS: * crmDeleteSettings (extends basicImportSettings) * importData type: importData * * RETURNS: * return->importIdentifier */ $five9 = new f9(); $basicImportSettings = array('allowDataCleanup' => 'false', 'fieldsMapping' => array(array("columnNumber" => '1', "fieldName" => "number1", "key" => false), array("columnNumber" => '2', "fieldName" => "first_name", "key" => true), array("columnNumber" => '3', "fieldName" => "last_name", "key" => false)), 'seperator' => '', 'skipHeaderLine' => false); $crmDeleteSettings = array('crmDeleteMode' => 'DELETE_ALL'); //IMPORTANT: crmDeleteSettings EXTENDS basicImportSettings.. MERGE THEM //ALL SERVICE PARAMETERS BELOW $crmDeleteSettings = array_merge($basicImportSettings, $crmDeleteSettings); $importData = array(array("3716867197", "test", "name")); $result = $five9->deleteFromContacts($crmDeleteSettings, $importData); print_r($result); /* RETURNS Begin<br/><br/>601fa926-f058-45d5-86e8-43b720beaf76stdClass Object ( [return] => stdClass Object ( [failureMessage] => There were errors during the upload [keyFields] => number1 [uploadDuplicatesCount] => 0 [uploadErrorsCount] => 0 [warningsCount] => stdClass Object ( [entry] => stdClass Object (