packagehistory EntityType

Entity Set Path
[organization URI]/api/data/v9.2/packagehistories
Base Type
crmbaseentity
Display Name
Package History
Primary Key
packagehistoryid
Primary Key Attribute
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