Interface ImporterApi
-
Method Summary
Modifier and TypeMethodDescriptionPagedResponse<ImportError> findImportErrors(UUID jobId, FindImportErrorsRequest findImportErrorsRequest) Returns import errors of a finished import job identified by givenjobId.ImportSummarygetImportJobSummary(UUID jobId) Returns a summary of a finished import job identified by givenjobId.JobimportCsvInJob(ImportCsvInJobRequest request) Starts import CSV job.JobimportExcelInJob(ImportExcelInJobRequest request) Starts import Excel job.JobimportJsonInJob(ImportJsonInJobRequest request) Starts import JSON job.JobStarts partial (batch) synchronization job.JobStarts partial (batch) synchronization job.JobStarts partial (batch) synchronization job.JobStarts full synchronization job.JobStarts full synchronization job.JobStarts synchronization finalization (cleanup) job.JobStarts full synchronization job.
-
Method Details
-
importJsonInJob
Starts import JSON job.Request is parsed from the file provided within request or uploaded file for which the
idis provided (also within request).- Parameters:
request- the request containing parameters for import job- Returns:
- the import job
-
importCsvInJob
Starts import CSV job.Request is parsed from the file provided within request or uploaded file for which the
idis provided (also within request).- Parameters:
request- the request containing parameters for import job- Returns:
- the import job
-
importExcelInJob
Starts import Excel job.Request is parsed from the file provided within request or uploaded file for which the
idis provided (also within request).- Parameters:
request- the request containing parameters for import job- Returns:
- the import job
-
synchronizeBatchJsonInJob
Starts partial (batch) synchronization job.Request is parsed from the JSON file provided within request or uploaded JSON file for which the
idis provided (also within request). The input file is treated as a part (batch) of synchronization process. After last batch, finalization (cleanup) process should be called.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeBatchCsvInJob
Starts partial (batch) synchronization job.Request is parsed from the CSV file provided within request or uploaded CSV file for which the
idis provided (also within request). The input file is treated as a part (batch) of synchronization process. After last batch, finalization (cleanup) process should be called.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeBatchExcelInJob
Starts partial (batch) synchronization job.Request is parsed from the Excel file provided within request or uploaded Excel file for which the
idis provided (also within request). The input file is treated as a part (batch) of synchronization process. After last batch, finalization (cleanup) process should be called.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeJsonInJob
Starts full synchronization job.Request is parsed from the JSON file provided within request or uploaded JSON file for which the
idis provided (also within request). The input file is treated as a full input of synchronization process.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeCsvInJob
Starts full synchronization job.Request is parsed from the CSV file provided within request or uploaded CSV file for which the
idis provided (also within request). The input file is treated as a full input of synchronization process.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeExcelInJob
Starts full synchronization job.Request is parsed from the Excel file provided within request or uploaded Excel file for which the
idis provided (also within request). The input file is treated as a full input of synchronization process.- Parameters:
request- the request containing parameters for import synchronization job- Returns:
- the import job
-
synchronizeFinalizationInJob
Starts synchronization finalization (cleanup) job.- Parameters:
request- the request containing parameters for cleanup- Returns:
- the cleanup synchronization job
-
getImportJobSummary
Returns a summary of a finished import job identified by givenjobId.- Parameters:
jobId- the identifier of the job.- Returns:
- the import job results summary
-
findImportErrors
PagedResponse<ImportError> findImportErrors(UUID jobId, FindImportErrorsRequest findImportErrorsRequest) Returns import errors of a finished import job identified by givenjobId.- Parameters:
jobId- the identifier of the job.findImportErrorsRequest- the search criteria for import errors- Returns:
- the found import errors
-