obtain the active carbon reduction ranking list.
Operation description
This interface returns a list of proactive carbon reduction information given product ID. It's used to understand the carbon reduction efforts at various levels of the product.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/v1/carbon/footprint/result/gwp/benchmark/list HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | Request parameters. | |
code | string | Yes | The enterprise code. | C-20080808-1 |
productId | long | Yes | The product id. | 1024 |
productType | long | Yes | Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "A8AEC6D9-A359-5169-BD1A-BD848BA60D65",
"data": {
"unit": "kgCO₂e/kg",
"items": [
{
"name": "new-energy",
"carbonEmission": -0.2061,
"percent": "null",
"benchmarkName": "old-energy ",
"benchmarkEmission": 0.0108,
"activeReduction": 0.2169
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.