Share via


IRequestContextInternal Interface

Definition

public interface IRequestContextInternal
type IRequestContextInternal = interface
Public Interface IRequestContextInternal
Derived

Properties

RequestBody

The request payload body provided in Cost Details call

RequestBodyBillingPeriod

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.

RequestBodyInvoiceId

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.

RequestBodyMetric

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

RequestBodyTimePeriod

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

RequestScope

The request scope of the request.

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