From Bright Pattern Documentation
Jump to: navigation, search
 
Line 1: Line 1:
 
<translate>
 
<translate>
 
= completeInteractionWithDisp =
 
= completeInteractionWithDisp =
Completes and dispositions the interaction.
+
Completes and dispositions the interaction using the interaction ID and disposition code.
  
 
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/EndDispositionComplete |  Use Cases]] section for ways to use this method.
 
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/EndDispositionComplete |  Use Cases]] section for ways to use this method.
Line 7: Line 7:
 
== Request ==
 
== Request ==
 
=== Syntax ===
 
=== Syntax ===
  window.bpspat.api.completeInteractionWithDisp(item_id, disposition, notes)
+
  window.bpspat.api.completeInteractionWithDisp(item_id, disposition_code, notes)
  
 
=== Parameters ===
 
=== Parameters ===
Line 15: Line 15:
 
| '''Optional/Required'''
 
| '''Optional/Required'''
 
| '''Description'''
 
| '''Description'''
 +
| '''Example'''
 
|-
 
|-
 
| item_id
 
| item_id
 
| string
 
| string
 
| required
 
| required
| Specifies the interaction ID of the interaction
+
| The interaction ID of the interaction
 +
| "EE55D97E-2705-49D1-A36D-34B3381DD416"
 
|-
 
|-
| disposition
+
| disposition_code
 
| string
 
| string
 
| required
 
| required
| Specifies the disposition name or code to be set for the interaction
+
| The disposition code to be set for the interaction
 +
| "12345"
 
|-
 
|-
 
| notes
 
| notes
 
| string
 
| string
 
| optional
 
| optional
|Specifies notes to be added to the completed interaction
+
| Free-form text notes to be added to the completed interaction
 +
| "Repeat customer, third call today"
 
|}
 
|}
  
 
== Response ==
 
== Response ==
Empty.
+
Empty. In response to the request, the disposition to changed to the specified disposition.
 
 
In response to the request, the disposition to changed to the specified disposition.
 
  
  
  
 
</translate>
 
</translate>

Latest revision as of 20:35, 27 March 2019

• 5.19 • 5.3 • 5.8

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.


< Previous | Next >