共用方式為


package EntityType

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

Properties

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

Name Type Details
appid Edm.Guid

Display name: AppId

applicationname Edm.String

Display name: ApplicationName

catalogid Edm.String

The Catalog identifier for packages installed from a Catalog

Display name: Catalog 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
importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display name: Import Sequence Number

installedon Edm.DateTimeOffset

Date and time when the package was first installed.

Display name: Installed On

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display name: Modified On

Read only
overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display name: Record Created On

packageid Edm.Guid

Unique identifier for entity instances

Display name: PackageId

packageinstanceid Edm.Guid

Display name: PackageInstanceId

packageinstanceoperationid Edm.Guid

Display name: PackageInstanceOperationId

packageuniquename Edm.String

The unique name of the package.

Display name: Package Unique Name

packageversion Edm.String

Display name: PackageVersion

publisherid Edm.Guid

Display name: PublisherId

publishername Edm.String

Display name: PublisherName

statecode Edm.Int32

Status of the Package

Display name: Status

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

Reason for the status of the Package

Display name: Status Reason

Default options
Values Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display name: Time Zone Rule Version Number

tpspackageid Edm.Guid

Display name: TPSPackageId

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 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_package_createdby
createdonbehalfby systemuser lk_package_createdonbehalfby
modifiedby systemuser lk_package_modifiedby
modifiedonbehalfby systemuser lk_package_modifiedonbehalfby
organizationid organization organization_package

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
package_AsyncOperations asyncoperation regardingobjectid_package
package_BulkDeleteFailures bulkdeletefailure regardingobjectid_package
package_DuplicateBaseRecord duplicaterecord baserecordid_package
package_DuplicateMatchingRecord duplicaterecord duplicaterecordid_package
package_FileAttachments fileattachment objectid_package
package_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_package
package_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_package
package_ProcessSession processsession regardingobjectid_package
package_solution solution package_solution
package_SyncErrors syncerror regardingobjectid_package

Operations

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

Name Binding
CreateMultiple Not Bound
IsValidStateTransition Not Bound
UpdateMultiple Not Bound

See also