Skip to main content
GET
/
screenings
/
{screeningPublicId}
/
components
/
{screeningComponentPublicId}
Get component for a screening
curl --request GET \
  --url https://api.maalbar.dk/screenings/{screeningPublicId}/components/{screeningComponentPublicId} \
  --header 'X-Api-Key: <api-key>'
{
  "publicId": "scc_xxxxxxxxxxxx",
  "amount": 123,
  "applicationWaste": 123,
  "excludePallet": true,
  "excludedScreeningMaterials": [
    {
      "publicId": "scm_xxxxxxxxxxxx"
    }
  ],
  "sourceScreening": {
    "product": {
      "name": "<string>"
    }
  }
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"scc_xxxxxxxxxxxx"

amount
number | null
required
applicationWaste
number | null
required
excludePallet
boolean
required
excludedScreeningMaterials
object[]
required
sourceScreening
object
required