Skip to content

Submit Contact Evaluation

connect_submit_contact_evaluation R Documentation

Submits a contact evaluation in the specified Connect Customer instance

Description

Submits a contact evaluation in the specified Connect Customer instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object ({}) to the question identifier.

If a contact evaluation is already in submitted state, this operation will trigger a resubmission.

Usage

connect_submit_contact_evaluation(InstanceId, EvaluationId, Answers,
  Notes, SubmittedBy)

Arguments

InstanceId

[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

EvaluationId

[required] A unique identifier for the contact evaluation.

Answers

A map of question identifiers to answer value.

Notes

A map of question identifiers to note value.

SubmittedBy

The ID of the user who submitted the contact evaluation.

Value

A list with the following syntax:

list(
  EvaluationId = "string",
  EvaluationArn = "string"
)

Request syntax

svc$submit_contact_evaluation(
  InstanceId = "string",
  EvaluationId = "string",
  Answers = list(
    list(
      Value = list(
        StringValue = "string",
        NumericValue = 123.0,
        StringValues = list(
          "string"
        ),
        DateTimeValue = "string",
        NotApplicable = TRUE|FALSE
      )
    )
  ),
  Notes = list(
    list(
      Value = "string"
    )
  ),
  SubmittedBy = list(
    ConnectUserArn = "string"
  )
)