From Bright Pattern Documentation
< 5.3:Embedded-agent-desktop-api-specification | Methods
Revision as of 20:35, 27 March 2019 by imported>Tracy
<translate>
completeInteractionWithDisp
Completes and dispositions the interaction using the interaction ID and disposition code.
See the Embedded Agent Desktop Specification's Use Cases section for ways to use this method.
Request
Syntax
window.bpspat.api.completeInteractionWithDisp(item_id, disposition_code, notes)
Parameters
Parameter | Type | Optional/Required | Description | Example |
item_id | string | required | The interaction ID of the interaction | "EE55D97E-2705-49D1-A36D-34B3381DD416" |
disposition_code | string | required | The disposition code to be set for the interaction | "12345" |
notes | string | optional | Free-form text notes to be added to the completed interaction | "Repeat customer, third call today" |
Response
Empty. In response to the request, the disposition to changed to the specified disposition.
</translate>