OnDemandIntermediaryV3


Click here for a complete list of operations.

DoCanSearch

Test

The test form is only available for requests from the local machine.
Authentication is handled by a token which is passed in the header of the request

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ProOnDemand/V3/ProOnDemandService.asmx HTTP/1.1
Host: ws4.ondemand.qas.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.qas.com/OnDemand-2011-03/DoCanSearch"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <QAQueryHeader xmlns="http://www.qas.com/OnDemand-2011-03">
      <QAAuthentication>
        <Username>string</Username>
        <Password>string</Password>
      </QAAuthentication>
      <Security>xml</Security>
    </QAQueryHeader>
  </soap:Header>
  <soap:Body>
    <QACanSearch Localisation="string" xmlns="http://www.qas.com/OnDemand-2011-03">
      <Country>string</Country>
      <Engine Flatten="boolean" Intensity="Exact or Close or Extensive" PromptSet="OneLine or Default or Generic or Optimal or Alternate or Alternate2 or Alternate3" Threshold="positiveInteger" Timeout="nonNegativeInteger" />
      <Layout>string</Layout>
    </QACanSearch>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <QAInformation xmlns="http://www.qas.com/OnDemand-2011-03">
      <StateTransition>string</StateTransition>
      <CreditsUsed>long</CreditsUsed>
    </QAInformation>
  </soap:Header>
  <soap:Body>
    <QASearchOk xmlns="http://www.qas.com/OnDemand-2011-03">
      <IsOk>boolean</IsOk>
      <ErrorCode>string</ErrorCode>
      <ErrorMessage>string</ErrorMessage>
      <ErrorDetail>string</ErrorDetail>
      <ErrorDetail>string</ErrorDetail>
    </QASearchOk>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ProOnDemand/V3/ProOnDemandService.asmx HTTP/1.1
Host: ws4.ondemand.qas.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <QAQueryHeader xmlns="http://www.qas.com/OnDemand-2011-03">
      <QAAuthentication>
        <Username>string</Username>
        <Password>string</Password>
      </QAAuthentication>
      <Security>xml</Security>
    </QAQueryHeader>
  </soap12:Header>
  <soap12:Body>
    <QACanSearch Localisation="string" xmlns="http://www.qas.com/OnDemand-2011-03">
      <Country>string</Country>
      <Engine Flatten="boolean" Intensity="Exact or Close or Extensive" PromptSet="OneLine or Default or Generic or Optimal or Alternate or Alternate2 or Alternate3" Threshold="positiveInteger" Timeout="nonNegativeInteger" />
      <Layout>string</Layout>
    </QACanSearch>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <QAInformation xmlns="http://www.qas.com/OnDemand-2011-03">
      <StateTransition>string</StateTransition>
      <CreditsUsed>long</CreditsUsed>
    </QAInformation>
  </soap12:Header>
  <soap12:Body>
    <QASearchOk xmlns="http://www.qas.com/OnDemand-2011-03">
      <IsOk>boolean</IsOk>
      <ErrorCode>string</ErrorCode>
      <ErrorMessage>string</ErrorMessage>
      <ErrorDetail>string</ErrorDetail>
      <ErrorDetail>string</ErrorDetail>
    </QASearchOk>
  </soap12:Body>
</soap12:Envelope>