Skip to main content
GET
/
screenings
/
{screeningPublicId}
/
packaging
Get packagings for a screening
curl --request GET \
  --url https://api.maalbar.dk/screenings/{screeningPublicId}/packaging \
  --header 'X-Api-Key: <api-key>'
[
  {
    "publicId": "scm_xxxxxxxxxxxx",
    "label": "<string>",
    "functionalUnitValue": 123,
    "productionWaste": 123,
    "recycleShare": 123,
    "item": {
      "publicId": "itm_xxxxxxxxxxxx",
      "category": {
        "name": "<string>"
      },
      "functionalUnit": "<string>",
      "displayName": "<string>"
    },
    "screeningMaterialMasterBox": {
      "publicId": "smb_xxxxxxxxxxxx"
    },
    "screeningMaterialPackaging": {
      "publicId": "spa_xxxxxxxxxxxx",
      "width": 123,
      "height": 123,
      "depth": 123,
      "amount": 123,
      "amountType": "<string>"
    },
    "screeningMaterialMaterials": [
      {
        "publicId": "sma_xxxxxxxxxxxx",
        "locationListItem": {
          "publicId": "lli_xxxxxxxxxxxx",
          "name": "<string>"
        },
        "proportion": 123,
        "recycleShare": 123
      }
    ],
    "screeningMaterialProcesses": [
      {
        "publicId": "spr_xxxxxxxxxxxx",
        "proportion": 123,
        "productionWaste": 123
      }
    ]
  }
]

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"scm_xxxxxxxxxxxx"

label
string | null
required
functionalUnitValue
number | null
required
productionWaste
number | null
required
recycleShare
number | null
required
item
object
required
screeningMaterialMasterBox
object
required
screeningMaterialPackaging
object
required
screeningMaterialMaterials
object[]
required
screeningMaterialProcesses
object[]
required