

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

# Amazon Connect Customer Profiles 中的对象类型映射定义详细信息
<a name="object-type-mapping-definition-details"></a>

对象类型映射定义具有两个部分：字段定义和键定义。

**提示**  
要了解如何创建对象类型映射器，请参阅此博客文章：[使用预先构建的 Amazon S3 连接器，通过 Amazon Connect Customer Profiles 统一和整理客户信息](https://aws.amazon.com/blogs/contact-center/unify-and-organize-customer-information-with-amazon-connect-customer-profiles-with-the-pre-built-amazon-s3-connector/)。或者，请观看此视频 YouTube：[如何将客户资料数据整合到您的联络中心体验](https://www.youtube.com/watch?v=LLIEwFel_7c&t=1767s)中。

## 字段定义详细信息
<a name="field-definition-details"></a>

字段定义用于定义字段的源、目标和类型。例如：

```
"Fields": {
        "{fieldName}": {
            "Source": "{source}",
            "Target": "{target}",
            "ContentType": "{contentType}"
        }, ...
    }, ...
```
+ `Source`：这可以是字段的 JSON 访问器，也可以是用于生成字段值的 Handlebar 宏。

  正在解析的源对象被命名为 ` _source`，因此源字段中的所有字段都需要以此字符串为前缀。仅支持 `_source` 对象。

  使用 Handlebar 宏解决方案生成常量并将多个源对象字段组合成一个字段。这对于编制索引很有用。
+ `Target`：指定在标准对象类型中，该字段的数据应映射到何处。

  通过填充标准资料，您可以将从任何数据源摄取的数据与基于 Customer Profiles 构建的应用程序结合使用，而无需具体了解所摄取数据的格式。

  该字段是可选的。您可能想定义字段，仅仅是为了将其包含在键中。

  此字段的格式始终为 JSON 访问器。唯一支持的目标对象是 `_profile`。
+ `ContentType`：支持以下值：STRING、NUMBER、PHONE\$1NUMBER、EMAIL\$1ADDRESS、NAME。如果未指定 `ContentType`，则会采用 STRING。

  `ContentType` 用于确定如何为该值编制索引，以便座席可以对其进行搜索。例如，如果 `ContentType` 设置为 PHONE\$1NUMBER，则会处理电话号码，以便座席可以采用任何格式搜索该号码：字符串“\$115551234567”与“(555)-123-4567”匹配。

## 键定义详细信息
<a name="key-definition-details"></a>

密钥包含一个或多个字段，这些字段共同定义了一个密钥，该密钥可用于使用 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 搜索对象（或它们所属的配置文件）。也可以将键定义为唯一标识资料或唯一标识对象本身。

```
"Keys": {
        "{keyName}": [{
            "StandardIdentifiers": [...],
            "FieldNames": [ "{fieldname}", ...]
        }], ...
    }, ...
```

键名称是域的全局名称。如果您有两个键，并且在两个不同的对象类型映射中具有相同的名称：
+ 这些密钥应该占用相同的命名空间
+ 它们可以用于潜在地将不同对象之间的资料链接在一起。如果它们在不同对象之间匹配，则 Customer Profiles 会将这两个对象放在同一个资料中。

换句话说：当且仅当相同的值意味着键相关时，键在域中应该具有相同的键名称。例如，在一种类型的对象中指定的电话号码将与在另一种类型的对象中指定的相同电话号码相关。为从 Salesforce 导入的对象指定的内部标识符可能与从 Marketo 导入的另一个对象无关（即使它们的值完全相同）。

密钥定义的使用方式有两种：
+ 在摄取期间，在 Customer Profiles 中，它们用于确定应将对象分配给哪个资料。
+ 它们允许您使用 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 搜索密钥值并查找配置文件。

## 默认搜索密钥
<a name="object-type-mapping-default-search-keys"></a>

默认搜索键（例如 `_phone` 和 `_email`）由[标准配置文件](standard-profile-definition.md)、[标准资产](standard-asset-definition.md)、[标准订单](standard-order-definition.md)和[标准案例](standard-case-definition.md)对象模板预定义。您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用默认搜索密钥作为密钥名称来查找个人资料。

# 在 Customer Profiles 中设置密钥属性的标准标识符
<a name="standard-identifiers"></a>

标准标识符允许您设置键的属性。根据您希望在资料中摄取数据的方式，决定要使用哪些标识符。例如，您可以使用标识符 PROFILE 来标记电话号码。这意味着电话号码将被视为唯一标识符。如果 Customer Profiles 中有两个使用相同电话号码的联系人，则这些联系人将合并为一个资料。


| 标识符名称 | 说明 | 
| --- | --- | 
|  AIR\$1PREFERENCE  |  此标识符意味着此键唯一标识航空偏好。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何航空偏好。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  AIR\$1BOOKING  |  此标识符意味着此键唯一标识机票预订。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何机票预订。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  AIR\$1SEGMENT  |  此标识符意味着此键唯一标识航段。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何航段。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1PREFERENCE  |  此标识符意味着此键唯一标识酒店偏好。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何酒店偏好。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1STAY\$1REVENUE  |  此标识符意味着此键唯一标识酒店住宿收入。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何酒店住宿收入。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1RESERVATION  |  此标识符意味着此键唯一标识酒店预订。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何酒店预订。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY  |  此标识符意味着此键唯一标识忠诚度。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何忠诚度。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY\$1TRANSACTION  |  此标识符意味着此键唯一标识忠诚度交易。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何忠诚度交易。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY\$1PROMOTION  |  此标识符意味着此键唯一标识忠诚度促销。如果指定此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何忠诚度促销。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  UNIQUE  | 此标识符必须由每种对象类型的一个索引指定。此键用于唯一标识相应对象类型的对象，以便获取它们或在需要时将来更新已提交的对象。 提交新对象时，需要指定构成 UNIQUE 键的所有字段，否则该对象将被拒绝。  | 
|  PROFILE  | 此标识符意味着此键唯一标识资料。如果指定了此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何资料。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOOKUP\$1ONLY  | 此标识符表示在摄取对象后未存储键。该键仅用于在摄取期间确定资料。 在摄取过程中，键值未与资料关联，这意味着它不能用于搜索该资料或将以后摄取的对象与同一个键匹配。    不能将键指定为 `UNIQUE` 标识符和 `LOOKUP_ONLY` 标识符。   只有当至少还有一个其他带有 `PROFILE` 标识符而不带 `NEW_ONLY` 或 `LOOKUP_ONLY` 标识符的键时，`PROFILE` 才能与 `LOOKUP_ONLY` 一起使用。唯一的例外是 `_profileId` 密钥，它可以单独拥有 `PROFILE` 和 `LOOKUP_ONLY` 标识符组合。     | 
|  NEW\$1ONLY  | 如果在摄取对象之前资料尚不存在，则键与资料相关联。否则，该键仅用于将对象与配置文件进行匹配。    不能将键指定为 `UNIQUE` 标识符和 `NEW_ONLY` 标识符。   只有当至少还有一个其他带有 `PROFILE` 标识符而不带 `NEW_ONLY` 或 `LOOKUP_ONLY` 标识符的键时，`PROFILE` 才能与 `NEW_ONLY` 一起使用。     | 
|  SECONDARY  | 在将对象与资料匹配期间，Customer Profiles 首先会查找没有 SECONDARY 标识符的所有 PROFILE 键。这些是首先考虑的。只有在使用这些键找不到匹配的资料时，才会考虑使用 SECONDARY 键。  | 
|  ASSET  | 此标识符意味着此键唯一标识资产。如果指定了此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何资产。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  ORDER  | 此标识符意味着此键唯一标识订单。如果指定了此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何订单。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 
|  CASE  | 此标识符意味着此键唯一标识案例。如果指定了此标识符，则意味着在摄取过程中，Customer Profiles 会查找与此键关联的任何案例。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/standard-identifiers.html)  | 

## 兼容的标识符
<a name="standard-identifiers-compatibility"></a>

![\[矩阵显示了对于不同的数据类型支持和限制的标识符和键名称。\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/images/standard-identifiers-compatibility-image.png)


# Customer Profiles 如何处理密钥定义
<a name="how-profile-assignment-works"></a>

当 Customer Profiles 摄取自定义对象映射时，它会处理键定义。下图显示了它如何处理键定义中的标准标识符以确定将对象分配给哪个资料。

![\[流程图显示了用于分配对象或对象排队的配置文件键检查过程。\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/images/customer-profiles-template1.png)


# Customer Profiles 如何将密钥添加到索引中用于查询
<a name="how-keys-are-added-index"></a>

下图显示了 Customer Profiles 如何处理标准标识符以确定是否保留键。

![\[流程图显示了基于查找和新对象标准在 Customer Profiles 中保留键的决策过程。\]](http://docs.aws.amazon.com/zh_cn/connect/latest/adminguide/images/customer-profiles-template2.png)


流程图显示以下步骤：

1. 键是否指定了 `LOOKUP_ONLY` 属性？
   + 如果为“是”，请不要保留键。

1. 如果为“否”，键是否指定了 `NEW_ONLY` 属性？
   + 如果为“否”，则将键保存在索引中以便用于查找。

1. 如果为“是”，则摄取对象是否会导致创建新的配置文件？ 
   + 如果为“是”，则将键保存在索引中以便用于查找。
   + 如果为“否”，则不要将键保留在索引中以备将来查找。

# 为 Amazon Connect Customer Profiles 中标准配置文件的对象类型映射
<a name="object-type-mapping-standard-profile"></a>

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

**Topics**
+ [亚马逊 AppFlow访问要求](appflow-access-requirements-profile.md)
+ [亚马逊 AppIntegrations 访问要求](standard-profile-appintegrations-requirements.md)
+ [客户资料中的亚马逊 EventBridge 访问要求](standard-profile-eventbridge-requirements.md)
+ [标准配置文件定义](standard-profile-definition.md)
+ [映射 Salesforce 对象](mapping-salesforce-objects.md)
+ [映射 Zendesk 对象](mapping-zendesk-objects.md)
+ [映射 Marketo 对象](mapping-marketo-objects.md)
+ [映射 ServiceNow对象](mapping-servicenow-objects.md)
+ [映射 Segment 对象](mapping-segment-objects.md)
+ [映射 Shopify 对象](mapping-shopify-objects.md)

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

使用以下亚马逊 AppFlow 访问要求来创建和删除 Zendesk、Marketo、Salesforce 以及 ServiceNow 与 Amazon Connect 客户档案的集成：
+ appflow：CreateFlow
+ appflow：DeleteFlow

# 客户资料中的亚马逊 AppIntegrations 访问要求
<a name="standard-profile-appintegrations-requirements"></a>

使用以下亚马逊 AppIntegrations 访问要求创建和删除与 Amazon Connect 客户资料的细分和 Shopify 集成：


+ 应用程序集成：GetEventIntegration
+ 应用程序集成：ListEventIntegrationAssociations
+ 应用程序集成：CreateEventIntegrationAssociation
+ 应用程序集成：DeleteEventIntegrationAssociation

# 客户资料中的亚马逊 EventBridge 访问要求
<a name="standard-profile-eventbridge-requirements"></a>

使用以下亚马逊 EventBridge 访问要求创建和删除与 Amazon Connect 客户资料的细分和 Shopify 集成：
+ `events:ListTargetsByRule`
+ `events:PutRule`
+ `events:PutTargets`
+ `events:DeleteRule`
+ `events:RemoveTargets`

# Amazon Connect Customer Profiles 中的标准配置文件定义
<a name="standard-profile-definition"></a>

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


| 标准资料字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
|  ProfileId  | 字符串  | 客户资料的唯一标识符。  | 
|  AccountNumber  | 字符串  | 您提供给客户的唯一账号。 | 
|  AdditionalInformation  | 字符串  | 与客户的资料相关的任何其他信息。 | 
|  PartyType  | 字符串  | 用于描述客户的资料类型。 有效值：INDIVIDUAL \$1 BUSINESS \$1 OTHER | 
|  BusinessName  | 字符串  | 客户的企业名称。 | 
|  FirstName  | 字符串  | 客户的名字。 | 
|  MiddleName  | 字符串  | 客户的中间名。 | 
|  LastName  | 字符串  | 客户的姓氏。 | 
|  BirthDate  | 字符串  | 客户的出生日期。 | 
|  性别  | 字符串  | 客户标识的性别。 | 
|  PhoneNumber  | 字符串  | 客户的电话号码，未指定为手机号码、家庭号码或企业号码。 | 
|  MobilePhoneNumber  | 字符串  | 客户的手机号码。 | 
|  HomePhoneNumber  | 字符串  | 客户的家庭电话号码。 | 
|  BusinessPhoneNumber  | 字符串  | 客户的企业电话号码。 | 
|  EmailAddress  | 字符串  | 客户的电子邮件地址，未指定为个人或企业地址。 | 
|  PersonalEmailAddress  | 字符串  | 客户的个人电子邮件地址。 | 
|  BusinessEmailAddress  | 字符串  | 客户的企业电子邮件地址。 | 
|  地址  | 地址  | 与客户关联的非邮寄、配送或账单地址的通用地址。 | 
|  ShippingAddress  | 地址  | 客户的配送地址。 | 
|  MailingAddress  | 地址  | 客户的邮寄地址。 | 
|  BillingAddress  | 地址  | 客户的账单地址。 | 
|  属性  | String-to-string 地图  | 客户资料属性的键值对。 | 
|  ProfileType  | 字符串  | 配置文件的类型。 有效值：PROFILE \$1 ACCOUNT\$1PROFILE  | 
|  EngagementPreferences  | EngagementPreferences  | 客户或账户的互动偏好。 | 

标准配置文件对象按下表中的密钥建立索引。


| 标准索引名称 | 标准资料字段 | 
| --- | --- | 
| \$1phone | PhoneNumber、 MobilePhoneNumber HomePhoneNumber、或 BusinessPhoneNumber | 
| \$1email | EmailAddress PersonalEmailAddress、或 BusinessEmailAddress | 
| \$1account | AccountNumber | 
| \$1profileId | ProfileId | 
| \$1fullName | "FirstName MiddleName LastName" | 

例如，您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用`_phone`作为密钥名称来查找 PhoneNumber、 MobilePhoneNumber HomePhoneNumber、或 BusinessPhoneNumber 属性与搜索值匹配的个人资料。

## 地址数据类型
<a name="address-data-type"></a>


| 标准资料字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
|  Address1  | 字符串  | 客户地址的第一行。  | 
|  Address2  | 字符串  | 客户地址的第二行。  | 
|  Address3  | 字符串  | 客户地址的第三行。  | 
|  Address4  | 字符串  | 客户地址的第四行。  | 
|  City  | 字符串  | 客户居住的城市。  | 
|  Country  | 字符串  | 客户居住的国家/地区。  | 
|  County  | 字符串  | 客户居住的郡/县。  | 
|  PostalCode  | 字符串  | 客户地址的邮政编码。  | 
|  Province  | 字符串  | 客户居住的省份。  | 
|  State  | 字符串  | 客户居住的州。  | 

## EngagementPreferences 数据类型
<a name="engagement-preferences-data-type"></a>


| 标准资料字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
|  电子邮件  |   ContactPreference 对象数组  |  与电子邮件相关的联系偏好列表。  | 
|  Phone  |   ContactPreference 对象数组  |  与电话相关的联系偏好列表。  | 

## ContactPreference 数据类型
<a name="contact-preference-data-type"></a>


| 标准资料字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
|  KeyName  |  字符串  |  客户配置文件的可搜索的唯一标识符。  | 
|  KeyValue  |  字符串  |  用于根据 keyName 查找配置文件的键值。  | 
|  ProfileId  |  字符串  |  客户资料的唯一标识符。  | 
|  ContactType  |  字符串  |  用于互动的联系类型。有效值： PhoneNumber MobilePhoneNumber \$1 HomePhoneNumber \$1 BusinessPhoneNumber \$1 EmailAddress \$1 PersonalEmailAddress \$1 BusinessEmailAddress  | 

# 将 Salesforce 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件
<a name="mapping-salesforce-objects"></a>

本主题列出了 Salesforce 对象中的哪些字段映射到 Customer Profiles 中标准资料对象中的字段。

## Salesforce-Account 对象
<a name="salesforceaccountobject"></a>

以下是 Salesforce-Account 对象中所有字段的列表。您的 Salesforce-Account 对象中的字段可能会有所不同，具体取决于您的 Salesforce 实例的配置。
+ Id
+ IsDeleted
+ MasterRecordId
+ Name
+ Type
+ ParentId
+ BillingStreet
+ BillingCity
+ BillingState
+ BillingPostalCode
+ BillingCountry
+ BillingLatitude
+ BillingLongitude
+ BillingGeocodeAccuracy
+ BillingAddress.City
+ BillingAddress. 国家
+ BillingAddress.geocode 精度
+ BillingAddress. 纬度
+ BillingAddress. 经度
+ BillingAddress.postalcode
+ BillingAddress. state
+ BillingAddress. street
+ ShippingStreet
+ ShippingCity
+ ShippingState
+ ShippingPostalCode
+ ShippingCountry
+ ShippingLatitude
+ ShippingLongitude
+ ShippingGeocodeAccuracy
+ ShippingAddress.城市
+ ShippingAddress. 国家
+ ShippingAddress. 纬度
+ ShippingAddress. 经度
+ ShippingAddress.postalcode
+ ShippingAddress. state
+ ShippingAddress. street
+ Phone
+ Fax
+ AccountNumber
+ Website
+ PhotoUrl
+ Sic
+ Industry
+ AnnualRevenue
+ NumberOfEmployees
+ Ownership
+ TickerSymbol
+ 说明
+ Rating
+ Site
+ OwnerId
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedId
+ SystemModstamp
+ LastActivityDate
+ LastViewedDate
+ LastReferencedDate
+ Jigsaw
+ JigsawCompanyId
+ CleanStatus
+ AccountSource
+ DunsNumber
+ Tradestyle
+ NaicsCode
+ NaicsDesc
+ YearStarted
+ SicDesc
+ DandbCompanyId
+ IsBuyer

## 将 Salesforce-Account 对象映射到标准资料
<a name="mapping-salesforceaccountobject"></a>

Salesforce-Account 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。

下表列出了哪些字段可以从 Salesforce-Account 对象映射到标准资料。（该表包括已配置为包含“人员”字段的 Salesforce 实例的映射。）


| Salesforce-Account 源字段 | 标准资料目标字段 | 
| --- | --- | 
|  Id  | 属性。 sfdcAccountId  | 
|  Name  | BusinessName  | 
|  Phone  | PhoneNumber  | 
|  BillingStreet  | BillingAddress.Address1  | 
|  BillingCity  | BillingAddress.City  | 
|  BillingState  | BillingAddress.State  | 
|  BillingCountry  | BillingAddress. 国家  | 
|  BillingPostalCode  | BillingAddress.PostalCode  | 
|  ShippingStreet  | ShippingAddress.Address1  | 
|  ShippingCity  | ShippingAddress.City  | 
|  ShippingState  | ShippingAddress.State  | 
|  ShippingCountry  | ShippingAddress. 国家  | 
|  ShippingPostalCode  | ShippingAddress.PostalCode  | 
|  IsPersonAccount  | PartyType  | 
|  PersonMobilePhone  | MobilePhoneNumber  | 
|  PersonHomePhone  | HomePhoneNumber  | 
|  PersonEmail  | PersonalEmailAddress  | 
|  PersonMailingAddress.Street  | MailingAddress.Address1  | 
|  PersonMailingAddress.City  | MailingAddress.City  | 
|  PersonMailingAddress.State  | MailingAddress.State  | 
|  PersonMailingAddress. 国家  | MailingAddress. 国家  | 
|  PersonMailingAddress.PostalCode  | MailingAddress.PostalCode  | 
|  PersonBirthDate  | BirthDate  | 
|  PersonOtherStreet  | Address.Address1  | 
|  PersonOtherCity  | Address.City  | 
|  PersonOtherState  | Address.State  | 
|  PersonOtherCountry  | Address.Country  | 
|  PersonOtherPostalCode  | 地址。 PostalCode  | 
|  FirstName  | FirstName  | 
|  LastName  | LastName  | 
|  MiddleName  | MiddleName  | 
|  AccountNumber  | AccountNumber  | 

Salesforce 对象中的 Salesforce-Account 客户数据使用下表中的索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Salesforce-Account 源字段 | 
| --- | --- | 
|  \$1salesforceAccountId  | Id  | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_salesforceAccountId`作为密钥名称来查找配置文件。通过使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定配置文件关联的 Salesforce-Account 对象。`ProfileId` `ObjectTypeName` `Salesforce-Account`

## Salesforce-Contact 对象
<a name="salesforcecontactobject"></a>

以下是 Salesforce-Contact 对象中所有字段的列表。
+ Id
+ IsDeleted
+ MasterRecordId
+ Accountd
+ LastName
+ FirstName
+ Salutation
+ Name
+ OtherStreet
+ OtherCity
+ OtherState
+ OtherPostalCode
+ OtherCountry
+ OtherLatitude
+ OtherLongitude
+ OtherGeocodeAccuracy
+ OtherAddress.城市
+ OtherAddress. 国家
+ OtherAddress.geocode 精度
+ OtherAddress. 纬度
+ OtherAddress.postalcode
+ OtherAddress. state
+ OtherAddress. street
+ MailingStreet
+ MailingCity
+ MailingState
+ MailingPostalCode
+ MailingCountry
+ MailingLatitude
+ MailingLongitude
+ MailingGeocodeAccuracy
+ MailingAddress.城市
+ MailingAddress. 国家
+ MailingAddress.geocode 精度
+ MailingAddress. 纬度
+ MailingAddress. 经度
+ MailingAddress.postalcode
+ MailingAddress. state
+ MailingAddress. street
+ Phone
+ Fax
+ MobilePhone
+ HomePhone
+ OtherPhone
+ AssistantPhone
+ ReportsToId
+ 电子邮件
+ Title
+ Department
+ AssistantName
+ LeadSource
+ Birthdate
+ 说明
+ OwnerId
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedById
+ SystemModstamp
+ LastActivityDate
+ 最后CURequest日期
+ 最后CUUpdate日期
+ LastViewedDate
+ LastReferencedDate
+ EmailBouncedReason
+ EmailBouncedDate
+ IsEmailBounced
+ PhotoUrl
+ Jigsaw
+ JigawContactId
+ CleanStatus
+ IndividualId

## 将 Salesforce-Contact 对象映射到标准资料
<a name="mapping-salesforcecontactobject"></a>

Salesforce-Contact 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。下表列出了哪些字段可以从 Salesforce-Contact 对象映射到标准资料对象。


| Salesforce-Contact 源字段 | 标准资料目标字段 | 
| --- | --- | 
|  Id  | 属性。 sfdcContactId  | 
|  AccountId  | 属性。 sfdcAccountId  | 
|  LastName  | LastName  | 
|  FirstName  | FirstName  | 
|  MiddleName  | MiddleName  | 
|  OtherStreet  | Address.Address1  | 
|  OtherCity  | Address.City  | 
|  OtherState  | Address.State  | 
|  OtherCountry  | Address.Country  | 
|  OtherPostalCode  | 地址。 PostalCode  | 
|  MailingStreet  | MailingAddress.Address1  | 
|  MailingCity  | MailingAddress.City  | 
|  MailingState  | MailingAddress.State  | 
|  MailingCountry  | MailingAddress. 国家  | 
|  MailingPostalCode  | MailingAddress.PostalCode  | 
|  Phone  | PhoneNumber  | 
|  HomePhone  | HomePhoneNumber  | 
|  MobilePhone  | MobilePhoneNumber  | 
|  电子邮件  | EmailAddress  | 
|  Birthdate  | BirthDate  | 

Salesforce 对象中的 Salesforce-Contact 客户数据使用下表中的索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Salesforce-Contact 源字段 | 
| --- | --- | 
|  \$1salesforceContactId  | Id  | 
|  \$1salesforceAccountId  | AccountId  | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_salesforceAccountId`和`_salesforceContactId`作为密钥名称来查找配置文件。通过使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定配置文件关联的 Salesforce-Contact 对象。`ProfileId` `ObjectTypeName` `Salesforce-Contact`

# 将 Zendesk 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件
<a name="mapping-zendesk-objects"></a>

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

## Zendesk-users 对象
<a name="zendeskusersobject"></a>

以下是 Zendesk-users 对象中所有字段的列表。
+ id
+ url
+ external\$1id
+ email
+ active
+ chat\$1only
+ customer\$1role\$1id
+ role\$1type
+ details
+ last\$1login\$1at
+ locale
+ locale\$1id
+ moderator
+ notes
+ only\$1private\$1comments
+ default\$1group\$1id
+ phone
+ shared\$1phone\$1number
+ photo
+ restricted\$1agent
+ 角色
+ shared
+ 标签
+ signature
+ suspended
+ ticket\$1restriction
+ time\$1zone
+ two\$1factor\$1auth\$1enabled
+ user\$1fields
+ verified
+ report\$1csv
+ created\$1at
+ updated\$1at

## 将 Zendesk 用户映射到标准资料
<a name="mapping-zendeskusersobject"></a>

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


| Zendesk-users 源字段 | 标准资料目标字段 | 
| --- | --- | 
|  id  | 属性。 ZendeskUserId  | 
|  external\$1id  | 属性。 ZendeskExternalId  | 
|  电子邮件  | EmailAddress  | 
|  phone  | PhoneNumber  | 

来自 Zendesk 对象的 Zendesk-users 客户数据使用以下索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Zendesk-user 源字段 | 
| --- | --- | 
|  \$1zendeskUserId  | Id  | 
|  \$1zendeskExternalId  | external\$1id  | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_zendeskUserId`和`_zendeskExternalId`作为密钥名称来查找 Amazon Connect 客户档案。通过使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定客户资料关联的 Zendesk-Users 对象。`ProfileId` `ObjectTypeName` `Zendesk-users`

# 将 Marketo 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件
<a name="mapping-marketo-objects"></a>

本主题列出了 Marketo 对象中的哪些字段映射到 Customer Profiles 中标准资料对象中的字段。

## Marketo-leads 对象
<a name="marketo-objects"></a>

以下是 Marketo-leads 对象中所有字段的列表
+ id
+ firstName
+ lastName
+ middleName
+ 电子邮件
+ phone
+ mobilePhone
+ billingStreet
+ billingCity
+ billingState
+ billingCountry
+ billingPostalCode
+ 地址
+ city
+ 状态
+ country
+ postalcode
+ gender
+ dateOfBirth

## 将 Marketo-leads 映射到标准资料
<a name="mapping-marketo-leads-object"></a>

Marketo-leads 对象中的一部分字段映射到标准资料。


| Marketo-leads 源字段 | 标准资料目标字段 | 
| --- | --- | 
|  id  | 属性。 MarketoLeadId  | 
|  sfdcAccountId  | 属性。 sfdcAccountId  | 
|  sfdcContactId  | 属性。 sfdcContactId  | 
|  firstName  | FirstName  | 
|  lastName  | LastName  | 
|  middleName  | MiddleName  | 
|  电子邮件  | EmailAddress  | 
|  phone  | PhoneNumber  | 
|  mobilePhone  | MobilePhoneNumber  | 
|  mobilePhone  | MobilePhoneNumber  | 
|  billingStreet  | BillingAddress.Address1  | 
|  billingCity  | BillingAddress.City  | 
|  billingState  | BillingAddress.State  | 
|  billingCountry  | BillingAddress. 国家  | 
|  billingPostalCode  | BillingAddress.PostalCode  | 
|  地址  | Address.Address1  | 
|  city  | Address.City  | 
|  状态  | Address.State  | 
|  country  | Address.Country  | 
|  postalcode  | 地址。 PostalCode  | 
|  gender  | Gender  | 
|  dataOfBirth  | BirthDate  | 

来自 Marketo 的 Marketo-leads 客户数据使用下表中的索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Marketo-leads 源字段 | 
| --- | --- | 
|  \$1marketoLeadId  | id  | 
|  \$1salesforceAccountId  | sfdcAccountId  | 
|  \$1salesforceContactId  | sfdcContactId  | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_marketoLeadId``_salesforceAccountId`、和`_salesforceContactId`作为密钥名称来查找 Amazon Connect 客户资料。通过使用和`ObjectTypeName`设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定客户资料关联的 Marketo-Lead `ProfileId` s 对象。`Marketo-leads`

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

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

## Servicenow-sys\$1user 对象
<a name="servicenow-sys-user-object"></a>

以下是 Servicenow-sys\$1user 对象中所有字段的列表
+ sys\$1id
+ active
+ building
+ calendar\$1integration
+ city
+ company
+ cost\$1center
+ country
+ date\$1format
+ default\$1perspective
+ department
+ edu\$1status
+ 电子邮件
+ employee\$1number
+ enable\$1multifactor\$1authn
+ failed\$1attempts
+ first\$1name
+ gender
+ home\$1phone
+ internal\$1integration\$1user
+ introduction
+ last\$1login
+ last\$1login\$1device
+ last\$1login\$1time
+ last\$1name
+ last\$1password
+ ldap\$1server
+ 地点
+ locked\$1out
+ manager
+ middle\$1name
+ mobile\$1phone
+ name
+ notification
+ password\$1needs\$1reset
+ phone
+ photo
+ preferred\$1language
+ 角色
+ schedule
+ source
+ 状态
+ street
+ sys\$1class\$1name
+ sys\$1created\$1by
+ sys\$1created\$1on
+ sys\$1domain.link
+ sys\$1domain.value
+ sys\$1domain\$1path
+ sys\$1id
+ sys\$1mod\$1count
+ sys\$1updated\$1by
+ sys\$1udpated\$1on
+ time\$1format
+ time\$1zone
+ title
+ user\$1name
+ user\$1password
+ web\$1service\$1access\$1only
+ zip

## 将 Servicenow-sys\$1users 映射到标准资料对象
<a name="mapping-servicenow-sys-user-object"></a>

Servicenow-sys\$1users 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。

下表列出了哪些字段可以从 Servicenow-sys\$1users 对象映射到标准资料。


| Servicenow-sys\$1users 源字段 | 客户资料目标字段 | 
| --- | --- | 
|  sys\$1id  | 属性。 ServiceNowSystemId  | 
|  first\$1name  | FirstName  | 
|  last\$1name  | LastName  | 
|  middle\$1name  | MiddleName  | 
|  gender  | Gender  | 
|  电子邮件  | EmailAddress  | 
|  phone  | PhoneNumber  | 
|  home\$1phone  | HomePhoneNumber  | 
|  mobile\$1phone  | MobilePhoneNumber  | 
|  street  | Address.Address1  | 
|  city  | Address.City  | 
|  状态  | Address.State  | 
|  country  | Address.Country  | 
|  zip  | 地址。 PostalCode  | 

Servicenow 对象中的 Servicenow-sys\$1user 客户数据使用下表中的索引与 Amazon Connect 客户资料相关联。


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

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_serviceNowSystemId`和`_serviceNowIncidentId`作为密钥名称来查找 Amazon Connect 客户档案。你可以使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定配置文件关联的 ServiceNow-sys\$1user 对象。`ProfileId` `ObjectTypeName` `Servicenow-sys_user`

# 将 Segment 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件对象
<a name="mapping-segment-objects"></a>

本主题列出了 Segment 对象中的哪些字段映射到 Amazon Connect Customer Profiles 中标准资料对象中的字段。

## Segment-Identify 对象
<a name="segment-identify-object"></a>

以下是 Segment-Identify 对象中所有字段的列表。
+ userId
+ 常见字段 – 请参阅 Segment 文档中的[规范：常见字段](https://segment.com/docs/connections/spec/common/)
+ Segment 预留特性 – 请参阅 Segment 文档中的[特性](https://segment.com/docs/connections/spec/identify/#traits)
+ traits.address.street 
+ traits.address.city
+ traits.address.state
+ traits.address.postalCode
+ traits.address.country
+ traits.age
+ traits.avatar
+ traits.birthday
+ traits.company.name
+ traits.company.id
+ traits.company.industry
+ traits.company.employee\$1count
+ traits.company.plan
+ traits.createdAt
+ traits.description
+ traits.email
+ traits.firstName
+ traits.gender
+ traits.id
+ traits.lastName
+ traits.name
+ traits.phone
+ traits.title
+ traits.username
+ traits.website

## 将 Segment-Identify 映射到标准资料对象
<a name="mapping-segment-identify-object"></a>

Segment-Identify 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。

下表列出了哪些字段可以从 Segment-Identify 对象映射到标准资料。


| Segment-Identify 源字段 | 标准资料目标字段 | 
| --- | --- | 
|  | 标准资料目标字段 | 
| userId | 属性。 SegmentUserId | 
| traits.company.name | BusinessName | 
| traits.firstName | FirstName | 
| traits.lastName | LastName | 
| traits.birthday | BirthDate | 
| traits.gender | 性别 | 
| traits.phone | PhoneNumber | 
| traits.email | EmailAddress | 
| traits.address.street | Address.Address1 | 
| traits.address.city | Address.City | 
| traits.address.state | Address.State | 
| traits.address.country | Address.Country | 
| traits.address.postalCode | 地址。 PostalCode | 

### 示例
<a name="example-mapping-segment-identify-object"></a>

以下示例介绍了如何将源字段映射到目标字段。

```
"segmentUserId": {
    "Source": "_source.detail.event.detail.userId",
    "Target": "_profile.Attributes.SegmentUserId"
}
```

来自 Segment 对象中的 Segment-Identify 客户数据使用以下索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Segment-Identify 源字段 | 
| --- | --- | 
|  \$1segmentUserId  |  userId  | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_segmentUserId`作为密钥名称来查找 Amazon Connect 客户档案。通过使用和`ObjectTypeName`设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定配置文件关联的区段识别对象。`ProfileId` `Segment-Identify`

# 将 Shopify 对象映射到 Amazon Connect Customer Profiles 中的标准配置文件对象
<a name="mapping-shopify-objects"></a>

本主题列出了 Shopify 对象中的哪些字段映射到 Amazon Connect Customer Profiles 中标准资料对象中的字段。

## Shopify-Customer 对象
<a name="shopify-identify-object"></a>

以下是 Shopify-Customer 对象中所有字段的列表。


+ accepts\$1marketing
+ accepts\$1marketing\$1updated\$1at
+ addresses
+ currency
+ created\$1at
+ default\$1address.address1
+ default\$1address.address2
+ default\$1address.city
+ default\$1address.company
+ default\$1address.country
+ default\$1address.country\$1code
+ default\$1address.country\$1name
+ default\$1address.customer\$1id
+ default\$1address.default
+ default\$1address.first\$1name
+ default\$1address.id
+ default\$1address.last\$1name
+ default\$1address.name
+ default\$1address.phone
+ default\$1address.province
+ default\$1address.province\$1code
+ default\$1address.zip
+ 电子邮件
+ first\$1name
+ id
+ last\$1name
+ last\$1order\$1id
+ last\$1order\$1name
+ metafield.key
+ metafield.value
+ metafield.namespace
+ metafield.value\$1type
+ marketing\$1opt\$1in\$1level
+ multipass\$1identifier
+ note
+ orders\$1count
+ phone
+ sms\$1marketing\$1consent.state
+ sms\$1marketing\$1consent.opt\$1in\$1level
+ sms\$1marketing\$1consent.consent\$1updated\$1at
+ sms\$1marketing\$1consent.consent\$1collected\$1from
+ 状态
+ 标签
+ tax\$1exempt
+ tax\$1exemptions
+ total\$1spent
+ updated\$1at
+ verified\$1email

## 将 Shopify-Customer 对象映射到标准资料
<a name="mapping-shopify-customer-object"></a>

Shopify-Customer 对象中的字段子集映射到 Customer Profiles 中的标准资料对象。

下表列出了哪些字段可以从 Shopify-Customer 对象映射到标准资料。


| Shopify-Customer 源字段 | 标准资料目标字段 | 
| --- | --- | 
| id | 属性。 ShopifyCustomerId | 
| email | EmailAddress | 
| first\$1name | FirstName | 
| last\$1name | LastName | 
| note | AdditionalInformation | 
| phone | PhoneNumber | 
| default\$1address.address1 | Address.Address1 | 
| default\$1address.address2 | Address.Address2 | 
| default\$1address.city | Address.City | 
| default\$1address.province | Address.Province | 
| default\$1address.country | Address.Country | 
| default\$1address.zip | 地址。 PostalCode | 

### 示例
<a name="example-mapping-shopify-customer-object"></a>

以下示例介绍了如何将源字段映射到目标字段。

```
"shopifyCustomerId": {
    "Source": "_source.detail.event.detail.payload.id",
    "Target": "_profile.Attributes.ShopifyCustomerId"
}
```

来自 Shopify 对象中的 Shopify-Customer 客户数据使用以下索引与 Amazon Connect 客户资料相关联。


| 标准索引名称 | Shopify-Customer 源字段 | 
| --- | --- | 
| \$1shopifyCustomerId | id | 

例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html)API 中使用`_shopifyCustomerId`作为密钥名称来查找 Amazon Connect 客户档案。你可以使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定个人资料关联的 Shopify-Customer `ProfileId` 对象。`ObjectTypeName` `Shopify-Customer`

# 为 Amazon Connect Customer Profiles 中标准订单的对象类型映射
<a name="object-type-mapping-standard-order"></a>

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

**Topics**
+ [亚马逊 AppIntegrations 访问要求](standard-order-appintegrations-requirements.md)
+ [亚马逊 EventBridge 访问要求](standard-order-eventbridge-requirements.md)
+ [标准订单定义](standard-order-definition.md)
+ [映射 Shopify 对象](mapping-shopify-objects-standard-order.html.md)

# 亚马逊 AppIntegrations 访问要求
<a name="standard-order-appintegrations-requirements"></a>

使用以下亚马逊 AppIntegrations 访问要求创建和删除 Shopify 与 Amazon Connect 客户资料的集成：
+ 应用程序集成：GetEventIntegration
+ 应用程序集成：ListEventIntegrationAssociations
+ 应用程序集成：CreateEventIntegrationAssociation
+ 应用程序集成：DeleteEventIntegrationAssociation

# 亚马逊 EventBridge 访问要求
<a name="standard-order-eventbridge-requirements"></a>

使用以下亚马逊 EventBridge 访问要求创建和删除 Shopify 与 Amazon Connect 客户资料的集成：
+ `events:ListTargetsByRule`
+ `events:PutRule`
+ `events:PutTargets`
+ `events:DeleteRule`
+ `events:RemoveTargets`

# Customer Profiles 标准订单对象字段
<a name="standard-order-definition"></a>

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


| 标准订单字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| OrderId | 字符串 | 标准订单的唯一标识符。 | 
| CustomerEmail | 字符串 | 客户的电子邮件地址。 | 
| CustomerPhone | 字符串 | 客户的电话号码。 | 
| CreatedDate | 字符串 | 订单的创建日期。 | 
| UpdatedDate | 字符串 | 订单的更新日期。 | 
| ProcessedDate | 字符串 | 订单的处理日期。 | 
| ClosedDate | 字符串 | 订单的关闭日期。 | 
| CancelledDate | 字符串 | 订单的取消日期。 | 
| CancelReason | 字符串 | 订单的取消原因。 | 
| Name | 字符串 | 订单的名称。 | 
| AdditionalInformation | 字符串 | 与订单相关的任何其它信息。 | 
| 网关 | 字符串 | 订单的支付网关。 | 
| Status | 字符串 | 订单的状态。 | 
| StatusCode | 字符串 | 订单的状态代码。有效值：DRAFT \$1 ACTIVATED | 
| StatusUrl | 字符串 | 订单的状态 URL。 | 
| CreditCardNumber | 字符串 | 客户的信用卡最后四位数字。 | 
| CreditCardCompany | 字符串 | 客户的信用卡公司。 | 
| FulfillmentStatus | 字符串 | 订单的履约状态。 | 
| TotalPrice | 字符串 | 订单的总价格。 | 
| TotalTax | 字符串 | 订单的税金总额。 | 
| TotalDiscounts | 字符串 | 订单的总折扣。 | 
| TotalItemsPrice | 字符串 | 订单的总商品价格。 | 
| TotalShippingPrice | 字符串 | 订单的总运费。 | 
| TotalTipReceived | 字符串 | 订单收到的小费总额。 | 
| 货币 | 字符串 | 订单的货币。 | 
| TotalWeight | 字符串 | 订单的总重量。 | 
| BillingAddress | OrderAddress | 客户的账单地址。 | 
| ShippingAddress | OrderAddress | 客户的配送地址。 | 
| OrderItems | OrderItem 清单 | 订单的商品。 | 
| 属性 | String-to-string 地图 | 标准订单的属性的键值对。 | 

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


| 标准索引名称 | 标准订单字段 | 
| --- | --- | 
| \$1orderId | OrderId | 

例如，您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用`_orderId`作为密钥名称来查找顺序与搜索值 OrderId 匹配的个人资料。您可以使用 [ListProfileObjects API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) 将`ProfileId`和`ObjectTypeName`设置为来查找与特定配置文件关联的标准订单对象`_order`。

## OrderAddress 数据类型
<a name="orderaddress-data-type"></a>


| 标准订单字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 与订单地址关联的名称。 | 
| Address1 | 字符串 | 订单地址的第一行。 | 
| Address2 | 字符串 | 订单地址的第二行。 | 
| Address3 | 字符串 | 订单地址的第三行。 | 
| Address4 | 字符串 | 订单地址的第四行。 | 
| City | 字符串 | 订单地址所在的城市。 | 
| County | 字符串 | 订单地址所在的县。 | 
| 州 | 字符串 | 订单地址所在的州。 | 
| Province | 字符串 | 订单地址所在的省。 | 
| Country | 字符串 | 订单地址所在的国家/地区。 | 
| PostalCode | 字符串 | 订单地址的邮政编码。 | 

## OrderItem 数据类型
<a name="orderitem-data-type"></a>


| 标准订单字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| 标题 | 字符串 | 订单商品的标题。 | 
| Price | 字符串 | 订单商品的价格。 | 
| Quantity | 字符串 | 订单商品的数量。 | 

# 将 Shopify 对象映射到 Amazon Connect Customer Profiles 中的标准订单
<a name="mapping-shopify-objects-standard-order.html"></a>

本主题列出了 Shopify 对象中的哪些字段映射到 Customer Profiles 中标准订单对象中的字段。

## Shopify DraftOrder -
<a name="shopify-draftorder-object.html"></a>

有关 Shopify DraftOrder 对象中所有字段的列表，请参阅 Shopify 文档中的[ DraftOrder 对象](https://shopify.dev/api/admin-rest/2021-10/resources/draftorder#resource_object)。

## 将 Shopify DraftOrder 对象映射到标准订单
<a name="shopify-draftorder-object-standardorder.html"></a>

Shopify DraftOrder 对象中字段的子集映射到客户资料中的标准订单对象。

下表列出了哪些字段可以从 Shopify DraftOrder 对象映射到标准订单。

 如果源中存在 `order_status_url`，则 `StatusCode` 为 `ACTIVATED`。否则 `StatusCode` 为 `DRAFT`。


|  Shopify-DraftOrder 来源字  |  标准订单目标字段  | 
| --- | --- | 
| id | 属性。 ShopifyOrderId | 
| customer.id | 属性。 ShopifyCustomerId | 
| note | AdditionalInformation | 
| 电子邮件 | CustomerEmail | 
| currency | 货币 | 
| created\$1at | CreatedDate | 
| updated\$1at | UpdatedDate | 
| name | Name | 
| status | Status | 
| order\$1status\$1url | StatusCode | 
| billing\$1address.address1 | BillingAddress.Address1 | 
| billing\$1address.address2 | BillingAddress.Address2 | 
| billing\$1address.city | BillingAddress.City | 
| billing\$1address.zip | BillingAddress.PostalCode | 
| billing\$1address.province | BillingAddress.省 | 
| billing\$1address.country | BillingAddress. 国家 | 
| billing\$1address.name | BillingAddress.Name | 
| shipping\$1address.address1 | ShippingAddress.Address1 | 
| shipping\$1address.address2 | ShippingAddress.Address2 | 
| shipping\$1address.city | ShippingAddress.City | 
| shipping\$1address.zip | ShippingAddress.PostalCode | 
| shipping\$1address.province | ShippingAddress.省 | 
| shipping\$1address.country | ShippingAddress. 国家 | 
| shipping\$1address.name | ShippingAddress.Name | 
| invoice\$1url | StatusUrl | 
| total\$1price | TotalPrice | 
| total\$1tax | TotalTax | 
| line\$1items[].title | OrderItems[]. 标题 | 
| line\$1items[].price | OrderItems[] .Price | 
| line\$1items[].quantity | OrderItems[]. 数量 | 

### 示例
<a name="example-shopify-draftorder-object-standardorder.html"></a>

以下示例介绍了如何将源字段映射到目标字段。

```
"shopifyOrderId": {
    "Source": "_source.detail.event.detail.payload.id",
    "Target": "_order.Attributes.ShopifyOrderId"
}
```

来自 Shopify 对象的 Shopify DraftOrder 客户数据使用以下索引与 Amazon Connect 标准订单相关联。


| 标准索引名称  | Shopify-DraftOrder 来源字  | 
| --- | --- | 
| \$1shopifyOrderId | id | 

例如，您可以在 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 中`ObjectFilter.KeyName`使用 `_shopifyOrderId` as 来查找标准订单。您可以通过使用`ProfileId`和`ObjectTypeName`设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定个人资料关联的 Shopify DraftOrder 对象`Shopify-DraftOrder`。

## Shopify-Order 对象
<a name="shopify-order-object.html"></a>

有关 Shopify-Order 对象中所有字段的列表，请参阅 Shopify 文档中的[订单对象](https://shopify.dev/api/admin-rest/2021-10/resources/order#resource_object)。

## 将 Shopify-Order 对象映射到标准订单
<a name="mapping-shopify-order-object-standarorder.html"></a>

Shopify-Order 对象中的字段子集映射到 Customer Profiles 中的标准订单对象。

下表列出了哪些字段可以从 Shopify-Order 对象映射到标准订单。

如果源中存在 `order_status_url`，则 `StatusCode` 为 `ACTIVATED`。否则 `StatusCode` 为 `DRAFT`。


| Shopify-Order 源字段 | 标准订单目标字段 | 
| --- | --- | 
| id | 属性。 ShopifyOrderId | 
| customer.id | 属性。 ShopifyCustomerId | 
| cancelled\$1at | CancelledDate | 
| cancel\$1reason | CancelReason | 
| closed\$1at | ClosedDate | 
| created\$1at | CreatedDate | 
| currency | 货币 | 
| 电子邮件 | CustomerEmail | 
| financial\$1status | Status | 
| order\$1status\$1url | StatusCode | 
| fulfillment\$1status | FulfillmentStatus | 
| 网关 | 网关 | 
| name | Name | 
| note | AdditionalInformation | 
| order\$1status\$1url | StatusUrl | 
| phone | CustomerPhone | 
| processed\$1at | ProcessedDate | 
| total\$1discounts | TotalDiscounts | 
| total\$1line\$1items\$1price | TotalItemsPrice | 
| total\$1price | TotalPrice | 
| total\$1shipping\$1price\$1set.shop\$1money.amount | TotalShippingPrice | 
| total\$1tax | TotalTax | 
| total\$1tip\$1received | TotalTipReceived | 
| total\$1weight | TotalWeight | 
| updated\$1at | UpdatedDate | 
| billing\$1address.address1 | BillingAddress.Address1 | 
| billing\$1address.address2 | BillingAddress.Address2 | 
| billing\$1address.city | BillingAddress.City | 
| billing\$1address.zip | BillingAddress.PostalCode | 
| billing\$1address.province | BillingAddress.省 | 
| billing\$1address.country | BillingAddress. 国家 | 
| billing\$1address.name | BillingAddress.Name | 
| payment\$1details.credit\$1card\$1number | CreditCardNumber | 
| payment\$1details.credit\$1card\$1company | CreditCardCompany | 
| shipping\$1address.address1 | ShippingAddress.Address1 | 
| shipping\$1address.address2 | ShippingAddress.Address2 | 
| shipping\$1address.city | ShippingAddress.City | 
| shipping\$1address.zip | ShippingAddress.PostalCode | 
| shipping\$1address.province | ShippingAddress.省 | 
| shipping\$1address.country | ShippingAddress. 国家 | 
| shipping\$1address.name | ShippingAddress.Name | 
| line\$1items[].title | OrderItems[]. 标题 | 
| line\$1items[].price | OrderItems[] .Price | 
| line\$1items[].quantity | OrderItems[]. 数量 | 

### 示例
<a name="example-shopify-draftorder-object-standardorder.html"></a>

以下示例介绍了如何将源字段映射到目标字段。

```
"shopifyOrderId": {
    "Source": "_source.detail.event.detail.payload.id",
    "Target": "_order.Attributes.ShopifyOrderId"
}
```

来自 Shopify 对象中的 Shopify-Order 客户数据使用以下索引与 Amazon Connect 标准订单相关联。


| 标准索引名称 | Shopify-Order 源字段 | 
| --- | --- | 
| \$1shopifyOrderId | id | 

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

# 标准通信记录的对象类型映射
<a name="object-type-mapping-standard-communiction-record"></a>

本节中的主题提供了标准通信记录定义，以及从活动事件到标准通信记录的对象类型映射。

**Topics**
+ [Customer Profiles 标准通信记录对象字段](customer-profiles-standard-communication-record-object-fields.md)
+ [将活动对象映射到 Amazon Connect Customer Profiles 中的标准通信记录](mapping-campaign-objects-to-the-standard-communication-record-in-amazon-connect-customer-profiles.md)

# Customer Profiles 标准通信记录对象字段
<a name="customer-profiles-standard-communication-record-object-fields"></a>

 下表列出了 Customer Profiles 标准通信记录对象中的所有字段。


|  标准 communicationRecord 字段  |  数据类型  |  描述  | 
| --- | --- | --- | 
|  CommunicationRecordId  |  字符串  |  标准通信记录的唯一标识符。 | 
|  频道  |  字符串  |  用于联系您的联络中心的方法。例如：语音、聊天、电子邮件  | 
|  ConnectInstanceArn  |  字符串  |  Conn AWS ect 实例的 ARN。 | 
|  CreatedDate  |  字符串  |  表示通信记录的创建时间的时间戳。 | 
|  UpdatedDate  |  字符串  |  表示上次更新通信记录的时间戳。 | 
|  LastEventType  |  字符串  |  为此通信摄取的上一个事件的事件类型。 | 
|  活动  |  活动  |  与此通信关联的活动的详情。 | 
|  端点  |  端点  |  有关用于此通信的端点的信息。 | 
|  Events  |  Map<String, Event>  |  事件地图，其中键是事件类型，例如电子邮件已发送、打开或点击。这将跟踪在此通信期间发生的每种唯一事件类型的最后一个事件。 | 
|  属性  |  Map<String, String>  |  标准通信记录的属性的键值对。 | 

 标准通信记录对象按下表中的键编制索引。


|  标准索引名称  |  标准通信记录字段  | 
| --- | --- | 
|  \$1communicationRecordId  |  CommunicationRecordId  | 

 例如，您可以在 [SearchProfiles](https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-customer-profiles_SearchProfiles.html)API 中使用`_communicationRecordId`作为密钥名称来查找具有与搜索值`CommunicationRecordId`匹配的通信记录的个人资料。通过使用`ProfileId`和`ObjectTypeName`设置为的 [ListProfileObjects](https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-customer-profiles_ListProfileObjects.html)API，您可以找到与特定配置文件关联的标准`communicationRecord`对象`_communicationRecord`。

## 活动数据类型
<a name="campaign-data-type"></a>


|  字段  |  数据类型  |  描述  | 
| --- | --- | --- | 
|  CampaignId  |  字符串  |  出站活动的唯一 ID。 | 
|  CampaignName  |  字符串  |  出站活动的名称。 | 
|  CampaignRunId  |  字符串  |  活动的特定运行的唯一 ID。 | 
|  CampaignActivityId  |  字符串  |  活动内活动的唯一 ID。 | 
|  SegmentArn  |  字符串  |  用户的客户细分的 ARN。 | 

## 端点数据类型
<a name="endpoint-data-type"></a>


|  字段  |  数据类型  |  描述  | 
| --- | --- | --- | 
|  EndpointAddress  |  字符串  |  端点的地址（例如，电子邮件地址、电话号码）。 | 
|  EndpointType  |  字符串  |  端点的类型，例如默认电子邮件或企业电子邮件。 | 

## 事件数据类型
<a name="event-data-type"></a>


|  字段  |  数据类型  |  描述  | 
| --- | --- | --- | 
|  UpdatedDate  |  字符串  |  表示发生通信事件时的时间戳。 | 
|  EventId  |  字符串  |  每个通信事件的唯一标识符。 | 
|  EventType  |  字符串  |  特定的通信事件类型。 | 
|  属性  |  Map<String, String>  |  事件类型特定的属性的键值对。 | 

# 将活动对象映射到 Amazon Connect Customer Profiles 中的标准通信记录
<a name="mapping-campaign-objects-to-the-standard-communication-record-in-amazon-connect-customer-profiles"></a>

 本主题列出了活动对象中的哪些字段映射到 Customer Profiles 中标准通信记录对象中的字段。

## Campaign-Email 对象
<a name="campaign-email-object"></a>

 有关 Campaign-Email 对象中所有字段的列表，请参阅 Amazon SES 文档中的[电子邮件对象](https://docs.aws.amazon.com/ses/latest/dg/event-publishing-retrieving-sns-contents.html)。

**将 Campaign-Email 对象映射到标准通信记录**

 Campaign-Email 对象中的字段子集映射到 Customer Profiles 中的标准通信记录对象。

 下表列出了哪些字段可以从 Campaign-Email 对象映射到标准通信记录。


|  Campaign-Email 源字段  |  标准通信记录目标字段  | 
| --- | --- | 
|  campaign\$1event\$1id  |  属性。 LastCampaignEventId  | 
|  outbound\$1request\$1id  |  属性。 OutboundCampaignRequestId  | 
|  campaign\$1message\$1id  |  属性。 CampaignMessageId  | 
| channel.name  |  频道  | 
|  channel.subtype  |  属性。 ChannelSubType  | 
|  endpoint\$1address  |  终端节点。 EndpointAddress  | 
|  endpoint\$1type  |  终端节点。 EndpointType  | 
|  instance\$1arn  |  ConnectInstanceArn  | 
|  campaign\$1name  |  竞选。 CampaignName  | 
|  campaign\$1id  |  竞选。 CampaignId  | 
|  campaign\$1run\$1id  |  竞选。 CampaignRunId  | 
|  campaign\$1activity\$1id  |  竞选。 CampaignActivityId  | 
|  segment\$1arn  |  竞选。 SegmentArn  | 
|  outbound\$1request\$1creation\$1timestamp  |  CreatedDate  | 
|  campaign\$1event\$1timestamp  |  UpdatedDate  | 
|  campaign\$1event\$1type  |  LastEventType  | 
|  campaign\$1event\$1timestamp  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 UpdatedDate  | 
|  campaign\$1event\$1id  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventId  | 
|  campaign\$1event\$1type  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventType  | 
|  email.bounce.bounceType  |  事件。反弹。属性。 BounceType  | 
|  email.bounce。 bounceSubType  |  事件。反弹。属性。 BounceSubType  | 
|  email.click.link  |  Events.Click.Attributes.Link  | 
|  email.click.ipAddress  |  事件。点击。属性。 IpAddress  | 
|  email.open.ipAddress  |  事件 > 打开 > 属性。 IpAddress  | 
|  email.reject.reason  |  Events.Reject.Attributes.Reason  | 
|  email.renderingFailure.templateName  |  活动。 RenderingFailure。属性。 TemplateName | 
|  email.renderingFailure.errorMessage  |  活动。 RenderingFailure。属性。 ErrorMessage | 
|  email.deliveryDelay.delayType  |  活动。 DeliveryDelay。属性。 DelayType  | 
|  email.complent。 complaintFeedbackType  |  事件。投诉。属性。 ComplaintFeedbackType | 
|  email.complent。 complaintSubType  |  事件。投诉。属性。 ComplaintSubType | 
|  email.mail.commonHeaders.subject  |  Attributes.Subject  | 

## Campaign-SMS 对象
<a name="campaign-sms-object"></a>

 有关 Campaign-SMS 对象中所有字段的列表，请参阅AWS 终端用户消息发送 SMS 服务文档中的 [SMS 对象](https://docs.aws.amazon.com/sms-voice/latest/userguide/configuration-sets-event-format.html)。

**将 Campaign-SMS 对象映射到标准通信记录**

 Campaign-SMS 对象中的字段子集映射到 Customer Profiles 中的标准通信记录对象。

 下表列出了哪些字段可以从 Campaign-SMS 对象映射到标准通信记录。


|  Campaign-SMS 源字段  |  标准通信记录目标字段  | 
| --- | --- | 
|  campaign\$1event\$1id  |  属性。 LastCampaignEventId  | 
|  outbound\$1request\$1id  |  属性。 OutboundCampaignRequestId  | 
|  campaign\$1message\$1id  |  属性。 CampaignMessageId  | 
| channel.name  |  频道  | 
|  channel.subtype  |  属性。 ChannelSubType  | 
|  endpoint\$1address  |  终端节点。 EndpointAddress  | 
|  endpoint\$1type  |  终端节点。 EndpointType  | 
|  instance\$1arn  |  ConnectInstanceArn  | 
|  campaign\$1name  |  竞选。 CampaignName  | 
|  campaign.campaign\$1id  |  竞选。 CampaignId  | 
|  campaign.campaign\$1run\$1id  |  竞选。 CampaignRunId  | 
|  campaign\$1activity\$1id  |  竞选。 CampaignActivityId  | 
|  segment\$1arn  |  竞选。 SegmentArn  | 
|  outbound\$1request\$1creation\$1timestamp  |  CreatedDate  | 
|  campaign\$1event\$1timestamp  |  UpdatedDate  | 
|  campaign\$1event\$1type  |  LastEventType  | 
|  campaign\$1event\$1timestamp  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 UpdatedDate  | 
|  campaign\$1event\$1id  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventId  | 
|  campaign\$1event\$1type  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventType  | 
|  sms.messageType  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 MessageType | 
|  sms.messageStatus  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 MessageStatus | 
|  短信。 messageStatusDescription  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 MessageStatusDescription | 
|  短信。 totalMessagePrice  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 TotalMessagePrice | 
|  短信。 totalCarrierFee  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 TotalCarrierFee | 
|  短信。 isoCountryCode  |  活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 IsoCountryCode | 

## Campaign-Telephony 对象
<a name="campaign-telephony-object"></a>

有关 Campaign-Telephony 对象中所有字段的列表，请参阅 AWS 最终用户消息 SM [S 文档中的 Voice 对象](https://docs.aws.amazon.com/sms-voice/latest/userguide/configuration-sets-event-format.html)。

**将 Campaign-Telephony 对象映射到标准通信记录**

Campaign-Telephony 对象中的字段子集映射到 Customer Profiles 中的标准通信记录对象。

下表列出了哪些字段可以从 Campaign-Telephony 对象映射到标准通信记录。


| Campaign-Telephony 源字段 | 标准通信记录目标字段 | 
| --- | --- | 
| campaign\$1event\$1id | 属性。 LastCampaignEventId | 
| outbound\$1request\$1id | 属性。 OutboundCampaignRequestId | 
| campaign\$1message\$1id | 属性。 CampaignMessageId | 
| channel.name | 频道 | 
| channel.subtype | 属性。 ChannelSubType | 
| endpoint.endpoint\$1address | 终端节点。 EndpointAddress | 
| endpoint.endpoint\$1type | 终端节点。 EndpointType | 
| instance\$1arn | ConnectInstanceArn | 
| campaign.campaign\$1name | 竞选。 CampaignName | 
| campaign.campaign\$1id | 竞选。 CampaignId | 
| campaign.campaign\$1run\$1id | 竞选。 CampaignRunId | 
| campaign.campaign\$1activity\$1id | 竞选。 CampaignActivityId | 
| campaign.segment\$1arn | 竞选。 SegmentArn | 
| outbound\$1request\$1creation\$1timestamp | CreatedDate | 
| campaign\$1event\$1timestamp | UpdatedDate | 
| campaign\$1event\$1type | LastEventType | 
| campaign\$1event\$1timestamp | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 UpdatedDate | 
| campaign\$1event\$1id | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventId | 
| campaign\$1event\$1type | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventType | 
| Voice.agentInfo。 connectedToAgent时间戳 | 活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 ConnectedToAgentTimestamp | 
| 声音。 customerVoiceActivity。 greetingEndTimestamp | 活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 GreetingEndTimestamp | 
| 声音。 answeringMachineDetection状态 | 活动。 \$1\$1campaign\$1event\$1type\$1\$1 .属性。 AnsweringMachineDetectionStatus | 
| campaign\$1event\$1timestamp | SourceLastUpdatedTimestamp | 

## Campaign-Orchestration 对象
<a name="campaign-orchestration-object"></a>

**将 Campaign-Orchestration 对象映射到标准通信记录**

Campaign-Orchestration 对象中的字段子集映射到 Customer Profiles 中的标准通信记录对象。

下表列出了哪些字段可以从 Campaign-Orchestration 对象映射到标准通信记录。


| Campaign-Orchestration 源字段 | 标准通信记录目标字段 | 
| --- | --- | 
| campaign\$1event\$1id | 属性。 LastCampaignEventId | 
| channel.name | 频道 | 
| channel.subtype | 属性。 ChannelSubType | 
| instance\$1arn | ConnectInstanceArn | 
| campaign.campaign\$1name | 竞选。 CampaignName | 
| campaign.campaign\$1id | 竞选。 CampaignId | 
| campaign.campaign\$1run\$1id | 竞选。 CampaignRunId | 
| campaign.campaign\$1activity\$1id | 竞选。 CampaignActivityId | 
| campaign.segment\$1arn | 竞选。 SegmentArn | 
| campaign\$1event\$1timestamp | UpdatedDate | 
| campaign\$1event\$1type | LastEventType | 
| campaign\$1event\$1timestamp | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 UpdatedDate | 
| campaign\$1event\$1id | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventId | 
| campaign\$1event\$1type | 活动。 \$1\$1campaign\$1event\$1type\$1\$1。 EventType | 
| campaign\$1event\$1timestamp | SourceLastUpdatedTimestamp | 

## 示例
<a name="example"></a>

 以下示例介绍了如何将源字段映射到目标字段：

```
"channel": {
    "source": "_source.engagement.channel.name",
    "target": "_communicationRecord.Channel"
}
```

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

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

**Topics**
+ [亚马逊 AppFlow 访问要求](appflow-access-requirements-asset.md)
+ [标准资产定义](standard-asset-definition.md)
+ [将 Salesforce 对象映射到标准资产](mapping-salesforce-objects-to-asset.md)

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

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

# Amazon Connect Customer Profiles 中的标准资产定义
<a name="standard-asset-definition"></a>

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


| 标准资产字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
|  AssetId  | 字符串  | 标准资产的唯一标识符。  | 
|  AssetName  | 字符串  | 资产的名称。  | 
|  SerialNumber  | 字符串  | 资产的序列号。  | 
|  ModelNumber  | 字符串  | 资产的型号。  | 
|  ModelName  | 字符串  | 资产的模型名称。  | 
|  ProductSKU  | 字符串  | 资产的库存单位。  | 
|  PurchaseDate  | 字符串  | 资产的购买日期。  | 
|  UsageEndDate  | 字符串  | 资产的使用结束日期。  | 
|  Status  | 字符串  | 资产的状态。  | 
|  Price  | 字符串  | 资产的价格。  | 
|  Quantity  | 字符串  | 资产的数量。  | 
|  说明  | 字符串  | 资产的描述。  | 
|  AdditionalInformation  | 字符串  | 与资产相关的任何其他信息。  | 
|  DataSource  | 字符串  | 资产的数据源。  | 
|  属性  | String-to-string 地图  | 标准资产属性的键值对。  | 

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


| 标准索引名称 | 标准资产字段 | 
| --- | --- | 
| \$1assetId | AssetId | 
| \$1assetName | AssetName | 
| \$1serialNumber | SerialNumber | 

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

# 将 Salesforce 对象映射到 Customer Profiles 中的标准资产
<a name="mapping-salesforce-objects-to-asset"></a>

本主题列出了 Salesforce 对象中的哪些字段映射到 Customer Profiles 中标准资产对象中的字段。

## Salesforce-Asset 对象
<a name="salesforceaccountobject-asset"></a>

以下是 Salesforce-Asset 对象中所有字段的列表。
+ Id
+ ContactId
+ AccountId
+ ParentId
+ RootAssetId
+ Product2Id
+ ProductCode
+ IsCompetitorProduct
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedById
+ SystemModstamp
+ IsDeleted
+ Name
+ SerialNumber
+ InstallDate
+ PurchaseDate
+ UsageEndDate
+ LifecycleStartDate
+ LifecycleEndDate
+ Status
+ Price
+ 数量
+ 说明
+ OwnerId
+ AssetProvidedById
+ AssetServiceById
+ IsInternal
+ AssetLevel
+ StockKeepingUnit
+ HasLifecycleManagement
+ CurrentMrr
+ CurrentLifecycleEndDate
+ CurrentQuantity
+ CurrentAmount
+ LastViewedDate
+ LastReferencedDate

## 将 Salesforce-Asset 对象映射到标准资产
<a name="mapping-salesforceaccountobject"></a>

Salesforce-Asset 对象中的字段子集映射到 Customer Profiles 中的标准资产对象。

下表列出了哪些字段可以从 Salesforce-Asset 对象映射到标准资产。


| Saleforce-Asset 源字段 | 标准资产目标字段 | 
| --- | --- | 
|  Id  | 属性。 sfdcAssetId  | 
|  ContactId  | 属性。 sfdcContactId  | 
|  AccountId  | 属性。 sfdcAccountId  | 
|  SerialNumber  | SerialNumber  | 
|  StockKeepingUnit  | ProductSKU  | 
|  UsageEndDate  | UsageEndDate  | 
|  Status  | Status  | 
|  Price  | 价格  | 
|  Quantity  | 数量  | 
|  说明  | Description  | 

Salesforce 对象中的 Salesforce-Asset 客户数据使用下表中的索引与 Amazon Connect 标准资产相关联。


| 标准索引名称 | Salesforce-Asset 源字段 | 
| --- | --- | 
|  \$1salesforceAssetId  | Id  | 
|  \$1salesforceContactId  | ContactId  | 
|  \$1salesforceAccountId  | AccountId  | 

例如，您可以在 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 中`ObjectFilter.KeyName`使用`_salesforceAssetId`和`_salesforceAccountId`来查找标准资产。通过使用和设置为的 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API，您可以找到与特定配置文件关联的 Salesforce-Asset 对象。`ProfileId` `ObjectTypeName` `Salesforce-Asset`

# 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`

# 标准航空偏好的对象类型映射
<a name="object-type-mapping-standard-air-preference"></a>

本节中的主题提供标准航空偏好定义。

**Topics**
+ [Customer Profiles 标准航空偏好对象字段](standard-air-preference-object-fields.md)

# Customer Profiles 标准航空偏好对象字段
<a name="standard-air-preference-object-fields"></a>

下表列出了 Customer Profiles 标准航空偏好对象中的所有字段。


**航空偏好**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| PreferenceId | 字符串 | 标准航空偏好的唯一标识符 | 
| Name | 字符串 | 偏好的名称 | 
| CreatedDate | 字符串 | 偏好的创建日期 | 
| CreatedBy | 字符串 | 创建者的标识符 | 
| UpdatedDate | 字符串 | 上次更新日期 | 
| UpdatedBy | 字符串 | 上次更新者的标识符 | 
| StartDate | 字符串 | 偏好开始日期 | 
| EndDate | 字符串 | 偏好结束日期 | 
| Status | 字符串 | 偏好的当前状态 | 
| ReferenceId | 字符串 | 所引用对象的 ID | 
| ReferenceType | 字符串 | 所引用对象的类型 | 
| TravelType | 字符串 | 旅行类型（例如直飞航班） | 
| Transfer | 字符串 | 首选的转机类型 | 
| ArrivalAirport | 字符串 | 首选到达机场 | 
| ArrivalTerminal | 字符串 | 首选到达机场航站楼 | 
| DepartureAirport | 字符串 | 首选出发机场 | 
| DepartureTerminal | 字符串 | 首选出发机场航站楼 | 
| HomeAirport | 字符串 | 家乡机场 | 
| CheckInChannel | 字符串 | 值机模式 | 
| CheckInChannelDevice | 字符串 | 用于值机的设备 | 
| 语言 | 语言 | 有关首选通信语言的详情 | 
| Seat | Seat | 座位选择详情 | 
| Journey | Journey | 旅程偏好 | 
| 可访问性 | 可访问性 | 有关无障碍请求的详情 | 
| 保险 | 保险 | 有关保险的详情 | 
| Interest | 兴趣 | 有关兴趣的详情 | 
| Loyalty | 忠诚度 | 有关忠诚度的详情 | 
| 餐厅 | 餐厅 | 餐厅偏好 | 
| MediaEntertainment | MediaEntertainment | 媒体和娱乐偏好 | 
| PaymentForm | PaymentForm | 付款方式偏好 | 
| PetInfo | PetInfo | 宠物详情 | 
| SpecialRequest | SpecialRequest | 特殊要求详情 | 
| TicketDistribution | TicketDistribution | 门票分配偏好 | 
| 市场营销 | 市场营销 | 市场营销偏好 | 
| 医疗 | 医疗 | 医疗偏好 | 
| Baggage | 行李 | 行李偏好 | 
| ContactDetail | ContactDetail | 有关首选联系人的详情 | 
| ContactDetailAddress | ContactDetailAddress | 联系地址详情 | 
| ContactDetailCommunication | ContactDetailCommunication | 通信偏好 | 
| 属性 | Map<String, String> | 航空偏好的属性的键值对 | 

标准航空偏好对象按下表中的键编制索引。


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1airPreferenceId | PreferenceId | 
| \$1airReferenceId | ReferenceId | 

例如，您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用`_airPreferenceId`作为密钥名称来查找具有空中偏好且与搜索值 PreferenceId 匹配的配置文件。通过使用和`ObjectTypeName`设置为的 [ListProfileObjects API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)，您可以找到与特定配置文件关联的标准 AirPreferen `ProfileId` ce 对象。`_airPreference`


**ContactDetail 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 联系类型（例如个人、紧急情况） | 
| PreferenceLevel | 字符串 | 此联系的优先级 | 
| PhoneNumber | 字符串 | Phone number（电话号码） | 
| 关系 | 字符串 | 与配置文件的关系 | 
| EmailAddress | 字符串 | 电子邮件地址 | 
| EmailLanguage | 字符串 | 联系详细信息电子邮件通信的首选语言 | 
| PhoneLanguage | 字符串 | 联系详细信息电话通信的首选语言 | 


**ContactDetailAddress 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 联系人的地址类型 | 
| Address1 | 字符串 | 联系人地址的第一行。 | 
| Address2 | 字符串 | 联系人地址的第二行。 | 
| Address3 | 字符串 | 联系人地址的第三行。 | 
| Address4 | 字符串 | 联系人地址的第四行。 | 
| City | 字符串 | 联系人地址所在的城市。 | 
| Country | 字符串 | 联系人地址所在的国家/地区。 | 
| County | 字符串 | 联系人地址所在的县。 | 
| PostalCode | 字符串 | 联系人地址的邮政编码。 | 
| Province | 字符串 | 联系人地址所在的省。 | 
| 州 | 字符串 | 联系人地址所在的州。 | 


**ContactDetailCommunication 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| 方法 | 字符串 | 通信方式（例如，短信、电子邮件） | 
| PreferenceLevel | 字符串 | 对通信方法的偏好程度 | 


**语言数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| PhoneLanguage | 字符串 | 电话交流的首选语言 | 
| EmailLanguage | 字符串 | 电子邮件交流的首选语言 | 
| InPersonLanguage | 字符串 | 面对面交流的首选语言 | 
| PreferenceLevel | 字符串 | 语言偏好级别 | 


**座位数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| PreferenceLevel | 字符串 | 座位偏好的优先级 | 
| 方向 | 字符串 | 首选座位方向（例如，前、后） | 
| 位置 | 字符串 | 首选座位位置（例如靠窗、过道） | 
| 位置 | 字符串 | 座椅位置（例如，左、右） | 
| 行 | 字符串 | 所需座位排 | 
| ClassOfService | 字符串 | 旅行舱位等级（例如经济舱、商务舱） | 
| NeighborFree | 字符串 | 优先选择没有邻居的座位 | 
| Infant | 字符串 | 优先选择婴儿座位 | 
| ExtraSeat | 字符串 | 优先选择额外座位 | 


**旅程数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| MaxConnections | 字符串 | 支持的最大连接数 | 
| PreferredAirline | 字符串 | 首选航空公司 | 
| UpgradeAuction | 字符串 | 选择加入升级拍卖 | 
| FlightTime | 字符串 | 首选飞行时间 | 
| FlightMaxDuration | 字符串 | 首选最长旅行时长 | 


**无障碍数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Wheelchair | 字符串 | 轮椅无障碍信息 | 
| 浴室 | 字符串 | 浴室无障碍信息 | 
| Assistance | 字符串 | 帮助信息 | 
| DisabilityType | 字符串 | 有关残疾的信息 | 
| SupportAnimal | 字符串 | 支持动物信息 | 
| ProximityToFacilities | 字符串 | 需要临近设施 | 


**保险数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 保险提供商或计划名称 | 
| PreferenceLevel | 字符串 | 对保险的偏好程度 | 


**兴趣数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 特定的感兴趣领域 | 
| PreferenceLevel | 字符串 | 兴趣的优先级 | 


**忠诚度数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 忠诚度计划的名称 | 
| MembershipId | 字符串 | 忠诚度计划中的会员 ID | 
| PreferenceLevel | 字符串 | 忠诚度计划偏好程度 | 


**餐饮数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| MealType | 字符串 | 首选膳食类型 | 
| FavoriteCuisine | 字符串 | 最喜欢的美食类型 | 
| Beverage | 字符串 | 首选饮料 | 
| DietaryRestriction | 字符串 | 饮食限制 | 
| AllergyInfo | 字符串 | 有关过敏的详细信息 | 
| PreferenceLevel | 字符串 | 餐饮偏好程度 | 


**媒体和娱乐数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 首选娱乐的名称 | 
| PreferenceLevel | 字符串 | 媒体/娱乐的偏好程度 | 


**PaymentForm 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 名称 | 字符串 | 付款方式的名称 | 
| Type | 字符串 | 付款类型（例如，信用卡， PayPal） | 
| PreferenceLevel | 字符串 | 付款方式偏好程度 | 
| UsageContext | 字符串 | 使用付款方式的地方 | 


**PetInfo 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 宠物的类型 | 
| PreferenceLevel | 字符串 | 有关宠物的偏好程度 | 


**SpecialRequest 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 特殊要求的类型 | 
| Name | 字符串 | 要求的名称或描述 | 
| PreferenceLevel | 字符串 | 要求的优先级 | 


**TicketDistribution 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| PreferenceLevel | 字符串 | 门票分配的偏好程度 | 
| 方法 | 字符串 | 门票交付方式（例如，电子邮件、实质门票） | 
| TicketTime | 字符串 | 首选的送票时间 | 


**营销数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| ChannelType | 字符串 | 营销渠道的类型（例如，短信、电子邮件） | 
| OptIn | 字符串 | 营销的选择加入状态 | 
| 频率 | 字符串 | 营销通信的频率 | 
| StartDate | 字符串 | 营销开始日期偏好 | 
| EndDate | 字符串 | 营销结束日期偏好 | 


**医疗数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Oxygen | 字符串 | （航空公司提供、乘客自备、医用制氧机等） | 
| MedicalEquipment | 字符串 | 有关医疗设备（例如 CPAP 机、医用制氧机）的详细信息。 | 
| Assistance | 字符串 | 指定旅行者在旅行期间是否需要一般性医疗援助（例如飞行中支持、药物帮助）。 | 
| Stretcher | 字符串 | 旅客在飞行期间是否需要担架，通常用于医疗运输情形。 | 
| WheelChair | 字符串 | 轮椅详情（防溢漏、湿牢房、无法移动、StairsAssistance RampNeeded、提供的航空公司等） | 


**行李数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Animal | 字符串 | 指明旅行者是否携带服务性动物或宠物旅行，并包括相关的规范或限制。（货舱、座舱） | 
| BaggageType | 字符串 | 指定首选的行李处理类型（例如，仅限随身行李、托运行李、超大行李）。 | 
| Assistance | 字符串 | 指明旅行者在携带或管理行李方面是否需要协助，例如机场搬运工服务或路边行李帮助。 | 
| PreferenceLevel | 字符串 | 行李偏好程度字段 | 

# 标准酒店偏好的对象类型映射
<a name="object-type-mapping-standard-hotel-preference"></a>

本节中的主题提供标准酒店偏好定义。

**Topics**
+ [Customer Profiles 标准酒店偏好对象字段](standard-hotel-preference-object-fields.md)

# Customer Profiles 标准酒店偏好对象字段
<a name="standard-hotel-preference-object-fields"></a>

下表列出了 Customer Profiles 标准酒店偏好对象中的所有字段。


**酒店偏好**  

| 标准 hotelPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| PreferenceId | 字符串 | 标准酒店偏好的唯一标识符 | 
| Name | 字符串 | 偏好的名称 | 
| CreatedDate | 字符串 | 偏好的创建日期 | 
| CreatedBy | 字符串 | 创建者的标识符 | 
| UpdatedDate | 字符串 | 上次更新日期 | 
| UpdatedBy | 字符串 | 上次更新者的标识符 | 
| StartDate | 字符串 | 偏好开始日期 | 
| EndDate | 字符串 | 偏好结束日期 | 
| Status | 字符串 | 偏好的当前状态 | 
| 抽烟 | 字符串 | 抽烟偏好 | 
| CleaningTime | 字符串 | 清理时间 | 
| CheckInType | 字符串 | 办理入住手续的类型 | 
| CheckOutType | 字符串 | 办理退房手续的类型 | 
| ReferenceId | 字符串 | 所引用对象的 ID | 
| ReferenceType | 字符串 | 所引用对象的类型 | 
| 位置 | 位置 | 关于酒店房间位置的偏好 | 
| Bedding | 床上用品 | 床上用品偏好 | 
| Tour | 游览 | 游览偏好 | 
| ContactDetail | ContactDetail | 有关首选联系人的详情 | 
| ContactDetailAddress | ContactDetailAddress | 联系地址详情 | 
| ContactDetailCommunication | ContactDetailCommunication | 通信偏好 | 
| 语言 | 语言 | 语言偏好 | 
| CarRental | CarRental | 汽车租赁偏好 | 
| 可访问性 | 可访问性 | 无障碍偏好 | 
| Interest | 兴趣 | 兴趣详情 | 
| Loyalty | 忠诚度 | 忠诚度偏好 | 
| 餐厅 | 餐厅 | 餐厅偏好 | 
| MediaEntertainment | MediaEntertainment | 媒体和娱乐偏好 | 
| PaymentForm | PaymentForm | 付款单偏好 | 
| PetInfo | PetInfo | 宠物信息偏好 | 
| SpecialRequest | SpecialRequest | 有关特殊要求的详情 | 
| 市场营销 | 市场营销 | 市场营销偏好 | 
| 医疗 | 医疗 | 医疗偏好 | 
| Baggage | 行李 | 行李偏好 | 
| 属性 | Map<String, String> | 酒店偏好的属性的键值对 | 

标准酒店偏好对象按下表中的键编制索引。


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1hotelPreferenceId | PreferenceId | 
| \$1hotelReferenceId | ReferenceId | 

例如，您可以在 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 中使用`_hotelPreferenceId`作为密钥名称来查找具有酒店偏好且与搜索值 PreferenceId 匹配的个人资料。通过使用和`ObjectTypeName`设置为的 [ListProfileObjects API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)，您可以找到与特定配置文件关联的标准 HotelPreferen `ProfileId` ce 对象。`_hotelPreference`


**ContactDetail 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 联系类型（例如个人、紧急情况） | 
| PreferenceLevel | 字符串 | 此联系的优先级 | 
| PhoneNumber | 字符串 | Phone number（电话号码） | 
| 关系 | 字符串 | 与配置文件的关系 | 
| EmailAddress | 字符串 | 电子邮件地址 | 
| EmailLanguage | 字符串 | 联系详细信息电子邮件通信的首选语言 | 
| PhoneLanguage | 字符串 | 联系详细信息电话通信的首选语言 | 


**ContactDetailAddress 数据类型**  

| 标准 airPreference 字段 | 数据类型 | 描述 | 
| --- | --- | --- | 
| 类型 | 字符串 | 联系人的地址类型 | 
| Address1 | 字符串 | 联系人地址的第一行。 | 
| Address2 | 字符串 | 联系人地址的第二行。 | 
| Address3 | 字符串 | 联系人地址的第三行。 | 
| Address4 | 字符串 | 联系人地址的第四行。 | 
| City | 字符串 | 联系人地址所在的城市。 | 
| Country | 字符串 | 联系人地址所在的国家/地区。 | 
| County | 字符串 | 联系人地址所在的县。 | 
| PostalCode | 字符串 | 联系人地址的邮政编码。 | 
| Province | 字符串 | 联系人地址所在的省。 | 
| 州 | 字符串 | 联系人地址所在的州。 | 


**ContactDetailCommunication 数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| 方法 | 字符串 | 通信方法 | 
| PreferenceLevel | 字符串 | 通信方法的偏好程度 | 
| 频率 | 字符串 | 通信频率 | 


**语言数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| PhoneLanguage | 字符串 | 首选电话语言 | 
| EmailLanguage | 字符串 | 首选电子邮件语言 | 


**CarRental 数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| Vendor | 字符串 | 首选租车供应商 | 
| VehicleType | 字符串 | 首选车辆类型 | 
| PreferenceLevel | 字符串 | 租车偏好程度 | 


**位置数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| PreferredFloor | 字符串 | 对房间楼层的偏好 | 
| ElevatorProximity | 字符串 | 靠近电梯的偏好 | 
| QuietZone | 字符串 | 安静区偏好 | 
| LobbyProximity | 字符串 | 靠近大厅偏好 | 
| 视图 | 字符串 | 从房间里看到的理想视野 | 
| RoomType | 字符串 | 首选房型 | 
| PreferenceLevel | 字符串 | 对位置的偏好程度 | 


**床上用品数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| BedType | 字符串 | 首选床型 | 
| MattressType | 字符串 | 首选床垫类型 | 
| PillowType | 字符串 | 首选枕头类型 | 
| NumberOfPillows | 字符串 | 首选枕头数量 | 
| BeddingMaterial | 字符串 | 床上用品的材质 | 
| Allergy | 字符串 | 过敏相关的床上用品偏好 | 


**游览数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| City | 字符串 | 首选游览城市 | 
| Cultural | 字符串 | 文化之旅的兴趣 | 
| Adventure | 字符串 | 探险之旅的兴趣 | 
| Nightlife | 字符串 | 夜生活之旅的兴趣 | 
| GuideLanguage | 字符串 | 首选的导游语言 | 
| StartTime | 字符串 | 首选游览开始时间 | 
| GroupSize | 字符串 | 首选的游览团体规模 | 
| PreferenceLevel | 字符串 | 游览偏好的重要性 | 


**无障碍数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Wheelchair | 字符串 | 轮椅无障碍信息 | 
| 浴室 | 字符串 | 浴室无障碍信息 | 
| Assistance | 字符串 | 帮助信息 | 
| DisabilityType | 字符串 | 有关残疾的信息 | 
| SupportAnimal | 字符串 | 支持动物信息 | 
| ProximityToFacilities | 字符串 | 需要临近设施 | 


**兴趣数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| NameOfInterest | 字符串 | 兴趣的名称 | 
| PreferenceLevel | 字符串 | 兴趣的偏好程度 | 


**忠诚度数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| LoyaltyName | 字符串 | 忠诚度计划的名称 | 
| MembershipId | 字符串 | 忠诚度会员 ID | 
| PreferenceLevel | 字符串 | 忠诚度偏好程度 | 
| PriorityServices | 字符串 | 优先服务偏好 | 


**餐饮数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| MealType | 字符串 | 首选膳食类型 | 
| FavoriteCuisine | 字符串 | 最喜欢的美食偏好 | 
| Beverage | 字符串 | 饮料偏好 | 
| DietaryRestriction | 字符串 | 饮食限制 | 
| AllergyInfo | 字符串 | 过敏信息 | 
| PreferenceLevel | 字符串 | 餐饮偏好程度 | 


**MediaEntertainment 数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| 名称 | 字符串 | 首选媒体或娱乐的名称 | 
| PreferenceLevel | 字符串 | 媒体或娱乐的偏好程度 | 


**PaymentForm 数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| 名称 | 字符串 | 与付款方式关联的名称 | 
| Type | 字符串 | 付款方式类型 | 
| PreferenceLevel | 字符串 | 付款方式偏好程度 | 
| UsageContext | 字符串 | 使用付款单的上下文 | 


**PetInfo 数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 宠物的类型 | 
| PreferenceLevel | 字符串 | 宠物的偏好程度 | 


**特殊要求数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 特殊要求的类型 | 
| Name | 字符串 | 特殊要求的名称 | 
| PreferenceLevel | 字符串 | 要求的偏好程度 | 


**营销数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| ChannelType | 字符串 | 营销渠道的类型（例如，短信、电子邮件） | 
| OptIn | 字符串 | 营销的选择加入状态 | 
| 频率 | 字符串 | 营销通信的频率 | 
| StartDate | 字符串 | 营销开始日期偏好 | 
| EndDate | 字符串 | 营销结束日期偏好 | 


**医疗数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| Oxygen | 字符串 | 氧气供应偏好 | 
| MedicalEquipment | 字符串 | 医疗设备详情 | 
| Assistance | 字符串 | 所需医疗援助的类型 | 
| Stretcher | 字符串 | 担架宾客要求 | 
| WheelChair | 字符串 | 轮椅类型和所需的帮助 | 


**行李数据类型**  

| 标准 hotelPreference 字段 | Type | 说明 | 
| --- | --- | --- | 
| Bicycle | 字符串 | 自行车行李需求 | 
| BaggageType | 字符串 | 行李详情（例如大件行李） | 
| Courier | 字符串 | 快递相关行李偏好 | 
| Fragile | 字符串 | 易碎物品偏好 | 
| Preference Level | 字符串 | 行李偏好程度 | 

# 标准机票预订的对象类型映射
<a name="object-type-mapping-standard-air-booking"></a>

本节中的主题提供标准机票预订定义。

**Topics**
+ [Customer Profiles 标准机票预订对象字段](standard-air-booking-object-fields.md)

# Customer Profiles 标准机票预订对象字段
<a name="standard-air-booking-object-fields"></a>

下表列出了 Customer Profiles 标准机票预订对象中的所有字段。


**AirBooking**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| BookingId | 字符串 | 标准机票预订的唯一标识符 | 
| ContextId | 字符串 | 用于跟踪预订来源的上下文特定的标识符 | 
| PreferenceRef | 字符串 | 引用预订的偏好对象的标识符 | 
| BookingName | 字符串 | 与预订关联的姓名 | 
| PassengerIndex | 字符串 | 预订中乘客的索引 | 
| TravellerId | 字符串 | 与预订相关的旅行者的唯一标识符 | 
| GroupBooking | 字符串 | 指明预订是否为团体预订 | 
| NumberOfPassengers | 字符串 | 预订的乘客总数 | 
| NumberOfAdults | 字符串 | 预订的成人总数 | 
| NumberOfChildren | 字符串 | 预订的儿童总数 | 
| ProcessedDate | 字符串 | 处理预订的日期 | 
| CreatedDate | 字符串 | 预订创建日期 | 
| CreatedBy | 字符串 | 创建者的身份 | 
| UpdatedDate | 字符串 | 上次更新日期 | 
| UpdatedBy | 字符串 | 上次更新预订的人员的标识符 | 
| Status | 字符串 | 当前预订状态 | 
| PriorityStatus | 字符串 | 预订的优先级别 | 
| ReservationStatus | 字符串 | 预订的预留状态 | 
| MarketingCode | 字符串 | 表示营销来源或活动的代码 | 
| MarketingName | 字符串 | 营销活动名称 | 
| TravelAgent | 字符串 | 与预订关联的旅行社 | 
| TravelAgency | 字符串 | 公司旅行社名称 | 
| TravelCorpNumber | 字符串 | 公司客户编号 | 
| Booker | 字符串 | 指明此人是否为进行预订的人 | 
| AdditionalInformation | 字符串 | 其它自由格式信息 | 
| 电子邮件 | 字符串 | 用于获取旅行日动态的联系人电子邮件 | 
| PhoneNumber | 字符串 | 用于获取旅行日动态的联系人电话 | 
| CancelledDate | 字符串 | 取消预订的日期（如适用） | 
| Diplomat | 字符串 | 表示外交身份 | 
| Child | 字符串 | 指明乘客是否为儿童 | 
| 已禁用 | 字符串 | 表示残疾状况 | 
| Oxygen | 字符串 | 表示需要氧气支持 | 
| PetOnly | 字符串 | 预订仅适用于运送宠物 | 
| CancellationCharge | 字符串 | 取消费用（如果适用）。0 表示不收费 | 
| Refundable | 字符串 | 预订退款详情 | 
|  清单 | 库存 | 预订的清单详情 | 
| Loyalty | 忠诚度 | 预订的忠诚度详情 | 
| 频道 | 频道 | 预订的渠道详情 | 
| Payment | Payment | 预订的付款详情 | 
| BillingAddress | 地址 | 预订的账单地址详情 | 
| Price | 价格 | 预订的价格详情 | 
| PaymentStatus | PaymentStatus | 预订的付款状态 | 
| 属性 | Map<String, String> | 自定义或扩展属性 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1airBookingId | BookingId | 
| \$1airPreferenceRef | PreferenceRef | 


**忠诚度数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| ProgramName | 字符串 | 忠诚度计划的名称 | 
| MembershipId | 字符串 | 忠诚度计划会员号 | 
| Tier | 字符串 | 忠诚度会员等级 | 


**频道数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| CreationChannelId | 字符串 | 用于创建预订的渠道的 ID | 
| LastUpdatedChannelId | 字符串 | 用于更新预订的渠道的 ID | 
| 方法 | 字符串 | 通过渠道使用的方法（例如，网络、应用程序、电话） | 


**付款数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 付款方式类型（例如卡、代金券） | 
| CreditCardToken | 字符串 | 令牌化的卡，便于安全引用 | 
| CreditCardType | 字符串 | 所使用的信用卡类型 | 
| CreditCardExpiration | 字符串 | 卡的到期日期 | 
| Cvv | 字符串 | CVV 号码 | 
| NameOnCreditCard | 字符串 | 持卡人姓名 | 
| RoutingNumber | 字符串 | 银行汇款路径号码（如果适用） | 
| AccountNumber | 字符串 | 银行账号（如果适用） | 
| VoucherId | 字符串 | 用于付款的代金券 | 
| DiscountCode | 字符串 | 应用的促销折扣代码 | 
| DiscountPercent | 字符串 | 应用于付款的折扣百分比 | 


**账单地址数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Address1 | 字符串 | 客户地址的第一行。 | 
| Address2 | 字符串 | 客户地址的第二行。 | 
| Address3 | 字符串 | 客户地址的第三行。 | 
| Address4 | 字符串 | 客户地址的第四行。 | 
| City | 字符串 | 客户地址所在的城市。 | 
| Country | 字符串 | 客户地址所在的国家/地区。 | 
| County | 字符串 | 客户地址所在的县。 | 
| PostalCode | 字符串 | 客户地址的邮政编码。 | 
| Province | 字符串 | 客户地址所在的省。 | 
| 州 | 字符串 | 客户地址所在的州。 | 


**价格数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| TotalPrice | 字符串 | 预订的总价格 | 
| BasePrice | 字符串 | 预订的基本价格 | 
| TravellerPrice | 字符串 | 每位旅客支付的价格 | 
| DiscountAmount | 字符串 | 应用于基本票价的折扣 | 
| 货币 | 字符串 | 付款使用的货币 | 


**付款状态数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| PaidAt | 字符串 | 完成付款的时间戳 | 
| AwaitingPayment | 字符串 | 表示付款处于待处理状态 | 
| RequiredBy | 字符串 | 付款截止日期 | 


**库存数据类型**  

| 标准 airBooking 字段 | Type | 说明 | 
| --- | --- | --- | 
| Seats | 字符串 | 预订的座位总数 | 

# 标准航段的对象类型映射
<a name="object-type-mapping-standard-air-segment"></a>

本节中的主题提供标准航段定义。

**Topics**
+ [Customer Profiles 标准航段对象字段](standard-air-segment-object-fields.md)

# Customer Profiles 标准航段对象字段
<a name="standard-air-segment-object-fields"></a>

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


**航段**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| SegmentId | 字符串 | 标准航段的唯一标识符 | 
| BookingRef | 字符串 | 预订引用标识符 | 
| SegmentName | 字符串 | 航段的名称/描述 | 
| PassengerIndex | 字符串 | 乘客的索引号 | 
| SegmentIndex | 字符串 | 航段的索引号 | 
| SeatSelection | 字符串 | 座位选择详情 | 
| NumberOfPassengers | 字符串 | 乘客总数 | 
| NumberOfLegs | 字符串 | 飞行航段数 | 
| Tier | 字符串 | 乘客 tier/status 等级 | 
| Origin | 字符串 | 出发机场代码 | 
| OriginCountryCode | 字符串 | 出发国家/地区代码 | 
| Dest | 字符串 | 目的地机场代码 | 
| DestCountryCode | 字符串 | 目的地国家/地区代码 | 
| ProcessedDate | 字符串 | 处理航段的日期 | 
| CreatedDate | 字符串 | 创建记录的日期 | 
| CreatedBy | 字符串 | 创建记录的用户 | 
| UpdatedDate | 字符串 | 上次更新记录的日期 | 
| UpdatedBy | 字符串 | 上次更新记录的用户 | 
| Status | 字符串 | 航段的当前状态 | 
| FlightNumber | 字符串 | 航班号 | 
| Carrier | 字符串 | 承运公司代码 | 
| CarrierType | 字符串 | 承运公司类型 | 
| IsInternational | 字符串 | 指明航班是否为国际航班 | 
| IsEticket | 字符串 | 指明是否为电子票 | 
| IsArmed | 字符串 | 表示是否为携带武器的乘客 | 
| LapInfant | 字符串 | 怀抱婴儿详情 | 
| Pet | 字符串 | 表示是否携带宠物旅行 | 
| PrisonerOrGuard | 字符串 | 表示囚犯或警卫身份 | 
| Child | 字符串 | 指明乘客是否为儿童 | 
| Married | 字符串 | 表示客户细分是否已婚 | 
| CheckinEligible | 字符串 | 表示值机资格 | 
| InEligibleReason | 字符串 | 不符合值机资格的原因 | 
| UnEscortedMinor | 字符串 | 表示无人陪伴的未成年人身份 | 
| PremiumAccess | 字符串 | 表示购买了高级权限 | 
| MissingData | 字符串 | 表示缺失数据 | 
| CurrentClassOfService | 字符串 | 当前服务等级 | 
| BookedClassOfService | 字符串 | 最初预订的服务等级 | 
| CodeShare | 字符串 | 表示代码共享航班 | 
| ReverseCodeShare | 字符串 | 表示反向代码共享 | 
| MarketCarrierCode | 字符串 | 营销承运公司代码 | 
| OpCarrierCode | 字符串 | 承运公司代码 | 
| InConnection | 字符串 | 入站连接详情 | 
| OutConnection | 字符串 | 出站连接详情 | 
| MilesToEarn | 字符串 | 要赚取的里程 | 
| Duration | 字符串 | 飞行时长 | 
| DurationTimeUnit | 字符串 | 持续时间的时间单位 | 
| 距离 | 字符串 | 飞行距离 | 
| DistanceUnit | 字符串 | 距离测量单位 | 
| SellType | 字符串 | 指示这是否为强制出售 | 
| GoShow | 字符串 | 表示这是否为走秀 | 
| Incapacitated | 字符串 | 指明乘客是否丧失行为能力 | 
| Upgraded | 字符串 | 指明航班是否已升级 | 
| Downgraded | 字符串 | 指明航班是否已降级 | 
| BaggageInsurance | 字符串 | 行李保险 | 
| MaxAllowedBaggage | 字符串 | 支持的最大行李包数 | 
| BaggageQuantity | 字符串 | 行李包数量 | 
| BaggageFee | 字符串 | 行李总费用 | 
| Arrival | 端口： | 航段的抵达详情 | 
| Departure | 端口： | 航段的出发详情 | 
| Seat | Seat | 座椅详情 | 
| 优先级 | 优先级 | 优先级详情 | 
| Doc | 文件 | 随附的旅行文件信息 | 
| Baggage | 行李清单 | 行李详情 | 
| Pets | 宠物清单 | 宠物详情 | 
| OtherServices | OtherService 清单 | 其它服务详细信息 | 
| 属性 | Map<String, String> | 其它属性 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1airSegmentId | SegmentId | 
| \$1airBookingRef | BookingRef | 


**行李数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| Id | 字符串 | 行李标识符 | 
| TagNumber | 字符串 | 行李标签号 | 
| DepartureDate | 字符串 | 出发日期 | 
| BaggageType | 字符串 | 行李类型 | 
| 重量 | 字符串 | 行李的重量 | 
| 长度 | 字符串 | 行李的长度 | 
| 宽度 | 字符串 | 行李的宽度 | 
| 高度 | 字符串 | 行李的高度 | 
| PriorityBagDrop | 字符串 | 优先行李托运服务 | 
| PriorityBagReturn | 字符串 | 优先行李退回服务 | 
| HandsFreeBaggage | 字符串 | 免提行李服务 | 
| 费用 | 字符串 | 行李费 | 
| IsGateBag | 字符串 | 指示登机口托运行李 | 
| IsHeavy | 字符串 | 指示超重行李 | 


**座位数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| SeatNumber | 字符串 | 座位号 | 
| SeatZone | 字符串 | 座位区域 | 
| SeatType | 字符串 | 座位类型 | 
| Price | 字符串 | 座位价格 | 
| NeighborFree | 字符串 | 指示相邻座位是否空闲 | 
| UpgradeAuction | 字符串 | 指示竞拍升级可用性 | 
| 可用 | 字符串 | 指示座位可用性 | 
| ExtraSeat | 字符串 | 指示额外座位 | 
| AdditionalInformation | 字符串 | 额外座位信息 | 


**机场数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| 位置 | 字符串 | 位置名称 | 
| 代码 | 字符串 | 机场代码 | 
| Terminal | 字符串 | 机场航站楼 | 
| Country | 字符串 | 机场所在国家或地区 | 
| 日期 | 字符串 | 日期 | 
| 时间 | 字符串 | 时间 | 
| EstimatedTime | 字符串 | 估计时间 | 
| ScheduledTime | 字符串 | 计划时间 | 


**优先级数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| TransactionId | 字符串 | 交易标识符 | 
| PriorityServiceType | 字符串 | 优先服务的类型 | 
| LoungeAccess | 字符串 | 指示贵宾室使用权 | 
| Price | 字符串 | 优先服务价格 | 
| AdditionalInformation | 字符串 | 额外优先级信息 | 


**宠物数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| Species | 字符串 | 宠物种类 | 
| Breed | 字符串 | 宠物品种 | 
| 重量 | 字符串 | 宠物体重 | 
| WeightUnit | 字符串 | 重量计量单位 | 
| TransportType | 字符串 | 宠物运输的类型 | 


**OtherService 数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| ServiceType | 字符串 | 服务类型 | 
| 说明 | 字符串 | 服务描述 | 
| Price | 字符串 | 服务价格 | 


**证件数据类型**  

| 标准 airSegment 字段 | Type | 说明 | 
| --- | --- | --- | 
| DocType | 字符串 | 证件类型 | 
| DocTypeNeeded | 字符串 | 指示是否需要证件 | 
| Nationality | 字符串 | 证件上的国籍 | 
| DateOfBirth | 字符串 | 出生日期 | 
| AppId | 字符串 | 应用程序标识符 | 
| AgentId | 字符串 | 旅行社标识符 | 
| VerifiedDateTime | 字符串 | 证件核查时间 | 

# 标准酒店预订的对象类型映射
<a name="object-type-mapping-standard-hotel-reservation"></a>

本节中的主题提供标准酒店预订定义。

**Topics**
+ [Customer Profiles 标准酒店预订对象字段](standard-hotel-reservation-object-fields.md)

# Customer Profiles 标准酒店预订对象字段
<a name="standard-hotel-reservation-object-fields"></a>

下表列出了 Customer Profiles 标准酒店预订对象中的所有字段。


**酒店预订**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| ReservationId | 字符串 | 标准酒店预订的唯一标识符 | 
| ConfirmationNumber | 字符串 | 酒店或预订引擎提供的确认号码 | 
| PreferenceRef | 字符串 | 引用预订的偏好对象的标识符 | 
| Status | 字符串 | 预订的当前状态（例如，已确认、已取消） | 
| TripType | 字符串 | 旅行的目的或性质（例如休闲、商务） | 
| BrandCode | 字符串 | 表示酒店品牌的代码 | 
| HotelCode | 字符串 | 标识特定酒店的代码 | 
| PhoneNumber | 字符串 | 预订的联系人电话号码 | 
| EmailAddress | 字符串 | 预订的联系人电子邮件地址 | 
| GroupId | 字符串 | 将预订与团体预订关联的 ID | 
| ContextId | 字符串 | 用于跟踪预订来源的上下文特定的标识符 | 
| ProcessedDate | 字符串 | 处理预订的时间戳 | 
| CreatedDate | 字符串 | 创建预订的时间戳 | 
| CreatedBy | 字符串 | 创建预留 user/system 的标识符 | 
| UpdatedDate | 字符串 | 上次更新预订的时间戳 | 
| UpdatedBy | 字符串 | 更新预订 user/system 的标识符 | 
| AgentId | 字符串 | 处理预订的座席的 ID | 
| Reserver | 字符串 | 指示配置文件是否为预订人 | 
| SameDayRate | 字符串 | 指示预订是否在同一天进行的 | 
| Refundable | 字符串 | 指示预订是否可以退款 | 
| CancellationCharge | 字符串 | 取消费用（如果适用）。0 表示不收费 | 
| TransactionId | 字符串 | 交易的唯一标识符 | 
| AmountPerNight | 字符串 | 每晚的房费金额 | 
| AdditionalNote | 字符串 | 特别注意事项或说明 | 
| NumberOfNights | 字符串 | 预订的晚数 | 
| NumberOfGuests | 字符串 | 预订的宾客总数 | 
| TotalAmountBeforeTax | 字符串 | 税前总成本 | 
| TotalAmountAfterTax | 字符串 | 税后总成本 | 
| Checkout | CheckOut | 退房详细信息 | 
| Loyalty | 忠诚度 | 忠诚度详细信息 | 
| 房间 | 房间 | 房间详细信息 | 
| CheckIn | CheckIn | 入住详细信息 | 
| Payment | Payment | 付款详细信息 | 
| 货币 | 货币 | 货币详细信息 | 
| 取消 | 取消 | 取消详细信息 | 
| 频道 | 频道 | 渠道详细信息 | 
| RatePlan | RatePlan | 费率计划详细信息 | 
| 来宾 | 来宾 | 宾客详细信息 | 
| Services | 服务清单 | 服务的清单 | 
| 属性 | Map<String, String> | 其它属性 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1hotelReservationId | ReservationId | 
| \$1hotelPreferenceRef | preferenceRef | 


**退房数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| Early | 字符串 | 已计划或要求提前退房 | 
| Late | 字符串 | 已计划或要求延迟退房 | 
| 自身 | 字符串 | 已计划或要求自助退房 | 
| 日期 | 字符串 | 预订的退房日期 | 


**忠诚度数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| ProgramName | 字符串 | 忠诚度计划的名称 | 
| MembershipId | 字符串 | 忠诚度计划中的会员 ID | 
| Tier | 字符串 | 忠诚度级别或等级 | 


**房间数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| TypeCode | 字符串 | 房间类型/类别代码 | 
| TypeName | 字符串 | 房间类型名称 | 
| TypeDesc | 字符串 | 房间类型描述 | 
| 数字 | 字符串 | 分配的房间号 | 
| Capacity | 字符串 | 房间的最大容量 | 
| AccessibilityType | 字符串 | 辅助功能 | 
| SmokingAllowed | 字符串 | 指示房间内是否允许吸烟 | 


**CheckIn 数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| 日期 | 字符串 | 预订的入住日期 | 
| DigitalKey | 字符串 | 指示是否已发给数字房间钥匙 | 
| Early | 字符串 | 指明是否要求提早入住 | 
| Late | 字符串 | 指明是否要求延迟入住 | 
| RoomKeys | 字符串 | 发给的房间钥匙数量 | 
| UserSelectedRoom | 字符串 | 如果房客自己选择了房间，则为 True | 


**付款数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 付款方式类型（例如信用卡、借记卡、代金券） | 
| CreditCardToken | 字符串 | 令牌化的信用卡号 | 
| CreditCardType | 字符串 | 信用卡类型（例如 Visa、Amex） | 
| CreditCardExpiration | 字符串 | 信用卡到期日期 | 
| Cvv | 字符串 | 信用卡验证值 | 
| NameOnCreditCard | 字符串 | 信用卡上印刷的姓名 | 
| RoutingNumber | 字符串 | 银行汇款路径号码 | 
| AccountNumber | 字符串 | 银行账户 | 
| VoucherId | 字符串 | 代金券标识符（如果使用） | 
| DiscountCode | 字符串 | 已应用的折扣码 | 
| DiscountPercent | 字符串 | 已应用的折扣百分比 | 


**货币数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| 代码 | 字符串 | 货币的 ISO 代码（例如，USD） | 
| Name | 字符串 | 货币的全名（例如，美元） | 
| 符号 | 字符串 | 货币符号（例如 \$1） | 


**取消数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| Reason | 字符串 | 取消原因 | 
| Comment | 字符串 | 其它取消注释 | 


**频道数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| CreationChannelId | 字符串 | 进行预订的渠道的 ID | 
| LastUpdatedChannelId | 字符串 | 上次更新预订的渠道的 ID | 
| 方法 | 字符串 | 用于预订的方法（例如，Web、移动应用程序） | 


**RatePlan 数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| 代码 | 字符串 | 预订的费率计划的代码标识符 | 
| Name | 字符串 | 预订的费率计划的名称 | 
| 说明 | 字符串 | 费率计划的描述 | 


**服务数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| ServiceType | 字符串 | 服务类型（例如，水疗、早餐） | 
| 说明 | 字符串 | 服务的描述 | 
| 成本 | 字符串 | 服务的成本 | 


**宾客数据类型**  

| 标准 hotelReservation 字段 | Type | 说明 | 
| --- | --- | --- | 
| Adults | 字符串 | 成人宾客人数 | 
| Children | 字符串 | 儿童宾客人数 | 

# 标准忠诚度的对象类型映射
<a name="object-type-mapping-standard-loyalty"></a>

本节中的主题提供标准忠诚度定义。

**Topics**
+ [Customer Profiles 标准忠诚度对象字段](standard-loyalty-object-fields.md)

# Customer Profiles 标准忠诚度对象字段
<a name="standard-loyalty-object-fields"></a>

下表列出了 Customer Profiles 标准忠诚度对象中的所有字段。


**忠诚度**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| LoyaltyId | 字符串 | 标准忠诚度的唯一标识符 | 
| ProgramId | 字符串 | 忠诚度计划的标识符 | 
| MembershipId | 字符串 | 计划中的备用标识符 | 
| ProgramName | 字符串 | 忠诚度计划的名称 | 
| Group | 字符串 | 忠诚度计划的组或类别 | 
| 频道 | 字符串 | 用于访问忠诚度计划的渠道 | 
| CreatedDate | 字符串 | 忠诚度账户的创建日期 | 
| EnrollmentDate | 字符串 | 客户注册该计划的日期 | 
| CreatedBy | 字符串 | 创建忠诚度账户的用户或系统 | 
| UpdatedDate | 字符串 | 上次更新忠诚度账户的日期 | 
| LastUpdatedBy | 字符串 | 上次更新忠诚度账户的用户或系统 | 
| UpgradeDate | 字符串 | 上次升级等级的日期 | 
| RenewalDate | 字符串 | 忠诚度会员续订日期 | 
| AdditionalInformation | 字符串 | 任何其它信息 | 
| EmailAddress | 字符串 | 客户的电子邮件地址 | 
| EmailAddressVerified | 字符串 | 表示电子邮件是否已通过验证的标志 | 
| PhoneNumber | 字符串 | 客户的电话号码 | 
| PhoneNumberVerified | 字符串 | 表示电话号码是否已通过验证的标志 | 
| Status | 字符串 | 忠诚度账户的当前状态 | 
| Tier | 等级 | 等级详细信息 | 
| Points | 积分 | 积分详细信息 | 
| PointExpirations | PointExpiration 清单 | 积分到期详细信息 | 
| Payment | Payment | 付款详细信息 | 
| PaymentInformation | PaymentInformation | 付款信息详细信息 | 
| BillingAddress | 忠诚度地址 | 地址详情 | 
| 属性 | Map<String, String> | 未以其它方式涵盖的其它属性 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1loyaltyId | LoyaltyId | 
| \$1loyaltyMembershipId | membershipId | 


**忠诚度地址数据类型**  

| 标准 airPreference 字段 | 数据类型 | 说明 | 
| --- | --- | --- | 
| Address1 | 字符串 | 客户地址的第一行。 | 
| Address2 | 字符串 | 客户地址的第二行。 | 
| Address3 | 字符串 | 客户地址的第三行。 | 
| Address4 | 字符串 | 客户地址的第四行。 | 
| City | 字符串 | 客户居住的城市。 | 
| Country | 字符串 | 客户居住的国家/地区。 | 
| County | 字符串 | 客户居住的郡/县。 | 
| PostalCode | 字符串 | 客户地址的邮政编码。 | 
| Province | 字符串 | 客户居住的省份。 | 
| State | 字符串 | 客户居住的州。 | 


**等级数据类型**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| CurrentTier | 字符串 | 客户当前的忠诚度等级 | 
| NextTier | 字符串 | 客户的下一个可能的等级 | 
| PointsToNextTier | 字符串 | 达到下一等级所需的积分 | 


**积分数据类型**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| Points.Unit | 字符串 | 积分的计量单位 | 
| Points.Lifetime | 字符串 | 获得的终身积分总数 | 
| Points.Balance | 字符串 | 当前积分余额 | 
| Points.Redeemed | 字符串 | 兑换的积分总数 | 


**PointExpiration 数据类型**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| Points | 字符串 | 过期积分 | 
| 日期 | 字符串 | 积分到期日期 | 


**付款数据类型**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 付款类型 | 
| CreditCardToken | 字符串 | 令牌化信用卡引用 | 
| CreditCardType | 字符串 | 信用卡类型（例如 Visa） | 
| CreditCardExpiration | 字符串 | 信用卡到期日期 | 
| Cvv | 字符串 | 信用卡验证值 | 
| NameOnCreditCard | 字符串 | 卡片上的姓名 | 
| RoutingNumber | 字符串 | 银行汇款路径号码 | 
| AccountNumber | 字符串 | 银行账户 | 
| VoucherId | 字符串 | 代金券标识符 | 


**PaymentInformation 数据类型**  

| 标准忠诚度字段 | Type | 说明 | 
| --- | --- | --- | 
| Schedule | 字符串 | 付款时间表 | 
| LastPaymentDate | 字符串 | 上次付款日期 | 
| NextPaymentDate | 字符串 | 下次付款日期 | 
| NextBillAmount | 字符串 | 下一笔账单的金额 | 
| CurrencyCode | 字符串 | 货币代码（例如 USD） | 
| CurrencyName | 字符串 | 货币的全名 | 
| CurrencySymbol | 字符串 | 货币符号（例如 \$1） | 

# 标准忠诚度交易的对象类型映射
<a name="object-type-mapping-standard-loyalty-transaction"></a>

本节中的主题提供标准忠诚度交易定义。

**Topics**
+ [Customer Profiles 标准忠诚度交易对象字段](standard-loyalty-transaction-object-fields.md)

# Customer Profiles 标准忠诚度交易对象字段
<a name="standard-loyalty-transaction-object-fields"></a>

下表列出了 Customer Profiles 标准忠诚度交易对象中的所有字段。


**忠诚度交易**  

| 标准 loyaltyTransaction 字段 | Type | 说明 | 
| --- | --- | --- | 
| TransactionId | 字符串 | 标准忠诚度交易的唯一标识符。 | 
| TransactionName | 字符串 | 交易的名称或标签。 | 
| TransactionType | 字符串 | 交易类型（例如，赚取、兑换、调整）。 | 
| ProgramRef | 字符串 | 对相关忠诚度计划的引用。 | 
| MembershipRef | 字符串 | 对交易中使用的忠诚度会员资格的引用。 | 
| PromotionRef | 字符串 | 对影响此交易的促销的引用。 | 
| CreatedDate | 字符串 | 创建交易的日期。 | 
| TransactionDate | 字符串 | 交易发生的日期。 | 
| 行业 | 字符串 | 与交易相关的行业（例如航空业、酒店业）。 | 
| 位置 | 字符串 | 交易发生的位置。 | 
| CreatedBy | 字符串 | 交易创建者的标识符。 | 
| UpdatedDate | 字符串 | 上次更新交易的日期。 | 
| UpdatedBy | 字符串 | 上次更新交易的人的标识符。 | 
| Status | 字符串 | 交易的当前状态。 | 
| AccrualType | 字符串 | 应计方法（手动、自动等）。 | 
| 类别 | 字符串 | 交易类别（例如航班、酒店住宿）。 | 
| 频道 | 字符串 | 发起交易的渠道（例如，在线、店内）。 | 
| ProductId | 字符串 | 与交易相关的产品或服务的标识符。 | 
| 使用额 | 字符串 | 交易中花费或交易的金额。 | 
| OriginValue | 字符串 | 任何转换或偏移之前的原始值。 | 
| OriginValueCurrency | 字符串 | 原始交易价值的货币。 | 
| OriginValueOffset | 字符串 | 调整促销、退款等的原始价值。 | 
| PointsEarned | 字符串 | 从该交易中获得的总积分。 | 
| PointOffset | 字符串 | 调整的积分（例如奖励、处罚）。 | 
| QualifyingPointsEarned | 字符串 | 计入等级资格的积分。 | 
| TierBefore | 字符串 | 交易前的客户等级。 | 
| TierAfter | 字符串 | 交易后的客户等级。 | 
| Brand | 字符串 | 与交易关联的品牌。 | 
| 说明 | 字符串 | 交易的叙述性描述。 | 
| AdditionalInformation | 字符串 | 与交易相关的自由格式的其它信息。 | 
| PaymentMethod | 字符串 | 使用的付款方式（例如信用卡、代金券）。 | 
| PointTransfer | PointTransfer | 积分转移详细信息 | 
| 属性 | Map<String, String> | 其它属性。 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1loyaltyTransactionId | TransactionId | 


**PointTransfer 数据类型**  

| 标准 loyaltyTransaction 字段 | Type | 说明 | 
| --- | --- | --- | 
| TransferId | 字符串 | 转移交易的标识符。 | 
| SourceProgramId | 字符串 | 源忠诚度计划的 ID。 | 
| DestinationProgrmId | 字符串 | 目标忠诚度计划的 ID。 | 
| SourceMembershipId | 字符串 | 源计划中的会员 ID。 | 
| DestinationMembershipId | 字符串 | 目标计划中的会员 ID。 | 
| PointsTransferred | 字符串 | 从源计划中扣除的积分。 | 
| PointsReceived | 字符串 | 记入目标计划的积分。 | 

# 标准忠诚度促销的对象类型映射
<a name="object-type-mapping-standard-loyalty-promotion"></a>

本节中的主题提供标准忠诚度促销定义。

使用

**Topics**
+ [Customer Profiles 标准忠诚度促销对象字段](standard-loyalty-promotion-object-fields.md)

# Customer Profiles 标准忠诚度促销对象字段
<a name="standard-loyalty-promotion-object-fields"></a>

下表列出了 Customer Profiles 标准忠诚度促销对象中的所有字段。


**忠诚度促销**  

| 标准 loyaltyPromotion 字段 | Type | 说明 | 
| --- | --- | --- | 
| PromotionId | 字符串 | 标准忠诚度促销的唯一标识符。 | 
| PromotionName | 字符串 | 促销的显示名称。 | 
| PromotionType | 字符串 | 促销的类型或类别（例如奖励、等级提升、代金券）。 | 
| ProgramType | 字符串 | 指示与促销相关的忠诚度计划的类型。 | 
| ProgramRef | 字符串 | 相关忠诚度计划的引用 ID。 | 
| PartnerId | 字符串 | 参与促销的合作伙伴组织的引用 ID。 | 
| PartnerNumber | 字符串 | 与合作伙伴相关的标识符或编号。 | 
| Tier | 字符串 | 促销针对或影响的等级。 | 
| StartDate | 字符串 | 促销生效时间。 | 
| EnrolledDate | 字符串 | 用户注册促销的日期。 | 
| EndDate | 字符串 | 促销结束时间。 | 
| 使用额 | 字符串 | 与促销关联的货币值或积分值。 | 
| 周期 | 字符串 | 促销的时间段（例如，每周、每月、基于活动）。 | 
| Status | 字符串 | 促销的当前状态（例如，活动、到期、已完成）。 | 
| CreatedDate | 字符串 | 创建促销记录的日期。 | 
| CreatedBy | 字符串 | 创建促销记录的用户或系统。 | 
| UpdatedDate | 字符串 | 上次更新促销记录的日期。 | 
| UpdatedBy | 字符串 | 上次更新促销的用户或系统。 | 
| CampaignRef | 字符串 | 对此促销所属的更广泛活动的外部引用。 | 
| AdditionalInformation | 字符串 | 有关促销的其它说明或营销文案。 | 
| TriggerLimit | TriggerLimit | 触发限制详细信息 | 
| 用法 | 用法 | 使用情况详细信息 | 
| Rules | Rules | 促销规则详细信息 | 
| Incentive | 激励 | 促销激励详细信息 | 
| 属性 | Map<String, String> | 其它元数据或计划特定的值。 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1loyaltyPromotionId | PromotionId | 


**规则数据类型**  

| 标准 loyaltyPromotion 字段 | Type | 说明 | 
| --- | --- | --- | 
| 名称 | 字符串 | 促销规则中的规则名称。 | 
| 说明 | 字符串 | 促销规则中的规则描述。 | 


**激励数据类型**  

| 标准 loyaltyPromotion 字段 | Type | 说明 | 
| --- | --- | --- | 
| 类型 | 字符串 | 激励的类型（例如，bonusPoints、voucher、tierUpgrade）。 | 
| 值 | 字符串 | 激励的价值，例如积分金额或代金券价值。 | 
| 单位 | 字符串 | 激励值的单位（例如，积分、%、美元）。 | 


**TriggerLimit 数据类型**  

| 标准 loyaltyPromotion 字段 | Type | 说明 | 
| --- | --- | --- | 
| Times | 字符串 | 可以触发促销的次数。 | 
| Interval | 字符串 | 触发限制的间隔。 | 


**使用情况数据类型**  

| 标准 loyaltyPromotion 字段 | Type | 说明 | 
| --- | --- | --- | 
| UsageProgressPercent | 字符串 | 促销使用情况的进度百分比。 | 
| UsageCompleted | 字符串 | 完成的使用次数。 | 
| UsageTarget | 字符串 | 目标使用次数。 | 

# Web 分析对象的对象类型映射
<a name="standard-loyalty-promotion-object-mapping-web-analytics"></a>


**WebAnalytics 标准对象架构**  

| 字段 | Type | 说明 | 
| --- | --- | --- | 
|  事件属性  | 
|  EventId  |  字符串  |  网络分析事件的唯一标识符。  | 
|  EventType  |  字符串  | 网络分析事件的类型，例如-页面查看、表单提交、按钮点击向上拉主线\$1u0000搜索栏互动、应用程序错误提示、购物车互动、购买、滚动等 | 
|  EventTimestamp  |  数字  |  事件的纪元毫秒时间戳。  | 
|  EventDuration  |  数字  |  EventDuration 表示用户在特定互动中花费的时间，以秒为单位。常见用例包括：查看产品所花费的时间、特定页面上的浏览会话时长、在某项功能上花费的时间等。  | 
|  EventValue  |  数字  |  EventValue 是一个数字属性，用于表示交互事件的值或重要性。常见用例包括：交易事件的购买金额、产品评级的评分值、视频观看量的完成百分比等。  | 
|  会话属性  | 
|  Session.ID  |  字符串  |  会话的唯一标识符。  | 
|  会话。 StartTimestamp  |  数字  |  Epoch 毫秒，表示会话的开始时间戳。  | 
|  页面/屏幕属性  | 
|  页面. 标题  |  字符串  |  移动应用程序的网 App/Screen 名标题。  | 
|  页面. 位置  |  字符串  |  网页的网址。对于移动设备，它可能是深度链接或屏幕路由。  | 
|  Page.Referrer  |  字符串  |  上一个屏幕/页面。  | 
|  页面. 类别  |  字符串  |  screen/page. Might be useful to group nested URLs/app地点的逻辑分组。  | 
|  HTML/DOM 元素  | 
|  Element.Id  |  字符串  |  HTML 元素标识  | 
|  元素. 类型  |  字符串  |  元素类型-按钮、锚链接等  | 
|  元素. 职业  |  字符串  |  元素的 CSS 样式类别  | 
|  元素. 文本  |  字符串  |  元素文本（适用于按钮、输入字段、占位符等）。  | 
|  元素。 AltText  |  字符串  |  AltText HTML 元素（通常用于图像）。  | 
|  元素。来源  |  字符串  |  视频、图像等的来源  | 
|  表单  | 
|  Form.ID  |  字符串  |  输入表单的唯一标识符  | 
|  Form.Name  |  字符串  |  表格名称  | 
|  表单长度  |  字符串  |  表单中输入字段的数量。  | 
|  表格。 ValidationErrors  |  数字  |  表单中的验证错误数量。  | 
|  表格。 FieldsCompleted  |  数字  |  已完成的字段数。  | 
|  表格。 FieldsRequired  |  数字  |  必填字段数。  | 
|  Search  | 
|  搜索. 查询  |  字符串  |  输入中使用的查询字符串  | 
|  搜索。 TotalMatchingResults  |  数字  |  搜索结果总数。  | 
|  搜索。 ResultsPerPage  |  数字  |  每页显示的结果数。  | 
|  搜索。 CurrentResultsPage  |  数字  |  用户正在查看的当前结果页面。  | 
|  搜索。 FilterExpression  |  字符串  |  使用的任何其他过滤器表达式。  | 
|  搜索。 SortCriteria  |  字符串  |  对搜索结果进行排序的标准。例如-相关性、价格等  | 
|  搜索。 SortOrder  |  字符串  |  搜索结果的排序顺序-升序/降序。  | 
|  物品/物品清单  | 
|  Item  |  Item  |  活动中的重点商品，表示已添加到购物车的商品、已查看的商品等。  | 
|  ItemsList  |  清单 <Item>  |  活动中商品的重点列表，表示已购买的商品、购物车中的商品、商品搜索结果等。  | 
|  商品印象  | 
|  AdditionalItemImpressions  |  清单 <Item>  |  其他商品展示次数列表  | 
|  购物车  | 
|  Cart.Id  |  字符串  |  购物车的唯一标识符。  | 
|  购物车。 ItemsCount  |  数字  |  购物车中的商品数量。  | 
|  购物车。货币  |  字符串  |  购物车价值的货币。  | 
|  购物车。Value  |  数字  |  购物车中商品的货币价值。  | 
|  订单信息  | 
|  OrderId  |  字符串  |  订单的唯一标识符。我们只会在这里存储订单标识符，与订单相关的其他信息将存储在标准订单对象中。  | 
|  设备  | 
|  DeviceId  |  字符串  |  用户设备的唯一标识符。  | 
|  滚动属性  | 
|  滚动。 DepthPercentage  |  字符串  |  垂直滚动深度百分比。这有助于了解用户在网页上滚动了多远。  | 
|  滚动.positionX  |  数字  |  水平滚动位置，以像素为单位向左移动。  | 
|  滚动.positiony  |  数字  |  从顶部开始垂直滚动位置（以像素为单位）。  | 
|  错误  | 
|  错误。描述  |  字符串  |  对错误的简短描述。  | 
|  错误。类型  |  字符串  |  用户输入 Error/Server 错误。  | 
|  用户  | 
|  用户.ID  |  字符串  |  用户的唯一标识符  | 
|  用户。 AnonymousId  |  字符串  |  匿名 UserId。这将是在用户未登录时分配给他们的 uniqueID。  | 
|  用户。 IsReturning  |  字符串  |  一个布尔值，表示用户是否正在重新访问。  | 
|  用户。 IsLoggedIn  |  字符串  |  一个布尔值，表示用户是否已登录。  | 
|  活动位置  | 
|  Location.Country  |  字符串  |  用户活动国家。  | 
|  位置. 州  |  字符串  |  用户活动状态。  | 
|  地点. 省  |  字符串  |  用户活动省份。  | 
|  地点. 县  |  字符串  |  用户活动县。  | 
|  位置。城市  |  字符串  |  用户活动城市。  | 
|  位置. 纬度  |  字符串  |  用户活动位置坐标  | 
|  位置. 经度  |  字符串  |  用户活动位置坐标  | 
|  应用程序属性  | 
|  Application.Name  |  字符串  |   应用程序的名称。  | 
|  Application.Version  |  字符串  |  如果设备是移动设备，我们可以在此处捕获应用程序版本。用户也可以考虑将其用于群体 A/B 测试或实验属性。  | 
|  应用程序. 环境  |  字符串  |  应用程序环境，比如-测试版、Gamma、Prod。  | 
|  自定义属性  | 
|  属性  |  Map<String, String>  |  要添加到活动中的任何自定义属性或元数据。  | 


**WebAnalytics 项目对象架构**  

| 字段 | Type | 说明 | 
| --- | --- | --- | 
|  Id  |  字符串  |  商品的唯一标识符。  | 
|  标题  |  字符串  |  物品的标题。  | 
|  类别  |  字符串  |  商品的类别。  | 
|  值  |  字符串  |  物品的货币价值。  | 
|  货币  |  字符串  |  商品的货币。  | 
|  Quantity  |  数字  |  商品的数量。  | 
|  ImpressionType  |  字符串  |  标识事件展示类型的字符串。例如-精选、赞助、热门精选等  | 
|  ImpressionId  |  字符串  |  用于唯一标识展示的字符串标识符。  | 


**设备标准对象架构**  

| 字段 | Type | 说明 | 
| --- | --- | --- | 
|  DeviceId  |  字符串  |  设备的唯一标识符。  | 
|  Type  |  字符串  |  设备类型（例如台式机、移动设备）  | 
|  模型  |  字符串  |  设备型号，比如-Macbook Pro/Air、 IPhone 16 等  | 
|  Manufacturer  |  字符串  |  设备的制造商。  | 
|  OperatingSystem  |  字符串  |  表示 Windows、 MacOs、iOS、安卓。  | 
|  OperatingSystemVersion  |  字符串  |  操作系统版本  | 
|  ScreenWidth  |  数字  |  屏幕宽度 ViewPort  | 
|  ScreenHeight  |  数字  |  屏幕高度 ViewPort  | 
|  浏览器  |  字符串  |  用户正在与之交互的浏览器的名称。  | 
|  BrowserVersion  |  字符串  |  浏览器的版本  | 
|  Locale  |  字符串  |  设备或应用程序的区域设置。  | 
|  属性  |  Map<String, String>  |  设备的任何自定义属性。  | 

# 商品目录的对象类型映射
<a name="standard-loyalty-promotion-object-mapping-item-catalog"></a>


| 字段 | Type | 说明 | 
| --- | --- | --- | 
|  Id  | 字符串 | 商品在目录中的唯一标识符。 | 
|  Name  | 字符串 | 物品的名称 | 
|  代码  | 字符串 | 目录项的代码 | 
|  Type  | 字符串 | 目录项的类型 | 
|  类别  | 字符串 | 目录中商品的类别 | 
|  说明  | 字符串 | 物品描述 | 
|  AdditionalInformation  | 字符串 | 与该商品相关的任何其他信息。 | 
|  ImageLink  | 字符串 | 链接到物品的图片 | 
|  Link  | 字符串 | 商品网址 | 
|  Price  | 字符串 | 商品的价格 | 
|  CreatedAt  | 长整型 | 为其创建物品的时代时间戳 | 
|  UpdatedAt  | 长整型 | 更新物品的时代时间戳 | 
| 属性 | Map<String, String> | 其他物品属性 | 

**注意**  
您只能通过删除域对象类型 APIs。在先删除所有推荐人之后，您可以删除商品目录集成。这样可以防止出现数据依赖性问题。  
**删除步骤：**  
1. 删除您域名中的所有现有推荐者  
2. 导航至商品目录集成。  
3. 选择删除选项。

# 标准酒店住宿收入的对象类型映射
<a name="object-type-mapping-standard-hotel-stay-revenue"></a>

本节中的主题提供标准酒店住宿收入定义。

**Topics**
+ [Customer Profiles 标准酒店住宿收入对象字段](standard-hotel-stay-revenue-object-fields.md)

# Customer Profiles 标准酒店住宿收入对象字段
<a name="standard-hotel-stay-revenue-object-fields"></a>

下表列出了 Customer Profiles 标准酒店住宿收入对象中的所有字段。


**酒店住宿收入**  

| 标准 hotelStayRevenue 字段 | Type | 说明 | 
| --- | --- | --- | 
| StayRevenueId | 字符串 | 标准酒店住宿收入的唯一标识符。 | 
| CurrencyCode | 字符串 | 货币的 ISO 代码（例如，USD） | 
| CurrencyName | 字符串 | 货币的全名（例如，美元） | 
| CurrencySymbol | 字符串 | 货币符号（例如 \$1） | 
| ReservationId | 字符串 | 酒店住宿的唯一标识符 | 
| GuestId | 字符串 | 宾客的唯一标识符 | 
| LastUpdatedOn | 字符串 | 上次更新住宿记录的时间戳 | 
| CreatedOn | 字符串 | 创建住宿记录时的时间戳 | 
| LastUpdatedBy | 字符串 | 上次更新住宿记录的人的标识符 user/system  | 
| CreatedBy | 字符串 | 创建住宿记录 user/system 的人的标识符 | 
| StartDate | 字符串 | 酒店住宿的开始日期 | 
| HotelCode | 字符串 | 标识特定酒店的代码 | 
| Type | 字符串 | 收入类型（例如房费、杂费、税款） | 
| 说明 | 字符串 | 收入项的描述 | 
| 使用额 | 字符串 | 收入项的金额 | 
| ProcessedDate | 字符串 | 处理收入的日期 | 
| Status | 字符串 | 收入项的状态 | 
| 属性 | Map<String, String> | 其它元数据或计划特定的值。 | 


**标准索引字段**  

| 标准索引名称 | 标准偏好记录字段 | 
| --- | --- | 
| \$1 hotelStayRevenue 身份证 | StayRevenueId | 