Home > Use Public APIs for Job Information > Gets Job Information
Export to PDFUse the POST api/public/jobreport API to retrieve the backup job information.
| Element | Description | Type | Required |
|---|---|---|---|
| StartTime | Sets a start time (UTC time format) for the time range. | long | Yes |
| FinishTime | Sets an end time (UTC time format) for the time range. | long | Yes |
| JobType | Sets the job types that you want to get. | EnumValid values:1 (for Azure VM Backup)128 (for Microsoft Entra ID Backup)1024 (for Azure Storage Backup)20003 (for Admin Portal Settings Backup)20009 (for Amazon EC2 Backup)20012,20016 (for Azure SQL Backup)20019 (for Azure AD B2C Backup) | Yes |
| ServiceType | Sets the service type of the jobs to get. | EnumValid values:1 (for Azure VM)2 (for Microsoft Entra ID)4 (for Azure Storage)64 (for Admin Portal Settings)256 (for Amazon EC2)512 (for Azure SQL)4096 (for Azure AD B2C) | Yes |
| SearchText | Searches by job ID or description. | string | No |
| PageNumber | Sets the starting number of the page to get the jobs. The default value is 0. | int | Yes |
| PageSize | Sets the number of jobs to display on one page. The default value is 10. | int | Yes |
var apiRequestUrl= "{API URL}/api/public/jobreport";
var request = "{"SearchText":"","ServiceType":0,"JobType":0,"Pagination":{"PageNumber":0,"PageSize":0},"StartTime":0,"FinishTime":0}"
var requestBearerToken = "{Request Token}";
using (var client = new HttpClient())
{
}