API Guide
/api/JobService/JobTypes(Id)
This URI represents the details of a job type.
GET method for JobTypes(Id)
This method returns the details of a specific job type.
Description Returns details of a job type.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "/api/$metadata#JobService.JobType/$entity",
"@odata.type": "#JobService.JobType",
"@odata.id": "/api/JobService/JobTypes(5)",
"Id": 5,
"Name": "Update_Task",
"Internal": false
}
Table 124. Attributes
Attribute Description
Id ID of the job type.
Name Name of the job type.
Internal Indicates whether the job is internal.
/api/JobService/Jobs(Id)/ExecutionHistories
This URI represents all the execution histories for a job.
GET method for ExecutionHistories
This method returns the details of all the execution histories for a job.
Description
Returns details of all executions histories for a job.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "/api/$metadata#Collection(JobService.ExecutionHistory)",
"@odata.count": 5,
"value":
[
{
"@odata.type": "#JobService.ExecutionHistory",
"@odata.id": "/api/JobService/Jobs(10016)/ExecutionHistories(18855)",
"Id": 18855,
"JobName": "Default Inventory Task",
"Progress": "100",
"StartTime": "2018-09-14 15:00:00.059",
"EndTime": "2018-09-14 15:00:30.211",
"LastUpdateTime": "2018-09-14 15:00:30.211",
"ExecutedBy": "admin",
"JobId": 10016,
336 Monitor