Im currently trying to execute this query using a SOAP API connection:
"SELECT Id, DeveloperName FROM RecordType WHERE SobjectType = 'Account' AND DeveloperName = 'Salon' ORDER BY Name"
Edit: Ive also tried
"SELECT Id, DeveloperName FROM RecordType" and still I get a 0 objects response as well.
I need to use the Partner WSDL since some of the other queries use custom objects and such, but this line of code works perfectly under enterprise.
Is there any sort of limitation to what partner can fetch? There output itself does not contain any errors, the result is just empty.
QueryResult Object ( [queryLocator] => [done] => 1 [records] => Array ( ) [size] => 0 [pointer] => 0 [sf:QueryResult:private] => SforcePartnerClient Object ( [sforce:protected] => SforceSoapClient Object ( [trace] => 1 [compression] => 32 [_encoding] => utf-8 [_features] => 1 [_user_agent] => salesforce-toolkit-php/27.0 [_soap_version] => 1 [sdl] => Resource id #39 [location] => https://na24.salesforce.com/services/Soap/u/34.0/00D1a000000aaOO [__default_headers] => Array (  => SoapHeader Object ( [namespace] => urn:partner.soap.sforce.com [name] => SessionHeader [data] => Array ( [sessionId] => xxx ) [mustUnderstand] => ) )
Update: I've went and created two instances of the connection, one for enterprise one for partner. I know this isn't ideal but there seems to be something wrong with the web service for certain queues when using personal. Any additional input will be much appreciated