Share via


IGenerateCostDetailsReportRequestDefinitionInternal Interface

Definition

public interface IGenerateCostDetailsReportRequestDefinitionInternal
type IGenerateCostDetailsReportRequestDefinitionInternal = interface
Public Interface IGenerateCostDetailsReportRequestDefinitionInternal
Derived

Properties

BillingPeriod

This parameter can be used only by Enterprise Agreement customers. Use the YearMonth(e.g. 202008) format. This parameter cannot be used alongside either the invoiceId or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

InvoiceId

This parameter can only be used by Microsoft Customer Agreement customers. Additionally, it can only be used at the Billing Profile or Customer scope. This parameter cannot be used alongside either the billingPeriod or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

Metric

The type of the detailed report. By default ActualCost is provided

TimePeriod

The specific date range of cost details requested for the report. This parameter cannot be used alongside either the invoiceId or billingPeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost. API only allows data to be pulled for 1 month or less and no older than 13 months. If no timePeriod or billingPeriod or invoiceId is provided the API defaults to the open month time period

TimePeriodEnd

The end date to pull data to. example format 2020-03-15

TimePeriodStart

The start date to pull data from. example format 2020-03-15

Applies to