activityfileattachment EntityType
Attachment entity with data stored in file type attribute
- Entity Set Path
- [organization URI]/api/data/v9.0/activityfileattachments
- Base Type
- crmbaseentity
- Display Name
- Activity File Attachment
- Primary Key
- activityfileattachmentid
- Primary Key Attribute
- filename
- Operations Supported
- POST GET PATCH DELETE
Properties
Properties represent fields of data stored in the entity.Some properties are read-only.
| Name | Type | Details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| activityfileattachmentid | Edm.Guid |
Unique identifier for entity instances Display Name: Activity File Attachment |
||||||||||
| componentidunique | Edm.Guid |
For internal use only. Display Name: Row id unique Read Only
|
||||||||||
| componentstate | Edm.Int32 |
For internal use only. Display Name: Component State Read Only
Default Options
|
||||||||||
| createdon | Edm.DateTimeOffset |
Date and time when the record was created. Display Name: Created On Read Only
|
||||||||||
| filecontent | Edm.Binary |
Content of the uploaded file Display Name: File Content Read Only
|
||||||||||
| filecontent_name | Edm.String |
Read Only
|
||||||||||
| filename | Edm.String |
The name of the file attachment. Display Name: Name |
||||||||||
| importsequencenumber | Edm.Int32 |
Sequence number of the import that created this record. Display Name: Import Sequence Number |
||||||||||
| iscustomizable | BooleanManagedProperty |
For internal use only. Display Name: Is Customizable |
||||||||||
| ismanaged | Edm.Boolean |
Indicates whether the solution component is part of a managed solution. Display Name: Is Managed Read Only
Default Options
|
||||||||||
| modifiedon | Edm.DateTimeOffset |
Date and time when the record was modified. Display Name: Modified On Read Only
|
||||||||||
| objecttypecode | Edm.String |
Object Type Code of the entity that is associated with the attachment. Display Name: Entity |
||||||||||
| overriddencreatedon | Edm.DateTimeOffset |
Date and time that the record was migrated. Display Name: Record Created On |
||||||||||
| overwritetime | Edm.DateTimeOffset |
For internal use only. Display Name: Record Overwrite Time Read Only
|
||||||||||
| solutionid | Edm.Guid |
Unique identifier of the associated solution. Display Name: Solution Read Only
|
||||||||||
| statecode | Edm.Int32 |
Status of the Activity File Attachment Display Name: Status
Default Options
|
||||||||||
| statuscode | Edm.Int32 |
Reason for the status of the Activity File Attachment Display Name: Status Reason
Default Options
|
||||||||||
| timezoneruleversionnumber | Edm.Int32 |
For internal use only. Display Name: Time Zone Rule Version Number |
||||||||||
| utcconversiontimezonecode | Edm.Int32 |
Time zone code that was in use when the record was created. Display Name: UTC Conversion Time Zone Code |
||||||||||
| 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 Retrieve data about lookup properties.
| 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. |
| _parentid_value | parentid_postparentid_postcomment |
Unique identifier of the entity with which the attachment is associated. |
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_activityfileattachment_createdby |
| createdonbehalfby | systemuser | lk_activityfileattachment_createdonbehalfby |
| modifiedby | systemuser | lk_activityfileattachment_modifiedby |
| modifiedonbehalfby | systemuser | lk_activityfileattachment_modifiedonbehalfby |
| ownerid | principal | owner_activityfileattachment |
| owningbusinessunit | businessunit | business_unit_activityfileattachment |
| owningteam | team | team_activityfileattachment |
| owninguser | systemuser | user_activityfileattachment |
| parentid_post | post | post_activity_file_attachment |
| parentid_postcomment | postcomment | post_comment_activity_file_attachment |
Collection-valued navigation properties
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
| Name | Type | Partner |
|---|---|---|
| activityfileattachment_AsyncOperations | asyncoperation | regardingobjectid_activityfileattachment |
| activityfileattachment_BulkDeleteFailures | bulkdeletefailure | regardingobjectid_activityfileattachment |
| activityfileattachment_DuplicateBaseRecord | duplicaterecord | baserecordid_activityfileattachment |
| activityfileattachment_DuplicateMatchingRecord | duplicaterecord | duplicaterecordid_activityfileattachment |
| activityfileattachment_FileAttachments | fileattachment | objectid_activityfileattachment |
| activityfileattachment_MailboxTrackingFolders | mailboxtrackingfolder | regardingobjectid_activityfileattachment |
| activityfileattachment_PrincipalObjectAttributeAccesses | principalobjectattributeaccess | objectid_activityfileattachment |
| activityfileattachment_ProcessSession | processsession | regardingobjectid_activityfileattachment |
| activityfileattachment_SyncErrors | syncerror | regardingobjectid_activityfileattachment |
Operations
The following operations can be used with the activityfileattachment entity type.
| Name | Binding |
|---|---|
| GrantAccess | Not Bound |
| IsValidStateTransition | Not Bound |
| ModifyAccess | Not Bound |
| RetrievePrincipalAccess | Not Bound |
| RetrieveSharedPrincipalsAndAccess | Not Bound |
| RevokeAccess | Not Bound |
Solutions
The following solutions include the activityfileattachment entity type.
| Name | Description |
|---|---|
| Activities Patch | Patch for Dynamics 365 workload for activities. |