Get the Details of a Particular Job for an application
get
/iam/governance/applicationmanagement/api/v1/applications/{appId}/jobs/{jobid}
Returns the job details for a given application and job name
Request
Path Parameters
-
appId: string
Name of the application
-
jobid: string
Name of the Job
Response
Supported Media Types
- application/json
200 Response
Successful
Root Schema : ApplicationJobDetails
Type:
Show Source
object-
currentStatus(optional):
string
-
endTime(optional):
number
-
jobMode:
string
-
jobName:
string
-
jobScheduledType(optional):
string
-
lastRunEndTime(optional):
number
-
lastRunStartTime(optional):
number
-
nextFireTime(optional):
number
-
parameter(optional):
array parameter
-
receiverID(optional):
string
-
receiverType(optional):
string
-
retries(optional):
integer
-
runEvery(optional):
number
-
startTime(optional):
number
-
taskName:
string
-
taskStatus:
boolean
Default Value:
true
Nested Schema : ReconJobParameter
Type:
Show Source
object-
dataType(optional):
string
Allowed Values:
[ "String", "Number", "Boolean", "ITResource" ] -
encrypted(optional):
boolean
Default Value:
false -
helpText(optional):
string
-
name(optional):
string
-
required(optional):
boolean
Default Value:
false -
value(optional):
string
Examples
cURL Example
The following example demonstrates the ability to return the job details for a given application and job name. The information shown here is against a pseudo system and serves as a prototype.
curl -X GET http://pseudo.com/iam/governance/applicationmanagement/api/v1/applications/db2/jobs/ConnectorJob
Response Body Example
{
"jobName": "NewConnectorJob",
"jobMode": "Full",
"taskName": "Search Recon Task",
"jobScheduledType": "Single",
"startTime": "2018-09-13T00:00:00-07:00",
"nextFireTime": "2018-09-13T00:00:00-07:00",
"retries": 5,
"runEvery": 1,
"receiverType": "User",
"receiverID": "",
"taskStatus": true,
"reconjobprarameters": {
"parameter": [
{
"name": "Object Type",
"value": "User",
"helpText": "Object Type",
"dataType": "String",
"required": true
},
{
"name": "Application Name",
"value": "db2",
"helpText": "Application Name",
"dataType": "String",
"required": true
}
]
}
}