What's new in Customer Journeys?

Connect and learn more! ×
How to select answer.id using queryobjects? — Cloud Customer Connect
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

How to select answer.id using queryobjects?

Accepted answer
17
Views
2
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 2 comments

Content

Running queryobjects on Answer is too slow so I decided to just get the IDs.

But when running the query I get INVALID_REQUEST, Selected Column is not an object: ID

What is the best way to do this? (C#)

Code Snippet

             
query = "select Answer.id from Answer where Answer.CustomFields.c.blah like '%blah%'"

QueryResultData[] queryObjects = client.QueryObjects(cih, query, null, 10000); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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