You need to sign in to do that
Don't have an account?

PHP demo - CREATE, DELETE, UPDATE?
I tried the PHP demonstration of Byrne Reese out. This, so far, only supports querying. I ask myself whether there are already extensions which allow to create, delete, update? Is that still to come? Each ìnfo/advice is welcome.
Yes it was. The design of the outgoing SOAP messages looks not exactly like the examples in the API documentation ... but it works and I get correct response. Thank you!!!
$client = new SalesforceClient($SESSION);
$FIELDS = array('type'=>'lead','Id'=>'0xxxxxxx00WGuvEAG','FirstName'=>'test');
$client->update($FIELDS);
and for create
$client = new SalesforceClient($SESSION);
$FIELDS = array('type'=>'lead','FirstName'=>'newtest','LastName'=>'test','Company'=>'testthis');
$client->create($FIELDS);
Note that some objects have required fields, so YMMV on what the create array should look like.
FAILURE: common.exception.ApiException: Must send a concrete entity type.