Administration

Generates daily usage data for billing.

Generates daily usage data for tenants. Requires administrator permissions.

post/_api/_admin/_billing/usage/daily

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

Successfully generated daily usage data for billing.

codeinteger

HTTP response code.

errorboolean

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

messagestring

OK if successfully generated daily usage data for billing. An error description is displayed if there is an error.

Example response

{
  "code": 200,
  "message": "OK"
}

Changes

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