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}
Name | In | Required | Type | Description |
---|---|---|---|---|
enrollment
|
path | True |
string |
|
instance
|
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. |
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
400 Bad Request |
An unexpected error response. |
|
500 Internal Server Error |
An unexpected error response. |
Type:
apiKey
In:
header
Type:
apiKey
In:
query
Name | Description |
---|---|
Enrollment |
|
Error |
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 |
Name | Type | Description |
---|---|---|
code |
integer |
|
message |
string |