function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vinod fnuvinod fnu 

Rest api endpoint issue

I am using salesforce for API query

this one works fine.
String endPoint = 'https://sandbox-quickbooks.api.intuit.com/v3/company/4xxxxxxxxxxxx/query?query=select+id,+DocNumber,+balance,+TotalAmt+from+Invoice

however
For example
String endPoint = 'https://sandbox-quickbooks.api.intuit.com/v3/company/4xxxxxxxxxxxx/query?query=select+id,+DocNumber,+balance,+TotalAmt+from+Invoice+ where +id+67

is not working.How to use where clause.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Vinod,

Are you giving the Id of the invoice? you have just given 67 . and also ID should be enclosed in single quotations I guess. What excatly the issue you are facing?

Thanks,