…ethod to return Case ID instead of stdClassObject
…l. Thanks to @h
…y files, udated the package.xml to be installable now.
After confirmation with CapsuleCRM support, propper method to add a task unattached to a party, opp or case is to POST /api/task. add() function was added to Capsule/Task.php
Services_Capsule was missing the Task methods of the CapsuleCRM API These methods have been added with this patch, although they have not been thoroghly debugged. The magical getter functions in Services_Capsule and Services_Capsule_Common have been updated to include Task cases The following Files have been added: - Capsule/Task.php: includes functions for getting, listing, completing, re-opening, updating and deleting tasks - Capsule/Party/Task.php: includes functions for listing and adding tasks by party - Capsule/Opportunity/Task.php: includes function for listing and adding tasks by opportunity - Capsule/Kase/Task.php: includes funstions for listing and adding tasks by case STILL NEED TO ADD: - function to add unattached tasks. syntax seems wrong at @link http://capsulecrm.com/help/page/api_task
…rather on the client side (The client using the Capsule response object)
The first is to disable strict SSL checking. I was getting constant failures attempting to connect to my capsule domain. Feel free to disregard although it does seem like I shouldn't be the only person encountering this. The second is to enable the returning of an id from a request response. This is done by using a match against the location returned in the headers section of the HTTP_Request2 response object.