DATA MANAGEMENT RESEARCH

soql malformed in REST API on where clause for useremail

while running this code in anonymous window getting the error below String useremailaddress=”test@test.com“; HttpRequest req = new HttpRequest(); String query=’SELECT+id+,+uuid__c+from+User+WHERE+Username=”+useremailaddress; req.setEndpoint(“callout:salesforceauthnam/services/data/v56.0/query?q=’+query); req.setMethod(‘GET’); Http http = new Http(); HTTPResponse resp =…Read moresoql malformed in REST API on where clause for useremail

DATA MANAGEMENT RESEARCH

soql – Salesforce “EntityDefinition” tooling api returns less custom object+ custom setting count

I am using Salesforce tooling “EntityDefinition” api to pull all the custom object and custom settings as per the below query: instance/services/data/v55.0/tooling/query?q=SELECT count() FROM EntityDefinition WHERE publisherid != ‘System’ and…Read moresoql – Salesforce “EntityDefinition” tooling api returns less custom object+ custom setting count