You can get a representation of a job with the specified ID.
Request
To get a representation of a job, send the GET HTTPS request to the URL of its resource.
HTTP Request
GET https://<Availability-Console>:1281/v2/Jobs/{ID} |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, Veeam Availability Console returns a representation of the /Jobs/{ID} resource.
Example
The following request returns an entity representation of a job with ID 37.
Request: GET https://localhost:1281/v2/Jobs/37
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "id": 2, "name": "Webserver Backup to Cloud", "status": "Success", "type": "Backup", "lastRun": "2016-11-01T17:35:28Z", "endTime": "2016-11-01T17:40:56Z", "duration": 328, "durationUnits": "s", "processingRate": 17.66, "processingRateUnits": "MB/s", "avgDuration": 328, "avgDurationUnits": "s", "transferredData": 1.52, "transferredDataUnits": "GB", "bottleneck": "Source", "serverName": "BACKUP02", "isEnabled": true, "protectedVMs": 1, "schedulingType": "Periodically", "actions": [ "stop", "retry", "enable", "disable", "start" ], "_links": { "self": { "href": "https://vac:1281/v2/jobs/2" }, "tenants": [ { "href": "https://vac:1281/v2/tenants/3" } ] } } |