Create Case
connectcases_create_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>Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types.</p> <p>The following fields are required when creating a case:</p> <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
Usage¶
Arguments¶
clientToken
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.
domainId
[required] The unique identifier of the Cases domain.
fields
[required] An array of objects with field ID (matching ListFields/DescribeField) and value union data.
performedBy
templateId
[required] A unique identifier of a template.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_case(
clientToken = "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"
),
templateId = "string"
)