This operation retrieves analytical data for a carbon inventory organization.
Operation description
The code parameter is the unique code for an organization.
This operation retrieves data for the organization specified by the code.
It also recursively retrieves data for all child organizations.
The data for child organizations is returned in the subEmissionItems field.
The recursion continues until an organization has no child organizations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
energy:GetOrgConstitute |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/carbon/emission/analysis/org HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The parameters in the request body. |
|
| code |
string |
Yes |
The organization code. |
Z-20240115-2 |
| year |
integer |
Yes |
The year. |
2024 |
| moduleCode |
string |
No |
The module code. |
carbonInventory.check.scope_1_direct_ghg_emissions |
| moduleType |
integer |
Yes |
The module type. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| requestId |
string |
The request ID. |
83A5A7DD-8974-5769-952E-590A97BEA34E |
| data | OrgEmission |
The response data. |
Examples
Success response
JSON format
{
"requestId": "83A5A7DD-8974-5769-952E-590A97BEA34E",
"data": {
"name": "EnterpriseZ",
"nameKey": "Z-20240115-4",
"carbonEmissionData": 1.2,
"weightingCarbonEmissionData": 2.3,
"weightingRatio": 0.4,
"ratio": 0.2,
"weightingProportion": 0.3,
"moduleEmissionList": [
{
"name": "Scope 1: Direct GHG emissions",
"nameKey": "carbonInventory.check.scope_1_direct_ghg_emissions",
"carbonEmissionData": 1.2,
"ratio": 0.2
}
],
"subEmissionItems": [
{
"name": "EnterpriseZ",
"nameKey": "Z-20240115-4",
"carbonEmissionData": 1.2,
"weightingCarbonEmissionData": 2.3,
"weightingRatio": 0.4,
"ratio": 0.2,
"weightingProportion": 0.3,
"moduleEmissionList": [
{
"name": "Scope 1: Direct GHG emissions",
"nameKey": "carbonInventory.check.scope_1_direct_ghg_emissions",
"carbonEmissionData": 1.2,
"ratio": 0.2
}
],
"subEmissionItems": [
{
"name": "EnterpriseZ",
"nameKey": "Z-20240115-4",
"carbonEmissionData": 1.2,
"weightingCarbonEmissionData": 2.3,
"weightingRatio": 0.4,
"ratio": 0.2,
"weightingProportion": 0.3,
"moduleEmissionList": [
{
"name": "Scope 1: Direct GHG emissions",
"nameKey": "carbonInventory.check.scope_1_direct_ghg_emissions",
"carbonEmissionData": 1.2,
"ratio": 0.2
}
],
"subEmissionItems": []
}
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.