Skip to main content
GET
/
screenings
/
{screeningPublicId}
/
packaging
/
{screeningMaterialPublicId}
Get packaging for a screening
curl --request GET \
  --url https://api.maalbar.dk/screenings/{screeningPublicId}/packaging/{screeningMaterialPublicId} \
  --header 'X-Api-Key: <api-key>'
{
  "publicId": "scm_xxxxxxxxxxxx",
  "screening": {
    "publicId": "scr_xxxxxxxxxxxx"
  },
  "item": {
    "publicId": "itm_xxxxxxxxxxxx",
    "name": "<string>"
  },
  "label": "<string>",
  "functionalUnitValue": 123,
  "designedForDisassembly": true,
  "productionWaste": 123,
  "amount": 1,
  "inputs": [
    {
      "name": "<string>",
      "type": "Origin",
      "fieldsType": "<string>",
      "fields": [
        {
          "name": "<string>",
          "data": {
            "publicId": "itm_xxxxxxxxxxxx",
            "locationPublicId": "lli_xxxxxxxxxxxx",
            "additional": {
              "proportion": 123,
              "recycleShare": 123,
              "materialUnits": {
                "DTex": 123
              }
            }
          },
          "selected": true
        }
      ]
    }
  ],
  "width": 123,
  "height": 123,
  "depth": 123
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"scm_xxxxxxxxxxxx"

screening
object
required
item
object
required
label
string | null
required
functionalUnitValue
number | null
required
designedForDisassembly
boolean | null
required
productionWaste
number | null
required
amount
number
default:1
required
amountType
enum<string>
required
inputs
object[]
required
width
number | null
height
number | null
depth
number | null