You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST queryResults Resource/Endpoint Not Working

Accepted answer
30
Views
15
Comments
edited Jul 25, 2016 6:56PM in Integrations and APIs 15 comments

Content

I'm trying to run a ROQL tabular query with the REST queryResults resource/endpoint. According to the documentation, I should be able to do this, but...ain't workin', even when I copy-and-paste the example directly out of the documentation.

One peculiarity I've noticed is if I hit

https://mysite.example.com/services/rest/connect/v1.3/queryResults/
?query=select id,subject from incidents where id<=10;

(query from the documentation) there's an extraneous space in between the last slash and the question mark...which may be an artifact of the line break. If I leave it, I get a 200 OK...but no results. If I take it out, I get a 400 Bad Request. Neither result is useful.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!