The methods described in the following table are used to perform actions inside an Agent Application or Web Self Service widget, or to obtain information from the widget.
The ObjectinstanceId from the started event should be stored to be used later in other APIs. 

MethodReturn ValueDescriptionExample
startInteraction
(objectId:string, objectName:string
None Starts an Interaction with a given objectId and name. agentapp.
startInteraction
("51ad9318f7a431cd1f0
c6ee6","myInteraction");
next(instanceId:string) None Clicks the Next button on the tab belonging to a given instanceId. After Next is clicked, the callback function is called. function performNext() {
agentApp.next(instanceid);
back(instanceId:string) None Clicks the Back button on the tab belonging to a given instanceId. After Back is clicked, the callback function is called. function performBack() {
agentApp.back(instanceid);

 

Revision:

Comments