API Service Documentation

Command: leads_csv_import_status

Retrieves status of existing leads_csv_import request

Request

NameTypeRequiredExample
user_idIntegerN1001

Inserting userID if ai_token is not present

process_idIntegerN1234

ProcessID to check status of (Either ID or filename is required)

process_filenameStringNimp_200422.csv

Filename to check status of (Either ID or filename is required)

Response

NameTypeExample
current_statusStringFINSIHED

NOT_STARTED / RUNNING / FINISHED / FAILED / ERROR

rows_percentFloat92.12

Percent of Rows Processed, 100% garauntess that all rows have been processed but not necessarily completion as some re-caching & post-processing is required

d_startedDateTime2020-12-31 12:15:15

Time of last_update or 0000-00-00 00:00:00 when not yet started

d_createdDateTime2020-12-31 12:15:15

Time of last_update or 0000-00-00 00:00:00 when not yet started

d_updatedDateTime2020-12-31 12:15:15

Time of last_update or 0000-00-00 00:00:00 when not yet started

used_fileStringuploads/...csv

The CSV File that was processed

used_configString[..]

The JSON array used to configure & parse the file

summaryArray[..]

If "FINISHED" This will contain an array with the following summary response information: file_upload_count, file_upload_skip_count, file_upload_total, total_count, insert_count, file_upload_insert_count, file_upload_update_count, total_skipped, skip_count, duplicate_count, file_upload_duplicate_count, empty_count, unchanged_count, file_upload_unchanged_count, update_count, file_basename, error_log, view_leads_url