Get trends in carbon emissions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/v1/carbon/emission/analysis/trend
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | Request parameters | |
code | string | Yes | The enterprise code. | C-20240119-1 |
yearList | array | Yes | The list of inventory year. | |
integer | Yes | Year of inventory. | 2024 | |
moduleType | integer | No | Module type. | 3 |
moduleCode | string | No | Module code. | carbonInventory.check.scope_1_direct_ghg_emissions |
trendType | integer | Yes | Trend Type. | 0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "9bc20a5a-b26b-4c28-922a-7cd10b61f96f",
"data": {
"targetEmissionList": [
{
"year": "2024",
"items": [
{
"year": "2024",
"month": 10,
"carbonEmissionData": 20.22
}
]
}
],
"actualEmissionList": [
{
"year": "2024",
"items": [
{
"year": "2024",
"month": 11,
"carbonEmissionData": 20.22
}
]
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-04-03 | The response structure of the API has changed | View Change Details |