(GET) /nas/jobs/{ID}
Returns a resource representation of the file share backup job resource having the specified ID. The file share backup job is configured in Veeam Backup & Replication.
Request
To get a resource representation of the file share backup job, you need to send the GET HTTP request to the URL of the /nas/jobs/{ID} resource:
HTTP Request
Request Headers
The request contains the following headers:
Header | Required | Description |
---|---|---|
X-RestSvcSessionId | True | The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. To learn more, see Authentication and Security. |
Accept | False | Identifies the format of the response. Possible values:
If the request does not contain the header, the server will return the response in the XML format. |
Request Body
None.
Query Parameters
The following parameters can be used in queries:
Parameter | Type | Description | Can Be Used for Filtering | Can Be Used for Sorting |
---|---|---|---|---|
Uid | URN | ID of the file share backup job, for example: urn:veeam:NasJob:93dfbb3e-f420-45cf-addc-4ee9297113f2. | True | True |
Name | String | Name of the file share backup job, for example: Shared Files Backup. | True | True |
Description | String | Description of the file share backup job. | True | True |
NextRun | DateTime | Date and time of the next job run. The parameter accepts only UTC-formatted DateTime values. Note that this parameter can be used for scheduled jobs only. | True | True |
ScheduleConfigured | Boolean | Defines whether scheduling options are specified for the job. Possible values:
| True | True |
ScheduleEnabled | Boolean | Defines whether schedule is enabled for the job. Possible values:
| True | True |
BackupServerUid | URN | ID of the Veeam backup server parent to the file share backup job resource. | True | True |
BackupServerName | String | Name of the Veeam backup server parent to the file share backup job resource. | True | True |
Response
The server returns the following response to the client.
Response Codes
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. Possible values:
|
Response Body
In the response body, Veeam Backup Enterprise Manager returns a representation of the /nas/jobs/{ID} resource.
Example
The example below returns an entity resource representation of the file share backup job having ID 93dfbb3e-f420-45cf-addc-4ee9297113f2.
Request: GET https://localhost:9398/api/nas/jobs/93dfbb3e-f420-45cf-addc-4ee9297113f2?format=Entity
Request Header: X-RestSvcSessionId NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj
Response: 200 OK
Response Body: <NASJob xmlns="http://www.veeam.com/ent/v1.0" Type="NasJob" Href="https://srv12.tech.local:9398/api/nas/jobs/93dfbb3e-f420-45cf-addc-4ee9297113f2?format=Entity" Name="Shared Files Backup" UID="urn:veeam:NasJob:93dfbb3e-f420-45cf-addc-4ee9297113f2"> |