Skip to main content
GET
/
products
/
{productPublicId}
/
screenings
Get all screenings for a product
curl --request GET \
  --url https://api.maalbar.dk/products/{productPublicId}/screenings \
  --header 'X-Api-Key: <api-key>'
[
  {
    "publicId": "scr_xxxxxxxxxxxx",
    "lightSocketType": "<string>",
    "amountOfLightSockets": 0,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "totalWeight": 123,
    "notes": "<string>",
    "energyStandbyConsumption": 123,
    "energyOperationalConsumption": 123,
    "lightSourceOperationalConsumption": 123,
    "lightSourceStandbyConsumption": 123,
    "transportLocation": {
      "publicId": "trl_xxxxxxxxxxxx"
    },
    "countryShare": {
      "publicId": "csh_xxxxxxxxxxxx"
    }
  }
]

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
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
totalWeight
number | null
notes
string | null
energyStandbyConsumption
number | null
energyOperationalConsumption
number | null
lightSourceOperationalConsumption
number | null
lightSourceStandbyConsumption
number | null
transportLocation
object
countryShare
object