v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Microsoft 365 Reports

View User Workload Report

View backup status, activity logs, and summary for user workloads. This API may be updated without any prior notification. Check the API documentation for the latest updates regularly.

post/msp/reporting/v1/reports/mspM365UserWorkload

Headers

Authorizationstring required

Specify the Bearer access token

Request body

pageTokenstring

Specify the token to access the results on the next page. Keep this field blank for the first request. To view the results on the next page, use the value received in the 'nextPageToken' parameter of the previous response.

Example request

{
  "filters": {
    "filterBy": [
      {
        "fieldName": "accountName",
        "operator": "EQUAL"
      }
    ]
  }
}

Response

Success

lastSyncTimestampstring date-time

The time stamp until which the report data was returned. The time is in the UTC time zone.

filtersobject

Filters applied on the report.

nextPageTokenstring

The token to access the next page of results. This parameter will be empty for the last page of the results. This token is valid for 5 minutes.

Example response

{
  "data": [
    {
      "accountName": "Druva",
      "customerName": "Druva",
      "customerGlobalId": "bde7f8c2-d063-4a4a-9a8f-c2ea5aff42f3-198",
      "userName": "AUTOQA1",
      "userEmail": "AUTOQA1@DRUVAINTERNAL.ONMICROSOFT.COM",
      "userPrincipalName": "AUTOQA1",
      "addedOn": "2024-05-24T14:19:54.000Z",
      "workloadType": "OneDrive",
      "profileName": "Default",
      "preferredDataLocation": "-",
      "storageName": "org_reports@druva.org_us-east-1",
      "appStatus": "Enabled",
      "totalBackupData": 1720261,
      "lastSuccessfulBackup": "2024-09-01T18:10:28.000Z",
      "lastAttemptedBackup": "2024-09-01T18:10:28.000Z",
      "lastBackupStatus": "Backed Up Successfully",
      "statusDetails": "EINTERNAL",
      "lastUpdatedTime": "2023-06-04T10:05:18.493Z"
    }
  ],
  "nextPageToken": "YTBDNDk6Rjk1MmViY1FpTVpBejNFTU9lSWxzUT09OjA="
}