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

Strange REST API/ROQL bug

Accepted answer
edited Feb 17, 2017 1:03AM in UI Extensibility 11 comments


I really hope that this is exclusive to the Answer/QueryResults object, but I noticed a strange bug when using the REST API that seems to be consistent across different ways of using ROQL (although I have not checked the ConnectPHP API, only the REST and SOAP API's).

If I try to get the accessLevels for an answer by using the following ROQL statement, it returns a value of '00000003'

SELECT Answer.AccessLevels FROM Answer WHERE ID = 2222;

However, if I use this expression, I get something two objects with an ID of 1 and 2:

SELECT Answer.AccessLevels.NamedIDList.*  from answer where ID = 2222;

Howdy, Stranger!

Log In

To view full details, sign in.


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