O Data - Emissions By Enrollment

EmissionsByEnrollment
Connect low-latency OData APIs to your dashboards and applications for programmatic access to emissions data. Microsoft Cloud for Sustainability API Preview Terms and Conditions apply

GET https://api.mcfs.microsoft.com/api/v1.0/instances/{instanceId}/enrollments/{enrollmentId}/emissions
GET https://api.mcfs.microsoft.com/api/v1.0/instances/{instanceId}/enrollments/{enrollmentId}/emissions?$apply={$apply}&$filter={$filter}&$select={$select}&$orderby={$orderby}&$expand={$expand}&$top={$top}&$skip={$skip}&$count={$count}

URI Parameters

Name In Required Type Description
enrollmentId
path True

string

instanceId
path True

string

uuid

Format - uuid.

$apply
query

string

$count
query

boolean

$expand
query

string

$filter
query

string

$orderby
query

string

$select
query

string

$skip
query

integer

int32

Format - int32.

$top
query

integer

int32

Format - int32.

Responses

Name Type Description
200 OK

EnrollmentEmission[]

The request has succeeded.

400 Bad Request

Error

An unexpected error response.

500 Internal Server Error

Error

An unexpected error response.

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

subscription-key

Type: apiKey
In: query

Definitions

Name Description
EnrollmentEmission
Error

EnrollmentEmission

Name Type Description
azureRegionName

string

azureServiceName

string

dateKey

integer

enrollmentId

string

orgName

string

scope

string

scopeId

integer

subService

string

subscriptionId

string

subscriptionName

string

totalEmissions

number

Error

Name Type Description
code

integer

message

string