Skip to content

Update Case

connectcases_update_case R Documentation

If you provide a value for PerformedBy

Description

If you provide a value for PerformedBy.UserArn you must also have connect:DescribeUser permission on the User ARN resource that you provide

 <p>Updates the values of fields on a case. Fields to be updated are received as an array of id/value pairs identical to the <code>CreateCase</code> input .</p> <p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>

Usage

connectcases_update_case(caseId, domainId, fields, performedBy)

Arguments

caseId

[required] A unique identifier of the case.

domainId

[required] The unique identifier of the Cases domain.

fields

[required] An array of objects with fieldId (matching ListFields/DescribeField) and value union data, structured identical to create_case.

performedBy

Value

An empty list.

Request syntax

svc$update_case(
  caseId = "string",
  domainId = "string",
  fields = list(
    list(
      id = "string",
      value = list(
        booleanValue = TRUE|FALSE,
        doubleValue = 123.0,
        emptyValue = list(),
        stringValue = "string",
        userArnValue = "string"
      )
    )
  ),
  performedBy = list(
    userArn = "string"
  )
)