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 get Primary Contact ID from Incident via REST API

Accepted answer
4
Views
4
Comments

Summary:

I need to retrieve the primary contact's ID from the Incident table, but cannot find the correct ROQL syntax

Content (required):

I need to retrieve the primary contact's ID from the Incident table, but cannot find the correct ROQL syntax. IT HAS TO BE VIA REST API, not PHP connect


https://xxxxxxxx.org/services/rest/connect/latest/queryResults?query=select Id, category, PrimaryContact.ID from incidents where createdtime>'2021-11-01'

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

https://xxxxxxxx.org/services/rest/connect/latest/queryResults?query=select

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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