---
schema_version: "1"
id: 31975f6f931b1a503d3065254ed6747b013359420d6b3a4b2a84d89e85aca1e2
title: ObjectDataImport
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_objectdataimport.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectdataimport.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 725e1d3551af090c7d15c9805b039267243b8ca60ca72c91067d26186033ea4e
description: Represents the data import status of one or more object records. This object is available in API version 57.0 and later.
---
# ObjectDataImport

Represents the data import status of one or more object records. This object is available in API version 57.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| EndDate | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time (in UTC) when the data import finished.



 |
| FileName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Optional. If the data import was from a comma-delimited file (CSV), the name of the file. The maximum length is 120 characters.



 |
| ObjectDataImportNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

An auto-generated number identifying the data import.



 |
| OwnerId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the user who owns the data import status record.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| PrimaryObject | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The name of the primary object being imported. For example, Lead. This value is usually provided programmatically. The maximum length is 120 characters.



 |
| Result | 

Type

textarea

Properties

Nillable

Description

The JSON response of the data object import result, including error messages.



 |
| Status | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The processing status of the data object import.

Possible values are:

- Completed
- In Progress





 |
| Type | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of data import, such as from a comma-delimited file or through a connector.

Possible values are:

- CSV Async
- CSV Sync
- External Record Import—A record imported or updated by Partner Connect between a partner and vendor system. To see this field, enable Partner Connect. See [Set Up Partner Connect as a Partner](https://help.salesforce.com/s/articleView?id=slack.prm_pc_setup_partner_parent.htm&type=5&language=en_US) in Salesforce Help. Available in API version 62.0 and later.
- One time Connector





 |

## Associated Objects

This object has these associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ObjectDataImportChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm)

Sharing rules are available for the object.

[ObjectDataImportOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[ObjectDataImportShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.