/AWS1/CL_CNT=>STOPCONTACT()
¶
About StopContact¶
Ends the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods:
-
DISCONNECT
-
TRANSFER
-
QUEUE_TRANSFER
-
EXTERNAL_OUTBOUND
-
MONITOR
Chat and task contacts can be terminated in any state, regardless of initiation method.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_CONTACTID
TYPE /AWS1/CNTCONTACTID
/AWS1/CNTCONTACTID
¶
The ID of the contact.
IV_INSTANCEID
TYPE /AWS1/CNTINSTANCEID
/AWS1/CNTINSTANCEID
¶
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Optional arguments:¶
IO_DISCONNECTREASON
TYPE REF TO /AWS1/CL_CNTDISCONNECTREASON
/AWS1/CL_CNTDISCONNECTREASON
¶
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.