cURL
curl --request POST \ --url https://api.maalbar.dk/products/{productPublicId}/screenings \ --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" }, "distribution": { "publicId": "csh_xxxxxxxxxxxx" } } '
{ "publicId": "scr_xxxxxxxxxxxx", "product": { "publicId": "prd_xxxxxxxxxxxx", "name": "<string>", "ean": "<string>", "sku": "<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>", "category": { "publicId": "cat_xxxxxxxxxxxx", "name": "<string>" }, "transportLocation": { "publicId": "trl_xxxxxxxxxxxx" }, "distribution": { "publicId": "csh_xxxxxxxxxxxx", "name": "<string>" } }
x >= 0
255
Show child attributes
Successful response
16
"scr_xxxxxxxxxxxx"