{
"timestamp": 0,
"code": 0,
"message": "string",
"data": {
"methodId": "string",
"process": [
{
"processId": "string",
"processName": "string",
"qty": 0,
"unit": "p",
"unitProcess": true,
"type": "any",
"lciAry": [
{
"lciDataId": "string",
"conversionCoefficient": 0,
"coefficient": 0
}
],
"subprocess": [
{}
]
}
]
}
}
curl --location --request POST 'http://localhost:9000/calc/emission' \
--header 'Content-Type: application/json' \
--data-raw '{
"timestamp": 0,
"code": 0,
"message": "string",
"data": {
"methodId": "string",
"process": [
{
"processId": "string",
"processName": "string",
"qty": 0,
"unit": "p",
"unitProcess": true,
"type": "any",
"lciAry": [
{
"lciDataId": "string",
"conversionCoefficient": 0,
"coefficient": 0
}
],
"subprocess": [
{}
]
}
]
}
}'
{
"code": 0,
"message": "string",
"data": {
"totalEmission": 0,
"classifyEmission": {
"property1": 0,
"property2": 0
},
"typesEmission": {
"property1": 0,
"property2": 0
},
"unitProcessesEmission": [
{
"processId": "string",
"totalQty": 0,
"qty": 0,
"unit": "string",
"processName": "string",
"lciAry": {
"lciDataId": "string",
"conversionCoefficient": "string",
"coefficient": "string"
},
"type": "string",
"emission": 0,
"classifyEmission": {
"property1": 0,
"property2": 0
}
}
],
"processesEmission": [
{
"processId": "string",
"qty": 0,
"unit": "string",
"processName": "string",
"emission": 0,
"classifyEmission": {
"property1": 0,
"property2": 0
},
"typesEmission": {
"property1": 0,
"property2": 0
},
"subProcesses": [
{}
],
"unitProcess": true
}
]
},
"timestamp": 0
}