AnsweredAssumed Answered

Autotask query operation format of request message

Question asked by nikolai.blackie on Nov 23, 2017

What are you supposed to pass into the Autotask connector to support a query? I can get a SOAP connection to work fine with this message. With the Autotask connector I get lots of SAX parse exceptions try to pass in the queryXML


Embedded message: Could not unmarshall query filter; Caused by: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; cvc-elt.1: Cannot find the declaration of element 'query'.]; Caused by: cvc-elt.1: Cannot find the declaration of element 'queryxml'.


SOAP Requests that work:


<soapenv:Envelope xmlns:soapenv="" xmlns:v1="">

<v1:sXML xmlns:v1=""><![CDATA[<queryxml><entity>contact</entity><query><field>firstname<expression op="equals">Michael</expression></field></query></queryxml>]]></v1:sXML>