0

I want to get all objects with a Rest call using the SOQL syntax. I know that this is not possible, but there is a workaround, but I was wondering if there is a workaround using REST.

I want to achieve something like this (So I don't want to specify the fields)

/services/data/v36.0/query/?q=SELECT+name+from+Contact
Gábor Csikós
  • 2,787
  • 7
  • 31
  • 57
  • Possible duplicate of [Get Salesforce Account fields](https://stackoverflow.com/questions/48436494/get-salesforce-account-fields) – eyescream Sep 24 '18 at 05:48

1 Answers1

0

Well, you'd neet to construct the query string dynamically, exactly the same way as in the workaround you linked. You just need to call describe API first.

Jo_gurt
  • 1
  • 2