trait EntityType
- Entity set path:
- [organization URI]/api/data/v9.2/traits
- Base type:
- crmbaseentity
- Display name:
- trait
- Primary key:
- traitid
- Primary name column:
- name
- Operations supported:
- POST GET PATCH DELETE
Properties
Properties represent fields of data stored in the entity. Some properties are read-only.
| Name | Type | Details |
|---|---|---|
| alternativekey | Edm.String |
Display name: AlternativeKey |
| contents | Edm.String |
Display name: Contents |
| createdon | Edm.DateTimeOffset |
Date and time when the record was created. Display name: Created On Read only
|
| importsequencenumber | Edm.Int32 |
Sequence number of the import that created this record. Display name: Import Sequence Number |
| modifiedon | Edm.DateTimeOffset |
Date and time when the record was modified. Display name: Modified On Read only
|
| name | Edm.String |
Display name: Name |
| overriddencreatedon | Edm.DateTimeOffset |
Date and time that the record was migrated. Display name: Record Created On |
| partitionid | Edm.String |
Logical partition id. A logical partition consists of a set of records with same partition id. Display name: Partition Id |
| properties | Edm.String |
Display name: Properties |
| traitid | Edm.Guid |
Unique identifier for entity instances Display name: TraitId |
| traittype | Edm.String |
Display name: TraitType |
| ttlinseconds | Edm.Int32 |
Time to live in seconds. Display name: Time to live |
| userid | Edm.String |
Display name: UserId |
| versionnumber | Edm.Int64 |
Version Number Display name: Version Number Read only
|
Lookup properties
Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Lookup property data.
| Name | Single-valued navigation property | Description |
|---|---|---|
| _createdby_value | createdby |
Unique identifier of the user who created the record. |
| _createdonbehalfby_value | createdonbehalfby |
Unique identifier of the delegate user who created the record. |
| _modifiedby_value | modifiedby |
Unique identifier of the user who modified the record. |
| _modifiedonbehalfby_value | modifiedonbehalfby |
Unique identifier of the delegate user who modified the record. |
| _ownerid_value | ownerid |
Owner Id |
| _owningbusinessunit_value | owningbusinessunit |
Unique identifier for the business unit that owns the record |
| _owningteam_value | owningteam |
Unique identifier for the team that owns the record. |
| _owninguser_value | owninguser |
Unique identifier for the user that owns the record. |
Single-valued navigation properties
Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.
| Name | Type | Partner |
|---|---|---|
| createdby | systemuser | lk_trait_createdby |
| createdonbehalfby | systemuser | lk_trait_createdonbehalfby |
| modifiedby | systemuser | lk_trait_modifiedby |
| modifiedonbehalfby | systemuser | lk_trait_modifiedonbehalfby |
| ownerid | principal | owner_trait |
| owningbusinessunit | businessunit | business_unit_trait |
| owningteam | team | team_trait |
| owninguser | systemuser | user_trait |
Operations
The following operations can be used with the trait entity type.
| Name | Binding |
|---|---|
| BulkRetain | Not Bound |
| CreateMultiple | Not Bound |
| DeleteMultiple | Not Bound |
| PurgeRetainedContent | Not Bound |
| Retain | Not Bound |
| RetrievePrincipalAccess | Not Bound |
| RollbackRetain | Not Bound |
| UpdateMultiple | Not Bound |
| UpsertMultiple | Not Bound |
| ValidateRetentionConfig | Not Bound |