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

Query Custom Object ROQL .Net

Accepted answer
4
Views
7
Comments
edited May 20, 2016 10:54PM in Integrations and APIs 7 comments

Content

Hello,

I am new to OSvC and ROQL queries, and I am having trouble querying a custom object value.  I've tried several different queries, but I either get a table or column does not exist error.  I am looking to get a field value from an incident using the incident ID.

Thank you in advance for your help.

Jeff

Code Snippet

                         OSCAPI.ClientInfoHeader clientInfoHeader = new OSCAPI.ClientInfoHeader();
            clientInfoHeader.AppID = "Basic Query";

            String queryString = "SELECT GIS$RecycleWeek FROM Incident WHERE ID = " + I_Id + " ;";

            OSCAPI.Incident incidentTemplate = new OSCAPI.Incident();
  
          

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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