curl --request POST \
--url https://api.maalbar.dk/screenings/{screeningPublicId}/materials \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"publicId": "itm_xxxxxxxxxxxx",
"label": "<string>",
"functionalUnitValue": 0,
"designedForDisassembly": false,
"productionWaste": 0,
"fields": [
{
"publicId": "itm_xxxxxxxxxxxx",
"locationPublicId": "lli_xxxxxxxxxxxx",
"additional": {
"proportion": 123,
"recycleShare": 123,
"materialUnits": {
"DTex": 123
}
}
}
]
}
'