

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Customer Profiles 中标准案例的对象类型映射
<a name="object-type-mapping-standard-case"></a>

此部分中的主题提供了标准案例定义，以及从外部应用程序到标准案例的对象类型映射。

**Topics**
+ [亚马逊 AppFlow 访问要求](appflow-access-requirements-case.md)
+ [标准案例定义](standard-case-definition.md)
+ [映射 Zendesk 对象](mapping-zendesk-objects-case.md)
+ [映射 ServiceNow 对象](mapping-servicenow-objects-standard-case.md)

# 客户资料中的亚马逊 AppFlow 访问要求
<a name="appflow-access-requirements-case"></a>

使用以下亚马逊 AppFlow 访问要求来创建和删除 Zendesk 以及与 Amazon Connect 客户资料的 ServiceNow 集成：
+ `appflow:CreateFlow`
+ `appflow:DeleteFlow`

# Customer Profiles 标准案例对象字段
<a name="standard-case-definition"></a>

下表列出了 Customer Profiles 标准案例对象中的所有字段。


| 标准案例字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
|  CaseId  | 字符串  | 标准案例的唯一标识符。  | 
|  标题  | 字符串  | 案例的标题  | 
|  Summary  | 字符串  | 案例的摘要。  | 
|  Status  | 字符串  | 案件的状态。  | 
|  Reason  | 字符串  | 案例的原因。  | 
|  CreatedBy  | 字符串  | 案例的创建者。  | 
|  CreatedDate  | 字符串  | 案例的创建日期。  | 
|  UpdatedDate  | 字符串  | 案件的更新日期。  | 
|  ClosedDate  | 字符串  | 案例的关闭日期。  | 
|  AdditionalInformation  | 字符串  | 与案例相关的任何其他信息。  | 
|  DataSource  | 字符串  | 案例的数据源。  | 
|  属性  | String-to-string 地图  | 标准案例属性的键值对。  | 

标准案例对象按下表中的密钥建立索引。


| 标准索引名称 | 标准案例字段 | 
| --- | --- | 
| \$1caseId | CaseId | 

例如，您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用`_caseId`作为密钥名称来查找大小写与搜索值 CaseId 匹配的个人资料。通过使用`ProfileId`和`ObjectTypeName`设置为的 [ListProfileObjects API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)，您可以找到与特定配置文件关联的标准案例对象`_case`。

# 将 Zendesk 对象映射到 Amazon Connect Customer Profiles 中的标准案例
<a name="mapping-zendesk-objects-case"></a>

本主题列出了 Zendesk 对象中的哪些字段映射到 Customer Profiles 中标准案例中的字段。

## Zendesk-tickets 对象
<a name="zendeskticketsobject"></a>

以下是 Zendesk-tickets 对象中所有字段的列表。
+ id
+ url
+ type
+ subject
+ raw\$1subject
+ 描述
+ priority
+ status
+ recipient
+ requester\$1id
+ submitter\$1id
+ assignee\$1id
+ organization\$1id
+ group\$1id
+ collaborator\$1ids
+ email\$1cc\$1ids
+ follower\$1ids
+ forum\$1topic\$1id
+ problem\$1id
+ has\$1incidents
+ due\$1at
+ 标签
+ via.channel
+ custom\$1fields
+ satisfaction\$1rating
+ sharing\$1agreement\$1ids
+ followup\$1ids
+ ticket\$1form\$1id
+ brand\$1id
+ allow\$1channelback
+ allow\$1attachments
+ is\$1public
+ created\$1at
+ updated\$1at

## 将 Zendesk-tickets 对象映射到标准案例
<a name="mapping-zendeskticketsobject-case"></a>

Zendesk-tickets 对象中的字段子集映射到 Customer Profiles 中的标准案例。下表列出了哪些字段可以从 Zendesk-tickets 对象映射到标准案例。


| Zendesk-tickets 源字段 | 标准案例目标字段 | 
| --- | --- | 
|  requester\$1id  | 属性。 ZendeskUserId  | 
|  id  | 属性。 ZendeskTicketId  | 
|  subject  | 标题  | 
|  描述  | Summary  | 
|  status  | Status  | 
|  requester\$1id  | CreatedBy  | 
|  created\$1at  | CreatedDate  | 
|  updated\$1at  | UpdatedDate  | 

来自 Zendesk 对象的 Zendesk-tickets 客户数据使用以下索引与 Amazon Connect 标准案例相关联。


| 标准索引名称 | Zendesk-tickets 源字段 | 
| --- | --- | 
|  \$1zendeskUserId  | requester\$1id  | 
|  \$1zendeskTicketId  | id  | 

例如，您可以在 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 中`ObjectFilter.KeyName`使用`_zendeskUserId`和`_zendeskTicketId`来查找标准案例。你可以使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定配置文件关联的 Zendesk-Tickets 对象。`ProfileId` `ObjectTypeName` `Zendesk-tickets`

# 将 ServiceNow 对象映射到 Amazon Connect 客户档案中的标准案例
<a name="mapping-servicenow-objects-standard-case"></a>

本主题列出了 ServiceNow 对象中的哪些字段映射到 Amazon Connect 客户资料中标准案例中的字段。

## Servicenow-task 对象
<a name="servicenow-task-object"></a>

以下是 Servicenow-task 对象中所有字段的列表。
+ sys\$1id
+ active
+ activity\$1due
+ additional\$1assignee\$1list
+ approval
+ approval\$1history
+ approval\$1set
+ assigned\$1to
+ assignment\$1group
+ business\$1duration
+ business\$1service
+ calendar\$1duration
+ closed\$1at
+ closed\$1by
+ cmdb\$1ci.display\$1value
+ cmdb\$1ci.link
+ comments
+ comments\$1and\$1work\$1notes
+ company
+ contact\$1type
+ contract
+ correlation\$1display
+ active
+ correlation\$1id
+ delivery\$1plan
+ delivery\$1task
+ 描述
+ due\$1date
+ escalation
+ expected\$1start
+ follow\$1up
+ group\$1list
+ impact
+ knowledge
+ location
+ made\$1sla
+ number
+ opened\$1at
+ opened\$1by.display\$1value
+ order
+ parent
+ priority
+ reassignment\$1count
+ service\$1offering
+ short\$1description
+ sla\$1due
+ 状态
+ sys\$1class\$1name
+ sys\$1created\$1by
+ sys\$1created\$1on
+ active
+ sys\$1domain.global
+ sys\$1domain.link
+ sys\$1domain\$1path
+ sys\$1mod\$1count
+ sys\$1updated\$1by
+ sys\$1updated\$1on
+ time\$1worked
+ upon\$1approval
+ upon\$1reject
+ urgency
+ user\$1input
+ watch\$1list
+ work\$1end
+ work\$1notes
+ work\$1notes\$1list
+ work\$1start

## 将 Servicenow-task 映射到标准案例
<a name="mapping-servicenow-task-case"></a>

Servicenow-task 对象中的字段子集映射到 Customer Profiles 中的标准案例。

下表列出了哪些字段可以从 Servicenow-task 对象映射到标准案例。


| Servicenow-task 源字段 | 标准案例目标字段 | 
| --- | --- | 
|  sys\$1id  | 属性。 ServiceNowTaskId  | 
|  opened\$1by.link  | 属性。 ServiceNowSystemUserId  | 
|  short\$1description  | 标题  | 
|  描述  | Summary  | 
|  status  | Status  | 
|  sys\$1created\$1by  | CreatedBy  | 
|  sys\$1created\$1on  | CreatedDate  | 
|  sys\$1updated\$1on  | UpdatedDate  | 

Servicenow 对象中的 Servicenow-task 客户数据使用下表中的索引与 Amazon Connect 标准案例相关联。


| 标准索引名称 | Servicenow-task 源字段 | 
| --- | --- | 
|  \$1 serviceNowTask 身份证  | sys\$1id  | 
|  \$1 serviceNowSystem 身份证  | open\$1by.link  | 

例如，您可以在 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 中`ObjectFilter.KeyName`使用`_serviceNowTaskId`和`_serviceNowSystemId`来查找标准案例。你可以使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定配置文件关联的 ServiceNow-Task 对象。`ProfileId` `ObjectTypeName` `Servicenow-task`

## Servicenow-incident 对象
<a name="servicenowincident-object"></a>

以下是 Servicenow-incident 对象中所有字段的列表。
+ sys\$1id
+ business\$1stc
+ calendar\$1stc
+ caller\$1id.link
+ caller\$1id.value
+ category
+ caused\$1by
+ child\$1incidents
+ close\$1code
+ hold\$1reason
+ incident\$1state
+ notify
+ parent\$1incident
+ problem\$1id
+ reopened\$1by
+ reopened\$1time
+ reopen\$1count
+ resolved\$1at
+ resolved\$1by.link
+ resolved\$1by.value
+ rfc
+ severity
+ subcategory

## 将 Servicenow-incident 映射到标准案例
<a name="mapping-servicenowincident-case"></a>

Servicenow-incident 对象中的字段子集映射到 Customer Profiles 中的标准案例。

下表列出了哪些字段可以从 Servicenow-incident 对象映射到标准案例。


| Servicenow-Incident 源字段 | 标准案例目标字段 | 
| --- | --- | 
| sys\$1id  |  属性\$1 ServiceNowIncidentId  | 
| caller\$1id.link  |  属性\$1 ServiceNowSystemUserId  | 
| incident\$1status  |  Status  | 
| caller\$1id.link  |  CreatedBy  | 
| resolved\$1at  |  ClosedDate  | 
| category  |  Reason  | 

Servicenow 对象中的 Servicenow-incident 客户数据使用下表中的索引与 Amazon Connect 标准案例相关联。


| 标准索引名称 | Servicenow 源字段 | 
| --- | --- | 
| \$1 serviceNowIncident 身份证  |  sys\$1id  | 
| \$1 serviceNowSystem 身份证  |  caller\$1id.link  | 

例如，您可以将`_serviceNowIncidentId`和用`_serviceNowSystemId`作 ObjectFilter。 KeyName 使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找标准案例。你可以使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定配置文件关联的 ServiceNow-Incident 对象。`ProfileId` `ObjectTypeName` `Servicenow-incident`