cURL
curl --request PUT \ --url https://api.maalbar.dk/screenings/{screeningPublicId} \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "lightSocketType": "<string>", "amountOfLightSockets": 0, "totalWeight": 1, "energyOperationalConsumption": 1, "energyStandbyConsumption": 1, "lightSourceOperationalConsumption": 1, "lightSourceStandbyConsumption": 1, "notes": "<string>", "transportLocation": { "publicId": "trl_xxxxxxxxxxxx" }, "countryShare": { "publicId": "csh_xxxxxxxxxxxx" } } '
{ "publicId": "scr_xxxxxxxxxxxx", "lightSocketType": "<string>", "amountOfLightSockets": 0, "transportLocation": { "publicId": "trl_xxxxxxxxxxxx" }, "product": { "publicId": "prd_xxxxxxxxxxxx", "name": "<string>", "ean": "<string>", "sku": "<string>" }, "category": { "publicId": "cat_xxxxxxxxxxxx", "name": "<string>" }, "countryShare": { "publicId": "csh_xxxxxxxxxxxx", "name": "<string>" }, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "totalWeight": 123, "productReplacementRateQuality": 123, "productReplacementRateLogistics": 123, "functionalUnitValue": 123, "energyOperationalConsumption": 123, "energyStandbyConsumption": 123, "lightSourceOperationalConsumption": 123, "lightSourceStandbyConsumption": 123, "notes": "<string>" }
x >= 0
255
Show child attributes
Successful response
16
"scr_xxxxxxxxxxxx"