Skip to main content
GET
/
screenings
/
{screeningPublicId}
Get screening
curl --request GET \
  --url https://api.maalbar.dk/screenings/{screeningPublicId} \
  --header 'X-Api-Key: <api-key>'
{
  "publicId": "scr_xxxxxxxxxxxx",
  "lightSocketType": "<string>",
  "amountOfLightSockets": 0,
  "transportLocationPublicId": "trl_xxxxxxxxxxxx",
  "distributionPublicId": "csh_xxxxxxxxxxxx",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "totalWeight": 123,
  "energyOperationalConsumption": 123,
  "energyStandbyConsumption": 123,
  "lightSourceOperationalConsumption": 123,
  "lightSourceStandbyConsumption": 123,
  "notes": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"scr_xxxxxxxxxxxx"

lightSocketType
string
required
amountOfLightSockets
number
default:0
required
Required range: x >= 0
transportLocationPublicId
string | null
required
Required string length: 16
Example:

"trl_xxxxxxxxxxxx"

distributionPublicId
string | null
required
Required string length: 16
Example:

"csh_xxxxxxxxxxxx"

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
totalWeight
number | null
energyOperationalConsumption
number | null
energyStandbyConsumption
number | null
lightSourceOperationalConsumption
number | null
lightSourceStandbyConsumption
number | null
notes
string | null