Import Job Item

Entity description

An ImportJobItem entity represents a single record processed during an import job. Each item contains details about the action performed, its status, the line number from the source file, and any associated entity data.

Properties

NameDescriptionTypeExample
uidUnique identifier of the import job itemstringitem-123abc
import_job_uidReference to the parent import jobstringjob-xyz789
actionThe action performed for this record (create, update, skip)stringcreate
line_numberLine number in the source filenumber42
entityThe entity data being importedobject{ "name": "John Doe", "email": "[email protected]" }
statusCurrent status of the import detail (pending, processing, done, error)stringdone
error_messageError message if the import failedstringnull
created_atCreation timestamp in ISO 8601 formatstring2023-01-15T08:30:00.000Z
updated_atLast update timestamp in ISO 8601 formatstring2023-01-15T08:35:00.000Z

Example

{
  "uid": "item-123abc",
  "import_job_uid": "job-xyz789",
  "action": "create",
  "line_number": 42,
  "entity": {
    "name": "John Doe",
    "email": "[email protected]"
  },
  "status": "done",
  "error_message": null,
  "created_at": "2023-01-15T08:30:00.000Z",
  "updated_at": "2023-01-15T08:35:00.000Z"
}