0

Does anyone have an example of how to start (run) a query activity using the API? I have been looking for awhile and can not find one good example.

2 Answers 2

0

Would a SOAP call suffice? Have a look at the sample packets here.

1
  • Do you know if there is a example of how to do this with the .net web service ?
    – james
    Sep 5, 2014 at 21:22
0

I figured it out (need to just set your qdObjectID). I tested and this does in fact start the query.

    QueryDefinition qd = new QueryDefinition();
    qd.ObjectID = qdObjectID;
    PerformResult[] pr = soapClient.Perform(
    new PerformOptions(),
    "start",
    new APIObject[] { qd },
    out OverallStatus, out OverallStatusMessage, out RequestID);
    return OverallStatus;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .