Interview Service - Investigate Operation

Interview Service - Investigate Operation

Used to investigate a specified goal (or flow).

Question screen data that has been updated by the user can be passed in with the request. The interview session will be updated using this data.

The response contains the next question screen in the investigation, or the summary screen if the investigation is complete.

Inputs
Outputs
Errors and warnings

As mentioned above, if errors or warnings were raised when processing the submitted screen,the submitted screen will be returned, with the details of any errors or warnings added. If an error or warning is associated with a specific control, it will be listed with that control. Otherwise, it will be listed at the top of the screen definition.

Warnings listed for a specific control appear in "invalid-value-change" tags. These special warnings indicate that the value submitted for the control was discarded for reasons described in the supplied message.

If errors are raised, the screen data must be modified to resolve the errors then re-submitted in order to continue the investigation. If warnings are raised, it is not mandatory to modify the screen data unless this is desired. The investigation can be continued by resubmitting the unmodified screen data.

Goal state

The goal state passed to the investigate operation identifies the goal that is being investigated. When a flow is being investigated, the goal state also contains information about the current position in the flow.

When beginning a new investigation (that is, making the first request to the investigation operation), the initial goal state will be the goal id for the desired goal, as returned by the List Goals operation.

The response to an investigate request includes the updated goal state. This updated goal state needs to be extracted from the response and used when making the next request.

Request with no errors or warnings

Response with no errors or warnings

Request with errors and warnings for specific controls

Response with errors and warnings for specific controls

Request with errors and warnings listed at top of screen definition

Response with errors and warnings listed at top of screen definition