Use URL Parameters to Specify Context
Interview parameters are set when a new interview session is started, and are set via URL parameters, with the format of ?parameter1=value1&anotherParameter=anotherValue.
The parameter name and value are passed on to the connector within the RequestContext element of both the load and save SOAP request, in sub-elements named parameter with name and value attributes holding the values set by the URL, as demonstrated below:
For the start session URL: https://[Your Site]/web-determinations/startsession/[Your Deployment Name]?param1=value1¶m2=value2
The Load SOAP request would contain:
<s:Body>
<load-request root="[Global Entity Name]" region="en-US" language="en-US" timezone="Etc/GMT">
<request-context>
<parameter name="param1" value="value1"/>
<parameter name="param2" value="value2"/>
</request-context>
...
The Save SOAP request would contain:
<s:Body>
<save-request root="[Global Entity Name]" region="en-US" language="en-US" timezone="Etc/GMT">
<request-context>
<parameter name="param1" value="value1"/>
<parameter name="param2" value="value2"/>
</request-context>
...
Note that:
- Parameters are set on the start session action.
- Parameters will be sent through from the Intelligent Advisor interview in both Load and Save SOAP requests.
- Parameters can not be changed, added or removed from an interview session in progress.