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.

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 '14 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;

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.