Table of Contents

Search

  1. Preface
  2. Introducing Reference 360
  3. Getting started with Reference 360
  4. Manage system reference data
  5. Manage reference data sets
  6. Manage code lists
  7. Manage code values
  8. Manage crosswalks
  9. Import data
  10. Manage hierarchies
  11. Manage attributes
  12. Manage workflows
  13. Manage jobs
  14. Reference 360 REST API
  15. Glossary

Reference 360

Reference 360

Get import job status

Get import job status

Retrieves the status of an import job.

GET request

To get the status of an import job, submit a GET request with the following URI:
/rdm-service/external/v1/import/job/<job ID>

GET response

The response contains the details of the import job, such as the status of the import job, start time, and number of records processed for import.
The following table describes the attributes in the response:
Field
Type
Description
jobId
String
ID of the job.
state
String
Status of the job. Values are
CREATED
,
INPROGRESS
,
COMPLETED
,
SUSPENDED
,
FAILED
,
STOPPED
,
QUEUED
or
WARNING
.
startTime
Number
Time, in milliseconds, when the job started.
numOfRecordsProcessed
Number
Number of records processed.
numOfRecordsFailed
Number
Number of records that failed to be imported.
numOfRecordsSucceeded
Number
Number of records successfully imported.

GET example

To get the status of an import job, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/import/job/dd1b2018cb47cef99f8d0f42 HTTP/1.1 IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
The following sample response shows the status of an import job:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 193 { "jobId":"dd1b2018cb47cef99f8d0f42", "state":"INPROGRESS", "startTime":1561367376330, "numOfRecordsProcessed":100, "numOfRecordsFailed":25, "numOfRecordsSucceeded":75 }

Back to Top

0 COMMENTS

We’d like to hear from you!