/mcpFigure 16: Sample Popover to Answer a Call Object Definitions The finesse.containerservices.PopoverService class uses specific data objects as inputs. The properties and their values of the object are JSON Schema compliant. The format is defined below. actionData The actionData object defines the set of actions that can be taken and the buttons to be displayed popover. finesse.containerservices.PopoverSchema.getActionDataSchema() Sample actionData Object actionData = { "dismissible": false, "keepMaximised": false, "clientIdentifier": 'popup1', // A string to uniquely identify a specific popover "requiredActionText": "Please answer the call from your phone", "buttons": // Optional. Max 2 [{ "id": "No", "label": "Decline", "type": "Affirm", "hoverText": "NOOO", "confirmButtons": [ // confirmButtons is an optional property in actionData { "id": "Yes", "label": "Reject - Return to campaign", "hoverText": "YESSSS" }, { "id": "No", "label": "Close - Remove from campaign", "hoverText": "" } ] }] }; The payload details are explained in the table below. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 427 Cisco Finesse JavaScript APIs Popover Service
