Skip to content

/AWS1/CL_CNT=>CREATEPARTICIPANT()

About CreateParticipant

Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.

Method Signature

IMPORTING

Required arguments:

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.

IV_CONTACTID TYPE /AWS1/CNTCONTACTID /AWS1/CNTCONTACTID

The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.

IO_PARTICIPANTDETAILS TYPE REF TO /AWS1/CL_CNTPARTICIPANTDETST00 /AWS1/CL_CNTPARTICIPANTDETST00

Information identifying the participant.

The only Valid value for ParticipantRole is CUSTOM_BOT.

DisplayName is Required.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/CNTCLIENTTOKEN /AWS1/CNTCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNTCREPARTICIPANTRSP /AWS1/CL_CNTCREPARTICIPANTRSP