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.


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

| improve this answer | |
  • Do you know if there is a example of how to do this with the .net web service ? – james Sep 5 '14 at 21:22

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(),
    new APIObject[] { qd },
    out OverallStatus, out OverallStatusMessage, out RequestID);
    return OverallStatus;
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.