Dela via


packagehistory EntityType

Entity set path: 
[organization URI]/api/data/v9.2/packagehistories
Base type: 
crmbaseentity
Table type: 
Standard
Display name: 
Package History
Primary key: 
packagehistoryid
Primary name column: 
executionname
Operations supported: 
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name Type Details
applicationid Edm.Guid

Unique identifier for the application installed

Display name: Application Id

applicationname Edm.String

The application name of the target for installation

Display name: Application Name

catalogid Edm.String

The catalog that acted as the source for the artifact

Display name: Catalog Id

correlationid Edm.String

The correlationId for this process

Display name: Correlation Id

createdon Edm.DateTimeOffset

Date and time when the record was created.

Display name: Created On

Read only
deploymentlog Edm.Binary

Stores the package deployment logs for an installation

Display name: Deployment Log

Read only
deploymentlog_name Edm.String
Read only
executionname Edm.String

The display name for this operation

Display name: Execution Name

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
operationid Edm.Guid

OperationId

Display name: OperationId

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display name: Record Created On

packagehistoryid Edm.Guid

Unique identifier for a single package history execution

Display name: Package History

packageid Edm.Guid

Unique identifier for the package to install

Display name: Package Id

publisherid Edm.Guid

Display name: Publisher Id

publishername Edm.String

The publisher name of the target for installation

Display name: Publisher Name

statecode Edm.Int32

Status of the operation

Display name: Status

Default options
Values Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the operation

Display name: Status Reason

Default options
Values Label
526430000 Requested
526430001 Scheduled
526430002 In Process
526430003 Completed
526430004 Failed
526430005 Uninstalled
statusmessage Edm.String

Status for the orchestration

Display name: Status Message

timezoneruleversionnumber Edm.Int32

For internal use only.

Display name: Time Zone Rule Version Number

uniquename Edm.String

The unique name of the target for installation

Display name: Unique Name

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display name: UTC Conversion Time Zone Code

version Edm.String

The version of the target for installation

Display name: Version

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.

_organizationid_value organizationid

Unique identifier for the organization

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_packagehistory_createdby
createdonbehalfby systemuser lk_packagehistory_createdonbehalfby
modifiedby systemuser lk_packagehistory_modifiedby
modifiedonbehalfby systemuser lk_packagehistory_modifiedonbehalfby
organizationid organization organization_packagehistory

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
packagehistory_AsyncOperations asyncoperation regardingobjectid_packagehistory
packagehistory_BulkDeleteFailures bulkdeletefailure regardingobjectid_packagehistory
packagehistory_DuplicateBaseRecord duplicaterecord baserecordid_packagehistory
packagehistory_DuplicateMatchingRecord duplicaterecord duplicaterecordid_packagehistory
packagehistory_FileAttachments fileattachment objectid_packagehistory
packagehistory_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_packagehistory
packagehistory_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_packagehistory
packagehistory_ProcessSession processsession regardingobjectid_packagehistory
packagehistory_SyncErrors syncerror regardingobjectid_packagehistory

Operations

The following operations can be used with the packagehistory entity type.

Name Binding
CreateMultiple Not Bound
IsValidStateTransition Not Bound
UpdateMultiple Not Bound

See also