List all productions, optionally filtered by generatorId and startDate/endDate (YYYY-MM-DD)
GET
/productions
curl \
--request GET 'http://localhost/api/v1/productions'
Response examples (200)
[
{
"createdAt": "string",
"date": "2025-09-03",
"generatorCapacity": 100.5,
"generatorId": "550e8400-e29b-41d4-a716-446655440001",
"id": "550e8400-e29b-41d4-a716-446655440002",
"isRenewable": true,
"productionMw": 85.3,
"typeName": "Solar",
"updatedAt": "string"
}
]
Response examples (400)
{
"code": 400,
"error": "Invalid input",
"message": "The provided data is invalid"
}
Response examples (500)
{
"code": 400,
"error": "Invalid input",
"message": "The provided data is invalid"
}