Skip to main content
POST
/
Mapping
/
buildingproject
/
{buildingprojectId}
/
addmaterial
Add Type:Material
curl --request POST \
  --url https://api.realtimelca.com/rest/api/Mapping/buildingproject/{buildingprojectId}/addmaterial \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
"{\r\n  \"branchName\": \"string\",\r\n  \"typeIdentifier\": \"string\",\r\n  \"materialIdentifier\": \"string\",\r\n  \"includeMapping\": bool,\r\n  \"isRecycled\": bool,\r\n  \"lifetime\": int,\r\n  \"lifetimeOffset\": int,\r\n  \"materialCount\": int,\r\n  \"declaredUnitValuePairs\": [\r\n    {\r\n      \"declaredUnit\": int,\r\n      \"value\": int,\r\n      \"preferred\": bool\r\n    },\r\n    {\r\n      \"declaredUnit\": int\r\n      \"value\": int,\r\n      \"preferred\": bool\r\n    }\r\n  ],\r\n  \"tags\": [\r\n    \"string\",\r\n    \"string\"\r\n  ],\r\n  \"speckleUserParameters\": {\r\n    \"BIMTypeCode\": \"string\",\r\n    \"category\":\"string\"\r\n  },\r\n  \"description\": \"string\"\r\n}"
'

Authorizations

Authorization
string
header
required

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

Path Parameters

buildingprojectId
string
required

Body

application/json

The body is of type object.

Response

default

Response schema not yet documented in the upstream Postman spec.