Skip to main content
Materials are sourced from the Målbar catalog. Adding a material is a two-step process: first add it to the screening, then set its details.

Browse the catalog

Call GET /v1/materials to fetch available materials. Each item has an inputs array. Save the itemPublicId and note the fieldsType for each input — this determines what you send in the next step.
fieldsTypeWhat to send
DefaultitemPublicId only
SingleitemPublicId + one data.publicId from fields as itemSelectableMaterialPublicId
MultipleitemPublicId + one or more data.publicId from fields as itemSelectableMaterialPublicId

Add the material

Call POST /v1/screenings/{screeningId}/materials using the screening publicId from the screening step. The response includes a screening material publicId — save this for the update call.

Set material details

Call the update endpoint with the screening material publicId to fill in the remaining details. Functional unit fields:
  • functionalUnitValue — quantity in the chosen unit
  • functionalUnitKilogramValue — conversion factor to kg; not needed if the unit is already Kilogram
Per material/process input, set one of: recycleShare — recycle percentage, only available if the item supports it. For Multiple type inputs, also set proportion on each entry — values must sum to 1.0.

Next

Retrieve Results →