Skip to main content
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
      }
    }
  ]
}
EOF

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
description
string
isPublic
boolean
isCustom
boolean
tags
string[]
declaredUnit
object
expectedLifespan
any

Value may be null. Type not specified by upstream source.

constructionEpds
object[]

Response

default

Response schema not yet documented in the upstream Postman spec.