Use the job resource to start a mass ingestion task. You can also use the job resource to retrieve job status or job logs for a mass ingestion task. Use the mass ingestion REST API version 1 task resource to retrieve the ID and name of the task.
RUN Request
To start a mass ingestion task job, use the following URI:
mftsaas/api/v1/job
Include the following information in the request:
Field | Type | Required | Description |
---|---|---|---|
taskId | String | Yes | Mass ingestion ID. |
taskName | String | Mass ingestion name. |
RUN Response
If successful, Data Integration returns the run ID for the job. Use the run ID to monitor the job status and request log files for the job.
If unsuccessful, the response includes a reason for the failure
GET Status Request
To retrieve the status of a specific mass ingestion task job, use the following URI:
mftsaas/api/v1/job/<runId>/status
GET Status Response
If successful, Data Integration returns the job status and the job details, which includes a list of files and the details and status of each file.
If unsuccessful, the response includes a reason for the failure
GET Job Logs Request
To retrieve the log files for a specific mass ingestion task job, use the following URI:
mftsaas/api/v1/job/<runId>/logs
GET Job Logs Response
If successful, Data Integration returns the log files for the job.
If unsuccessful, the response includes a reason for the failure.