Partager via


asyncoperation EntityType

Description: Process whose execution can proceed independently or in the background.

Entity Set path: [organization URI]/api/data/v8.0/asyncoperations

Base Type: crmbaseentity EntityType

Display Name: System Job

Primary Key: asyncoperationid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations using the asyncoperation entity type.

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the system job.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the asyncoperation.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the system job.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who last modified the asyncoperation.

Computed property

Read-only property

_ownerid_value

Edm.Guid

Description: Unique identifier of the user or team who owns the system job.

_owningbusinessunit_value

Edm.Guid

Description: Unique identifier of the business unit that owns the system job.

Computed property

Read-only property

_owningextensionid_value

Edm.Guid

Description: Unique identifier of the owning extension with which the system job is associated.

Computed property

Read-only property

_owningteam_value

Edm.Guid

Description: Unique identifier of the team who owns the record.

Computed property

Read-only property

_owninguser_value

Edm.Guid

Description: Unique identifier of the user who owns the record.

Computed property

Read-only property

_regardingobjectid_value

Edm.Guid

Description: Unique identifier of the object with which the system job is associated.

Computed property

Read-only property

_workflowactivationid_value

Edm.Guid

Description: Unique identifier of the workflow activation related to the system job.

Computed property

Read-only property

asyncoperationid

Edm.Guid

Description: Unique identifier of the system job.

Display Name: System Job

completedon

Edm.DateTimeOffset

Description: Date and time when the system job was completed.

Display Name: Completed On

Read-only property

correlationid

Edm.Guid

Description: Unique identifier used to correlate between multiple SDK requests and system jobs.

Display Name: Correlation Id

correlationupdatedtime

Edm.DateTimeOffset

Description: Last time the correlation depth was updated.

Display Name: Correlation Updated Time

createdon

Edm.DateTimeOffset

Description: Date and time when the system job was created.

Display Name: Created On

Read-only property

data

Edm.String

Description: Unstructured data associated with the system job.

Display Name: Data

dependencytoken

Edm.String

Description: Execution of all operations with the same dependency token is serialized.

Display Name: Dependency Token

depth

Edm.Int32

Description: Number of SDK calls made since the first call.

Display Name: Depth

errorcode

Edm.Int32

Description: Error code returned from a canceled system job.

Display Name: Error Code

Read-only property

executiontimespan

Edm.Double

Description: Time that the system job has taken to execute.

Display Name: ExecutionTimeSpan

Read-only property

friendlymessage

Edm.String

Description: Message provided by the system job.

Display Name: Friendly message

hostid

Edm.String

Description: Unique identifier of the host that owns this system job.

Display Name: Host

iswaitingforevent

Edm.Boolean

Description: Indicates that the system job is waiting for an event.

Default Options:

1 : Yes
0 : No

Display Name: Waiting for Event

Read-only property

message

Edm.String

Description: Message related to the system job.

Display Name: Message

Read-only property

messagename

Edm.String

Description: Name of the message that started this system job.

Display Name: Message Name

modifiedon

Edm.DateTimeOffset

Description: Date and time when the system job was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the system job.

Display Name: System Job Name

operationtype

Edm.Int32

Description: Type of the system job.

Default Options:

1 : System Event
2 : Bulk Email
3 : Import File Parse
4 : Transform Parse Data
5 : Import
6 : Activity Propagation
7 : Duplicate Detection Rule Publish
8 : Bulk Duplicate Detection
9 : SQM Data Collection
10 : Workflow
11 : Quick Campaign
12 : Matchcode Update
13 : Bulk Delete
14 : Deletion Service
15 : Index Management
16 : Collect Organization Statistics
17 : Import Subprocess
18 : Calculate Organization Storage Size
19 : Collect Organization Database Statistics
20 : Collection Organization Size Statistics
21 : Database Tuning
22 : Calculate Organization Maximum Storage Size
23 : Bulk Delete Subprocess
24 : Update Statistic Intervals
25 : Organization Full Text Catalog Index
26 : Database log backup
27 : Update Contract States
28 : DBCC SHRINKDATABASE maintenance job
29 : DBCC SHRINKFILE maintenance job
30 : Reindex all indices maintenance job
31 : Storage Limit Notification
32 : Cleanup inactive workflow assemblies
35 : Recurring Series Expansion
38 : Import Sample Data
40 : Goal Roll Up
41 : Audit Partition Creation
42 : Check For Language Pack Updates
43 : Provision Language Pack
44 : Update Organization Database
45 : Update Solution
46 : Regenerate Entity Row Count Snapshot Data
47 : Regenerate Read Share Snapshot Data
50 : Outgoing Activity
51 : Incoming Email Processing
52 : Mailbox Test Access
53 : Encryption Health Check
54 : Execute Async Request
49 : Post to Yammer
56 : Update Entitlement States
57 : Calculate Rollup Field
58 : Mass Calculate Rollup Field
59 : Import Translation
62 : Convert Date And Time Behavior
63 : EntityKey Index Creation
65 : Update Knowledge Article States

Display Name: System Job Type

postponeuntil

Edm.DateTimeOffset

Description: Indicates whether the system job should run only after the specified date and time.

Display Name: Postpone Until

primaryentitytype

Edm.String

Description: Type of entity with which the system job is primarily associated.

Display Name: Primary Entity Type

recurrencepattern

Edm.String

Description: Pattern of the system job's recurrence.

Display Name: Recurrence Pattern

recurrencestarttime

Edm.DateTimeOffset

Description: Starting time in UTC for the recurrence pattern.

Display Name: Recurrence Start

requestid

Edm.Guid

Description: Unique identifier of the request that generated the system job.

Display Name: Request

retrycount

Edm.Int32

Description: Number of times to retry the system job.

Display Name: Retry Count

Read-only property

sequence

Edm.Int64

Description: Order in which operations were submitted.

Display Name: Sequence

Read-only property

startedon

Edm.DateTimeOffset

Description: Date and time when the system job was started.

Display Name: Started On

Read-only property

statecode

Edm.Int32

Description: Status of the system job.

Default Options:

0 : Ready
1 : Suspended
2 : Locked
3 : Completed

Display Name: Status

statuscode

Edm.Int32

Description: Reason for the status of the system job.

Default Options:

0 : Waiting For Resources
10 : Waiting
20 : In Progress
21 : Pausing
22 : Canceling
30 : Succeeded
31 : Failed
32 : Canceled

Display Name: Status Reason

subtype

Edm.Int32

Description: The Subtype of the Async Job

Display Name: Subtype

Read-only property

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

utcconversiontimezonecode

Edm.Int32

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

workflowstagename

Edm.String

Description: Name of a workflow stage.

Display Name: Workflow Stage

Read-only property

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

Name Type Partner

createdby

systemuser EntityType

lk_asyncoperation_createdby

createdonbehalfby

systemuser EntityType

lk_asyncoperation_createdonbehalfby

modifiedby

systemuser EntityType

lk_asyncoperation_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_asyncoperation_modifiedonbehalfby

ownerid

principal EntityType

owner_asyncoperations

owningbusinessunit

businessunit EntityType

business_unit_asyncoperation

owningextensionid

sdkmessageprocessingstep EntityType

SdkMessageProcessingStep_AsyncOperations

owningteam

team EntityType

team_asyncoperation

owninguser

systemuser EntityType

system_user_asyncoperation

regardingobjectid_account

account EntityType

Account_AsyncOperations

regardingobjectid_activitymimeattachment

activitymimeattachment EntityType

ActivityMimeAttachment_AsyncOperations

regardingobjectid_activitypointer

activitypointer EntityType

ActivityPointer_AsyncOperations

regardingobjectid_annotation

annotation EntityType

Annotation_AsyncOperations

regardingobjectid_annualfiscalcalendar

annualfiscalcalendar EntityType

AnnualFiscalCalendar_AsyncOperations

regardingobjectid_appointment

appointment EntityType

Appointment_AsyncOperations

regardingobjectid_bulkoperation

bulkoperation EntityType

BulkOperation_AsyncOperations

regardingobjectid_bulkoperationlog

bulkoperationlog EntityType

BulkOperationLog_AsyncOperations

regardingobjectid_businessunit

businessunit EntityType

BusinessUnit_AsyncOperations

regardingobjectid_businessunitnewsarticle

businessunitnewsarticle EntityType

BusinessUnitNewsArticle_AsyncOperations

regardingobjectid_calendar

calendar EntityType

Calendar_AsyncOperations

regardingobjectid_campaign

campaign EntityType

Campaign_AsyncOperations

regardingobjectid_campaignactivity

campaignactivity EntityType

CampaignActivity_AsyncOperations

regardingobjectid_campaignresponse

campaignresponse EntityType

CampaignResponse_AsyncOperations

regardingobjectid_competitor

competitor EntityType

Competitor_AsyncOperations

regardingobjectid_connection

connection EntityType

Connection_AsyncOperations

regardingobjectid_connectionrole

connectionrole EntityType

Connection_Role_AsyncOperations

regardingobjectid_constraintbasedgroup

constraintbasedgroup EntityType

ConstraintBasedGroup_AsyncOperations

regardingobjectid_contact

contact EntityType

Contact_AsyncOperations

regardingobjectid_contract

contract EntityType

Contract_AsyncOperations

regardingobjectid_contractdetail

contractdetail EntityType

ContractDetail_AsyncOperations

regardingobjectid_contracttemplate

contracttemplate EntityType

ContractTemplate_AsyncOperations

regardingobjectid_customeraddress

customeraddress EntityType

CustomerAddress_AsyncOperations

regardingobjectid_discount

discount EntityType

Discount_AsyncOperations

regardingobjectid_discounttype

discounttype EntityType

DiscountType_AsyncOperations

regardingobjectid_email

email EntityType

Email_AsyncOperations

regardingobjectid_emailserverprofile

emailserverprofile EntityType

emailserverprofile_asyncoperations

regardingobjectid_entitlement

entitlement EntityType

entitlement_AsyncOperations

regardingobjectid_entitlementchannel

entitlementchannel EntityType

entitlementchannel_AsyncOperations

regardingobjectid_entitlementtemplate

entitlementtemplate EntityType

entitlementtemplate_AsyncOperations

regardingobjectid_equipment

equipment EntityType

Equipment_AsyncOperations

regardingobjectid_fax

fax EntityType

Fax_AsyncOperations

regardingobjectid_fixedmonthlyfiscalcalendar

fixedmonthlyfiscalcalendar EntityType

FixedMonthlyFiscalCalendar_AsyncOperations

regardingobjectid_goal

goal EntityType

Goal_AsyncOperations

regardingobjectid_goalrollupquery

goalrollupquery EntityType

goalrollupquery_AsyncOperations

regardingobjectid_import

import EntityType

Import_AsyncOperations

regardingobjectid_importdata

importdata EntityType

ImportData_AsyncOperations

regardingobjectid_importfile

importfile EntityType

ImportFile_AsyncOperations

regardingobjectid_importlog

importlog EntityType

ImportLog_AsyncOperations

regardingobjectid_importmap

importmap EntityType

ImportMap_AsyncOperations

regardingobjectid_incident

incident EntityType

Incident_AsyncOperations

regardingobjectid_incidentresolution

incidentresolution EntityType

IncidentResolution_AsyncOperations

regardingobjectid_invoice

invoice EntityType

Invoice_AsyncOperations

regardingobjectid_invoicedetail

invoicedetail EntityType

InvoiceDetail_AsyncOperations

regardingobjectid_kbarticle

kbarticle EntityType

KbArticle_AsyncOperations

regardingobjectid_kbarticlecomment

kbarticlecomment EntityType

KbArticleComment_AsyncOperations

regardingobjectid_kbarticletemplate

kbarticletemplate EntityType

KbArticleTemplate_AsyncOperations

regardingobjectid_knowledgearticle

knowledgearticle EntityType

knowledgearticle_AsyncOperations

regardingobjectid_knowledgebaserecord

knowledgebaserecord EntityType

KnowledgeBaseRecord_AsyncOperations

regardingobjectid_lead

lead EntityType

Lead_AsyncOperations

regardingobjectid_letter

letter EntityType

Letter_AsyncOperations

regardingobjectid_list

list EntityType

List_AsyncOperations

regardingobjectid_mailbox

mailbox EntityType

mailbox_asyncoperations

regardingobjectid_mailmergetemplate

mailmergetemplate EntityType

MailMergeTemplate_AsyncOperations

regardingobjectid_metric

metric EntityType

metric_AsyncOperations

regardingobjectid_monthlyfiscalcalendar

monthlyfiscalcalendar EntityType

MonthlyFiscalCalendar_AsyncOperations

regardingobjectid_opportunity

opportunity EntityType

Opportunity_AsyncOperations

regardingobjectid_opportunityclose

opportunityclose EntityType

OpportunityClose_AsyncOperations

regardingobjectid_opportunityproduct

opportunityproduct EntityType

OpportunityProduct_AsyncOperations

regardingobjectid_orderclose

orderclose EntityType

OrderClose_AsyncOperations

regardingobjectid_organization

organization EntityType

Organization_AsyncOperations

regardingobjectid_phonecall

phonecall EntityType

PhoneCall_AsyncOperations

regardingobjectid_position

position EntityType

position_AsyncOperations

regardingobjectid_post

post EntityType

post_AsyncOperations

regardingobjectid_postfollow

postfollow EntityType

PostFollow_AsyncOperations

regardingobjectid_pricelevel

pricelevel EntityType

PriceLevel_AsyncOperations

regardingobjectid_privilege

privilege EntityType

Privilege_AsyncOperations

regardingobjectid_product

product EntityType

Product_AsyncOperations

regardingobjectid_productassociation

productassociation EntityType

ProductAssociation_AsyncOperations

regardingobjectid_productpricelevel

productpricelevel EntityType

ProductPriceLevel_AsyncOperations

regardingobjectid_productsubstitute

productsubstitute EntityType

ProductSubstitute_AsyncOperations

regardingobjectid_quarterlyfiscalcalendar

quarterlyfiscalcalendar EntityType

QuarterlyFiscalCalendar_AsyncOperations

regardingobjectid_queue

queue EntityType

Queue_AsyncOperations

regardingobjectid_queueitem

queueitem EntityType

QueueItem_AsyncOperations

regardingobjectid_quote

quote EntityType

Quote_AsyncOperations

regardingobjectid_quoteclose

quoteclose EntityType

QuoteClose_AsyncOperations

regardingobjectid_quotedetail

quotedetail EntityType

QuoteDetail_AsyncOperations

regardingobjectid_recurringappointmentmaster

recurringappointmentmaster EntityType

RecurringAppointmentMaster_AsyncOperations

regardingobjectid_report

report EntityType

Report_AsyncOperations

regardingobjectid_resource

resource EntityType

Resource_AsyncOperations

regardingobjectid_resourcegroup

resourcegroup EntityType

ResourceGroup_AsyncOperations

regardingobjectid_resourcespec

resourcespec EntityType

ResourceSpec_AsyncOperations

regardingobjectid_role

role EntityType

Role_AsyncOperations

regardingobjectid_salesliterature

salesliterature EntityType

SalesLiterature_AsyncOperations

regardingobjectid_salesliteratureitem

salesliteratureitem EntityType

SalesLiteratureItem_AsyncOperations

regardingobjectid_salesorder

salesorder EntityType

SalesOrder_AsyncOperations

regardingobjectid_salesorderdetail

salesorderdetail EntityType

SalesOrderDetail_AsyncOperations

regardingobjectid_savedquery

savedquery EntityType

SavedQuery_AsyncOperations

regardingobjectid_semiannualfiscalcalendar

semiannualfiscalcalendar EntityType

SemiAnnualFiscalCalendar_AsyncOperations

regardingobjectid_service

service EntityType

Service_AsyncOperations

regardingobjectid_serviceappointment

serviceappointment EntityType

ServiceAppointment_AsyncOperations

regardingobjectid_sharepointdocumentlocation

sharepointdocumentlocation EntityType

SharePointDocumentLocation_AsyncOperations

regardingobjectid_sharepointsite

sharepointsite EntityType

SharePointSite_AsyncOperations

regardingobjectid_similarityrule

similarityrule EntityType

similarityrule_AsyncOperations

regardingobjectid_site

site EntityType

Site_AsyncOperations

regardingobjectid_sla

sla EntityType

slabase_AsyncOperations

regardingobjectid_socialactivity

socialactivity EntityType

SocialActivity_AsyncOperations

regardingobjectid_socialprofile

socialprofile EntityType

SocialProfile_AsyncOperations

regardingobjectid_subject

subject EntityType

Subject_AsyncOperations

regardingobjectid_systemform

systemform EntityType

SystemForm_AsyncOperations

regardingobjectid_systemuser

systemuser EntityType

SystemUser_AsyncOperations

regardingobjectid_task

task EntityType

Task_AsyncOperations

regardingobjectid_team

team EntityType

Team_AsyncOperations

regardingobjectid_template

template EntityType

Template_AsyncOperations

regardingobjectid_territory

territory EntityType

Territory_AsyncOperations

regardingobjectid_theme

theme EntityType

theme_AsyncOperations

regardingobjectid_transactioncurrency

transactioncurrency EntityType

TransactionCurrency_AsyncOperations

regardingobjectid_uom

uom EntityType

UoM_AsyncOperations

regardingobjectid_uomschedule

uomschedule EntityType

UoMSchedule_AsyncOperations

regardingobjectid_userform

userform EntityType

UserForm_AsyncOperations

regardingobjectid_userquery

userquery EntityType

UserQuery_AsyncOperations

workflowactivationid

workflow EntityType

lk_asyncoperation_workflowactivationid

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

AsyncOperation_BulkDeleteOperation

bulkdeleteoperation EntityType

asyncoperationid

AsyncOperation_DuplicateBaseRecord

duplicaterecord EntityType

asyncoperationid

AsyncOperation_Emails

email EntityType

regardingobjectid_asyncoperation

AsyncOperation_SocialActivities

socialactivity EntityType

regardingobjectid_asyncoperation

lk_workflowlog_asyncoperation_childworkflow

workflowlog EntityType

childworkflowinstanceid_asyncoperation

lk_workflowlog_asyncoperations

workflowlog EntityType

asyncoperationid_asyncoperation

Operations using the asyncoperation entity type.

The following operations use the asyncoperation entity type in a parameter or return type.

Name How used Description

ImportRecordsImport Action

ReturnType

Submits an asynchronous job that uploads the transformed data into Microsoft Dynamics CRM.

ParseImport Action

ReturnType

Submits an asynchronous job that parses all import files that are associated with the specified import (data import).

PublishDuplicateRule Action

ReturnType

Submits an asynchronous job to publish a duplicate rule.

TransformImport Action

ReturnType

Submits an asynchronous job that transforms the parsed data.

Voir aussi

Autres ressources

Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.