Partilhar via


import EntityType

Description: Status and ownership information for an import job.

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

Base Type: crmbaseentity EntityType

Display Name: Data Import

Primary Key: importid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to import

Operations using the import 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: Shows who created the record.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Shows who created the record on behalf of another user.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Shows who last updated the record.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Shows who created the record on behalf of another user.

Computed property

Read-only property

_ownerid_value

Edm.Guid

Description: Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.

_owningbusinessunit_value

Edm.Guid

Description: Business unit that owns the import job.

Computed property

Read-only property

_owningteam_value

Edm.Guid

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

Computed property

Read-only property

_owninguser_value

Edm.Guid

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

Computed property

Read-only property

createdon

Edm.DateTimeOffset

Description: Shows the date and time when the import was initiated.

Display Name: Created On

Read-only property

emailaddress

Edm.String

Description: Type the email address that the import completion notification must be sent to.

Display Name: Email

importid

Edm.Guid

Description: Unique identifier of the import job.

Display Name: Import

modecode

Edm.Int32

Description: Select whether to create or update records in Microsoft Dynamics CRM during the import job.

Default Options:

0 : Create
1 : Update

Display Name: Mode

modifiedon

Edm.DateTimeOffset

Description: Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Shows the name of the import job, based on the import file and the entity being imported.

Display Name: Import Name

sendnotification

Edm.Boolean

Description: Select whether to send a notification email message to a selected user after the import is completed.

Default Options:

1 : Yes
0 : No

Display Name: Send Notification

sequence

Edm.Int32

Description: Order in which the import was created.

Display Name: Sequence

Read-only property

statecode

Edm.Int32

Description: Shows the status of the import job. By default, import jobs are active and can't be deactivated.

Default Options:

0 : Active

Display Name: Status

Read-only property

statuscode

Edm.Int32

Description: Shows the reason code that explains the import job's status to identify the job's stage of the import processes, from transforming the data to completed.

Default Options:

0 : Submitted
1 : Parsing
2 : Transforming
3 : Importing
4 : Completed
5 : Failed

Display Name: Status Reason

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_importbase_createdby

createdonbehalfby

systemuser EntityType

lk_import_createdonbehalfby

modifiedby

systemuser EntityType

lk_importbase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_import_modifiedonbehalfby

ownerid

principal EntityType

owner_imports

owningbusinessunit

businessunit EntityType

BusinessUnit_Imports

owningteam

team EntityType

team_Imports

owninguser

systemuser EntityType

SystemUser_Imports

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

Import_AsyncOperations

asyncoperation EntityType

regardingobjectid_import

Import_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_import

Import_ImportFile

importfile EntityType

importid

Operations bound to import

The following operations are bound to the import entity type.

Name Bound to

ImportRecordsImport Action

Entity

ParseImport Action

Entity

Operations using the import entity type.

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

Name How used Description

ImportRecordsImport Action

entity Parameter

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

ParseImport Action

entity Parameter

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

Consulte também

Outros recursos

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.