Adds a New Job

post

/iam/governance/applicationmanagement/api/v1/applications/{appId}/jobs

Adds a new job to an existing Application.

Request

Supported Media Types
Path Parameters
Body ()
Job details of the new job which have to be added to the application.
Root Schema : ApplicationJobDetails
Type: object
Show Source
Nested Schema : parameter
Type: array
Show Source
Nested Schema : ReconJobParameter
Type: object
Show Source
Back to Top

Response

Default Response

Successful operation
Back to Top

Examples

cURL Example

This example demonstrates the ability to add a new job to an existing application. The information shown here is against a pseudo system and serves as a prototype.

curl -X POST http://pseudo.com/iam/governance/applicationmanagement/api/v1/applications/db2/jobs -H 'content-type: application/json'  -d @jobBody.json

Request Body Example

{  
   "jobName":"NewConnectorJob",
   "jobMode":"Full",
   "taskName":"",
   "jobScheduledType":"Single",
   "startTime":"2018-09-13T00:00:00",
   "nextFireTime":"",
   "retries":"5",
   "runEvery":1,
   "receiverType":"User",
   "receiverID":"",
   "taskStatus":true,
   "reconjobprarameters":{  
      "parameter":[  
         {  
            "name":"Object Type",
            "value":"User",
            "dataType":"String",
            "required":true,
            "helpText":"Object Type"
         },
         {  
            "name":"Application Name",
            "value":"db2",
            "dataType":"String",
            "required":true,
            "helpText":"Application Name"
         }
      ]
   }
}

Response Body Example

Job NewConnectorJob saved successfully for task Search Recon Task.
Back to Top