I was able to get it to list all of the active Projects, and I was able to add a task. However I am not able to assign it to a particular Project. Here is what I have for Creating a Task:
Where/How do I assign it to a Project if I have the hashed Project ID?
//Create an entity representing the new task NEW TASK CREATION
$newTask = new stdClass();
$newTask->Id = new stdClass();
$newTask->Id->TypeName = 'Issue';
$newTask->Id->Value = null;
//Set issue name
$nameField = new stdClass();
$nameField->FieldName = "Title";
$nameField->Value = new SoapVar("Test Issue", XSD_STRING, "This is just a test", "http://www.w3.org/2001/XMLSchema");
//Set task start date
$startDateField = new stdClass();
$startDateField->FieldName = "DueDate";
$date = '2014-10-31';
$startDateField->Value = new SoapVar($date, XSD_DATETIME, "dateTime", "http://www.w3.org/2001/XMLSchema");
//Assign the fields to the task
$newTask->Values = array($nameField, $startDateField);
$createMeesage = new stdClass();
$createMeesage->Entity = new SoapVar($newTask, SOAP_ENC_OBJECT, "GenericEntity", 'http://clarizen.com/api');
$request[] = new SoapVar($createMeesage, SOAP_ENC_OBJECT, 'CreateMessage', $soapApiUrl);
$result = $client->Execute(array("request"=>$request));