Job Submission

The following text describes how to submit a job to the cluster using the /heappe/JobManagement/SubmitJob endpoint. The endpoint is used to submit a job to the cluster and prerequisites creation of the job by /heappe/JobManagement/CreateJob endpoint.

The following parameters are required to submit a job:

HEAppE Submit Job Parameters

Field

Type

Description

Example Values

CreatedJobInfoId

integer

The job identifier returned by the /heappe/JobManagement/CreateJob endpoint.

1

SessionCode

string

The session code returned by the Authentication endpoint.

Example Payload

{
  "SessionCode": "123e4567-e89b-12d3-a456-426614174000",
  "CreatedJobInfoId": 1
}

Example Request

curl -X 'PUT' \
'http://localhost:5000/heappe/JobManagement/SubmitJob' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
  "SessionCode": "123e4567-e89b-12d3-a456-426614174000",
  "CreatedJobInfoId": 1
}'