[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1

Create Job

Description

This is the interface used solely by data management to instantiate a job.

Request

Request

URL

URL


post
https://{api_host}/v0alpha1/jobs
Copy

Request Body

Request Body

producer_info_job_request of mimetype application/json Optional

The job information. The format is made up of several fields required by R1 data management, plus an info_job_data field that is specific to the type of job being created. In this case a pmhistory job.

Response

Response

200 OK

The job was successfully created.

Errors

Errors

ProblemDetails
400

The content of the request was incorrectly formed and cannot be processed.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"info_job_identity":"94ec9a62-213b-11ec-af33-7f567fdd0e71","info_type_identity":"pmhistory","target_uri":"http://pmhistory-consumer:8080/v0alpha1/jobs_results/94ec9a62-213b-11ec-af33-7f567fdd0e71"}' https://{api_host}/v0alpha1/jobs


[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1
Job Handling Operations
Feedback

Was this page helpful?