OnDemandIntermediaryV3
Click here for a complete list of operations.
DoGetPromptSet
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: ws.ondemand.qas.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.qas.com/OnDemand-2011-03/DoGetPromptSet"
<?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>
<QAGetPromptSet 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" />
<PromptSet>OneLine or Default or Generic or Optimal or Alternate or Alternate2 or Alternate3</PromptSet>
</QAGetPromptSet>
</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>
<QAPromptSet Dynamic="boolean" xmlns="http://www.qas.com/OnDemand-2011-03">
<Line>
<Prompt>string</Prompt>
<SuggestedInputLength>nonNegativeInteger</SuggestedInputLength>
<Example>string</Example>
</Line>
<Line>
<Prompt>string</Prompt>
<SuggestedInputLength>nonNegativeInteger</SuggestedInputLength>
<Example>string</Example>
</Line>
</QAPromptSet>
</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: ws.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>
<QAGetPromptSet 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" />
<PromptSet>OneLine or Default or Generic or Optimal or Alternate or Alternate2 or Alternate3</PromptSet>
</QAGetPromptSet>
</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>
<QAPromptSet Dynamic="boolean" xmlns="http://www.qas.com/OnDemand-2011-03">
<Line>
<Prompt>string</Prompt>
<SuggestedInputLength>nonNegativeInteger</SuggestedInputLength>
<Example>string</Example>
</Line>
<Line>
<Prompt>string</Prompt>
<SuggestedInputLength>nonNegativeInteger</SuggestedInputLength>
<Example>string</Example>
</Line>
</QAPromptSet>
</soap12:Body>
</soap12:Envelope>