Get department weather timeline
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
GET /departments/weather
Operation
Operation ID: getDepartmentWeatherTimeline
Returns hourly weather, washes, hours and productivity status for a department
Authentication
Security requirements:
Scheme | Scopes |
|---|---|
BearerAuth | - |
Parameters
Name | In | Required | Type | Description |
|---|---|---|---|---|
id | query | yes | integer | Department ID |
Responses
Status | Description | Content Types |
|---|---|---|
200 | Department weather timeline retrieved successfully | application/json |
Schema for response 200 (application/json):
{
"$ref": "#/components/schemas/DepartmentWeatherTimelineResponse",
"allOf": [
{
"$ref": "#/components/schemas/SuccessResponse"
},
{
"properties": {
"data": {
"items": {
"$ref": "#/components/schemas/DepartmentWeatherTimelineEntry"
},
"type": "array"
}
},
"type": "object"
}
]
}
17 March 2026