共用方式為


workqueue EntityType

Entity set path: 
[organization URI]/api/data/v9.2/workqueues
Base type: 
crmbaseentity
Table type: 
Standard
Display name: 
Work Queue
Primary key: 
workqueueid
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
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
Values Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display name: Created On

Read only
defaultitemtimetoliveinminutes Edm.Int32

The default lifespan in minutes of work queue items when added to the work queue.

Display name: Default Item Time To Live In Minutes

description Edm.String

The work queue description.

Display name: Description

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display name: Import Sequence Number

inputschema Edm.String

The input schema field contains the expected input schema used for input validation at enqueue time.

Display name: Input Schema

inputschematype Edm.Int32

The input schema type allows to validate the input field at enqueue time against a specific schema.

Display name: Input Schema Type

Default options
Values Label
0 No Schema
1 Json
2 Xml
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
Values Label
1 Managed
0 Unmanaged
itemmaxrequeuecount Edm.Int32

The maximum number of times an item can be requeued.

Display name: Item maximum requeue count

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display name: Modified On

Read only
name Edm.String

The name of the work queue.

Display name: Name

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
prioritytype Edm.Int32

The priority type determines the pick and processing order for work queue items in a work queue.

Display name: Priority Type

Default options
Values Label
0 Fifo
solutionid Edm.Guid

Unique identifier of the associated solution.

Display name: Solution

Read only
statecode Edm.Int32

The status of the work queue.

Display name: Status

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

Reason for the status of the Work Queue

Display name: Status Reason

Default options
Values Label
1 Active
2 Inactive
3 Paused
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
workqueueid Edm.Guid

Unique identifier for entity instances.

Display name: Work Queue

workqueuekey Edm.String

Display name: Work Queue Key

workqueuetype Edm.Int32

The work queue type allows to handle more specific work queue behavior.

Display name: Work Queue Type

Default options
Values Label
0 Work Queue
1 Run Queue

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_workqueue_createdby
createdonbehalfby systemuser lk_workqueue_createdonbehalfby
modifiedby systemuser lk_workqueue_modifiedby
modifiedonbehalfby systemuser lk_workqueue_modifiedonbehalfby
ownerid principal owner_workqueue
owningbusinessunit businessunit business_unit_workqueue
owningteam team team_workqueue
owninguser systemuser user_workqueue

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
flowevent_workqueue flowevent parentobjectid_workqueue
workqueue_AsyncOperations asyncoperation regardingobjectid_workqueue
workqueue_BulkDeleteFailures bulkdeletefailure regardingobjectid_workqueue
workqueue_DuplicateBaseRecord duplicaterecord baserecordid_workqueue
workqueue_DuplicateMatchingRecord duplicaterecord duplicaterecordid_workqueue
workqueue_flowlog_parentobjectid flowlog parentobjectid_workqueue
workqueue_flowlog_workqueueid flowlog workqueueid
workqueue_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_workqueue
workqueue_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_workqueue
workqueue_ProcessSession processsession regardingobjectid_workqueue
workqueue_SyncErrors syncerror regardingobjectid_workqueue
workqueue_workqueueitem workqueueitem workqueueid

Operations

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

Name Binding
ClearWorkQueue Bound to Entity
CreateMultiple Not Bound
DeleteMultiple Not Bound
Dequeue Bound to Entity
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound
UpdateMultiple Not Bound

See also