StartMergeCasesRequest
¶
Source code in docs_src/capo_connectcases/types/start_merge_cases_request.py
case_id
instance-attribute
¶
case_id: CaseId
The unique identifier of the primary case. The primary case remains active and receives the merged field values and related items. The cases can use different templates, and the primary case keeps its template.
fields_configuration
instance-attribute
¶
fields_configuration: NotRequired[FieldsConfigurationList]
The fields whose values to take from the secondary case. You can only merge custom fields and the following system fields: assigned_queue, assigned_user, summary, and case_reason. If you select any other system field, the request fails with a ValidationException.
For each field that can be merged, the merge works as follows:
-
If you select the field, the primary case gets the secondary case's value. If the secondary case's value is empty, the primary case's value is cleared.
-
If you don't select the field and the primary case has a value for it, the primary case keeps its value.
-
If you don't select the field and the primary case doesn't have the field, or its value is empty, the primary case gets the secondary case's value. This applies even when the field isn't on the primary case's template.
Field values are read from both cases when the merge runs, so changes that you make to the primary case after you start the merge are taken into account.
Specify at most one entry, and set its sourceCaseId to the secondary case ID.
performed_by
instance-attribute
¶
performed_by: NotRequired[UserUnion]
The user who performed the merge. If you provide userArn, you must also have DescribeUser permission on the ARN of that user.
related_items_configuration
instance-attribute
¶
related_items_configuration: NotRequired[RelatedItemsConfiguration]
The types of related items to move from the secondary case to the primary case. Related items of a type that you don't select, or set to false, stay on the closed secondary case. If you omit this parameter, no related items are moved.
File, SLA, and work plan related items are never moved. They stay on the secondary case.
secondary_case_ids
instance-attribute
¶
secondary_case_ids: CaseIdList
The unique identifier of the secondary case to merge into the primary case. The secondary case is closed when the merge finishes. Specify exactly one case ID.