Home > Use Public APIs for Job Information
Export to PDFWe are upgrading to a new API for better user experience, stability, and easier integration. Visit our documentation page for more details.
To use the Cloud Backup for Dynamics 365 Public APIs, you must first go to the AvePoint Online Services interface and navigate to Administration > App registration page to register an app with the Dynamics.ReadWrite.All permission. For details, refer to Configure App Registrations.
When using the public APIs, you will need to provide the application client ID, Identity service URL, and API URL. To get the Identity service URL and the API URL for your data center, contact AvePoint support for assistance.
| Element | Description | Type | Required? |
|---|---|---|---|
| pageInfo.currentPage | Sets the starting number of the page to get the jobs. The default value is 1. | int | Yes |
| pageInfo.pageSize | Sets the number of jobs to display on one page. The default value is 10. | int | Yes |
| startTime | Sets a start time (UTC time) for the time range. | long | Yes |
| finishTime | Sets an end time (UTC time) for the time range. | long | Yes |
| type | Sets the job types that you want to get. | Enum0 (for All)1 (for Backup)2 (for Restore) | Yes |
| status | Sets the job status | Enum2 (for In Progress)3 (for Finished)4 (for Failed)7 (for Finished with Exception) | No |
| organizationId | Sets the organization that you want to get. | GUID | No |
| objectType | Sets the module type of the jobs to get. | Enum1 (for Customer Engagement)2 (for Unified Operations) | No |
| Element | Description | Type |
|---|---|---|
| totalNumber | The total number of the retrieved jobs. | int |
| currentPage | The page number. | int |
| pageSize | The number of jobs displayed on this page. | int |
| result | A list of jobs. | List |