Administration

Returns the list of missing usage records of tenants.

Returns the list of missing usage record between start and end date. List contains records from daily and federation usage. Requires administrator permissions.

get/_api/_admin/_billing/usage/missing

Request

Request body

tenantstring string

(Optional) The ID of the tenant.

startstring string

Start date-time in 'YYYY-MM-DD HH:MM:SS' format.

endstring string

End date-time in 'YYYY-MM-DD HH:MM:SS' format.

overwriteboolean

(Optional) Overwrite existing usage data.

Example request

{
  "tenant": "Test",
  "start": "2022-05-01 00:00:00",
  "end": "2022-05-03 00:00:00"
}

Response

Returns the list of missing usage records.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

Example response

{
  "code": 200,
  "data": [
    {
      "tenantxyz": {
        "_usageDaily": {
          "missingRecords": [
            "services-ap-west_tenantxyz-22062022T2359"
          ]
        },
        "_usageDailyAggregated": {
          "missingRecords": [
            "tenantxyz-22062022T2359"
          ]
        }
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.