Updates the Job of an Application

put

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

Updates a particular job of a given application.

Request

Supported Media Types
Path Parameters
Query Parameters
Body ()
Details of the updated job.
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
Back to Top

Examples

cURL Example

The following example shows how to perform an enable, disable, run, stop, or an update operation on the job of a given application. The information shown here is against a pseudo system and serves as a prototype.

curl -X PUT 'http://pseudo.com/iam/governance/applicationmanagement/api/v1/applications/db2/jobs/db2%20Target%20Recon%20Job?operation=update' -d @jobUpdate.json

Request Body Example

{  
   "jobName":"db2 Target Recon Job",
   "jobMode":"Full",
   "taskName":"Search Recon Task",
   "jobScheduledType":"None",
   "nextFireTime":"",
   "retries":5,
   "receiverType":"User",
   "taskStatus":true,
   "reconjobprarameters":{  
      "parameter":[  
         {  
            "name":"Application Name",
            "value":"db",
            "helpText":"Application Name",
            "dataType":"String"
         },
         {  
            "name":"Filter",
            "value":"",
            "helpText":"Filter",
            "dataType":"String"
         },
         {  
            "name":"Object Type",
            "value":"DBUser",
            "helpText":"Object Type",
            "dataType":"String"
         }
      ]
   }
}

Response Body Example

db2 Target Recon Job update is successful.
Back to Top