Get a Veeam backup agent Job
You can get a representation of a Veeam backup agent job with the specified system ID.
Request
To get a representation of a backup agent job, send the GET HTTPS request to the URL of its resource.
HTTP Request
Request Headers
The request header must contain the authorization token.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 OK.
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 Service Provider Console returns a representation of the /backupAgents/{ID}/jobs/{ID} resource.
Example
The following request returns an entity representation of a specific Veeam backup agent job.
Request: GET https://localhost:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "id": "4610eb17-b41c-4cc5-81d1-938ee6d89b7a", "lastSessionStatus": "Success", "name": "Workstation: File level backup. Personal files. Local drive. Daily schedule.", "description": "", "operationMode": "Workstation", "destination": "C:\\VeeamBackup\\", "restorePoints": 2, "lastRestorePoint": null, "backupSize": 67325952, "scheduleType": "Daily", "lastRun": "2018-12-07T08:30:00.767Z", "lastModified": "2018-10-12T01:37:05.2423906+03:00", "lastModificationDoneBy": "srv5\\administrator", "freeSpace": 90541989888, "avgDuration": 116, "lastDuration": 98, "backupModeId": "Folder", "targetType": "Local", "disabled": false, "failureMessage": "", "backupPolicyNote": null, "cloudConnectAgentUid": "3745c96c-8b7b-40e6-8be5-6de1af6b075b" "backupPolicyId": 0, "backupPolicyName": null, "backupPolicyStatus": "Custom", "nextRun": "2018-12-08T00:30:00+03:00", "_links": [ { "rel": "self", "method": "GET", "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a" }, { "rel": "startJob", "method": "POST", "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a/start" }, { "rel": "delete", "method": "DELETE", "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a/delete" } ] } |