Create Construction
curl --request POST \
--url https://api.realtimelca.com/epd/api/Material/construction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "Thomas' Construction",
"description": "Dette er en beskivelse af Thomas' helt utrolige og fantastiske konstruktion der ikke er set magen til før - wauw siger jeg bare.",
"isPublic": false,
"isCustom": false,
"tags": [
"Beton",
"Mineraluld"
],
"declaredUnit": {
"declaredUnit": 4,
"declaredValue": 1,
"mass": null,
"massUnit": 1
},
"expectedLifespan": null,
"constructionEpds": [
{
"epdId": "9ab63b3a-1ef2-40fa-a3cb-2769980ed9b3",
"expectedLifespan": 100,
"constructionUnit": {
"unit": 4,
"amount": 1,
"percentage": 50,
"length": 1,
"height": 1,
"width": 1,
"shownUnit": 4
}
},
{
"epdId": "4acbc0ad-7ca3-4b11-b488-a61ed915ec1d",
"expectedLifespan": 120,
"constructionUnit": {
"unit": 4,
"amount": 1,
"percentage": 50,
"length": 1,
"height": 1,
"width": 1,
"shownUnit": 4
}
}
]
}
EOFLibrary
Create Construction
Creates a new construction material in the system. A construction is a composite material made up of one or more EPD (Environmental Product Declaration) references, each with its own lifespan and unit configuration.
Endpoint: POST {{epdbaseUrl}}/Material/construction
Authentication: Bearer token required — set {{BearerToken}} in your environment.
POST
/
Material
/
construction
Create Construction
curl --request POST \
--url https://api.realtimelca.com/epd/api/Material/construction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "Thomas' Construction",
"description": "Dette er en beskivelse af Thomas' helt utrolige og fantastiske konstruktion der ikke er set magen til før - wauw siger jeg bare.",
"isPublic": false,
"isCustom": false,
"tags": [
"Beton",
"Mineraluld"
],
"declaredUnit": {
"declaredUnit": 4,
"declaredValue": 1,
"mass": null,
"massUnit": 1
},
"expectedLifespan": null,
"constructionEpds": [
{
"epdId": "9ab63b3a-1ef2-40fa-a3cb-2769980ed9b3",
"expectedLifespan": 100,
"constructionUnit": {
"unit": 4,
"amount": 1,
"percentage": 50,
"length": 1,
"height": 1,
"width": 1,
"shownUnit": 4
}
},
{
"epdId": "4acbc0ad-7ca3-4b11-b488-a61ed915ec1d",
"expectedLifespan": 120,
"constructionUnit": {
"unit": 4,
"amount": 1,
"percentage": 50,
"length": 1,
"height": 1,
"width": 1,
"shownUnit": 4
}
}
]
}
EOFAuthorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
default
Response schema not yet documented in the upstream Postman spec.
⌘I

