backgroundoperation EntityType

Entity Set Path
[organization URI]/api/data/v9.2/backgroundoperations
Base Type
crmbaseentity
Display Name
Background Operation
Primary Key
backgroundoperationid
Primary Key Attribute
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
backgroundoperationid Edm.Guid

Unique identifier for entity instances

Display Name: Background Operation

backgroundoperationstatecode Edm.Int32

The status of background operation.

Display Name: Status

Default Options
Values Label
0 Ready
2 Locked
3 Completed
backgroundoperationstatuscode Edm.Int32

The status reason for background operation.

Display Name: Status Reason

Default Options
Values Label
0 Waiting For Resources
20 In Progress
22 Canceling
30 Succeeded
31 Failed
32 Canceled
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display Name: Created On

Read Only
displayname Edm.String

The is display name of background operation.

Display Name: DisplayName

endtime Edm.DateTimeOffset

The date time when background operation finished execution.

Display Name: End Time

errorcode Edm.Int32

The error code of error for background operation in case of failure.

Display Name: Error Code

errormessage Edm.String

The error message of error for background operation in case of failure.

Display Name: Error Message

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

inputparameters Edm.String

The input parameters that were supplied to start background operation.

Display Name: Input Parameters

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display Name: Modified On

Read Only
name Edm.String

The name of the background operation.

Display Name: Name

outputparameters Edm.String

The response of background operation.

Display Name: Output Parameters

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

partitionid Edm.String

Logical partition id. A logical partition consists of a set of records with same partition id.

Display Name: Partition Id

priority Edm.Int32

The priority of background operation execution.

Display Name: Priority

retrycount Edm.Int32

The number of times background operation was retried.

Display Name: Retry Count

runas Edm.String

The identity of user which was used to execute background operation.

Display Name: Run As

starttime Edm.DateTimeOffset

The date time when background operation started execution.

Display Name: Start Time

ttlinseconds Edm.Int32

Time to live in seconds.

Display Name: Time to live

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.

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_backgroundoperation_createdby
createdonbehalfby systemuser lk_backgroundoperation_createdonbehalfby
modifiedby systemuser lk_backgroundoperation_modifiedby
modifiedonbehalfby systemuser lk_backgroundoperation_modifiedonbehalfby

Operations

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

Name Binding
CreateMultiple Not Bound
UpdateMultiple Not Bound
UpsertMultiple Not Bound

See also