workingDays

Update a workingDays record

patch/api/working-days/{id}

Path parameters

idstring uuid required

Request body

constructionIdstring uuid
datestring date nullable
{"stackTrail":"paths:/api/working-days/{id}:patch:requestBody:content:application/json:schema:properties:timestamp","oasType":"schema","type":"unknown","nullable":true}
endSecondOfDayinteger nullable
notestring nullable
startSecondOfDayinteger nullable
cloudinessPercentsnumber double nullable
humidityPercentsnumber double nullable
temperatureCelsiusnumber double nullable
mongodbIdstring nullable

Example request

{
  "date": "2026-03-26",
  "cloudinessPercents": 25.5,
  "humidityPercents": 25.5,
  "temperatureCelsius": 25.5
}

Response

Default Response

idstring uuid required
companyIdstring uuid required
constructionIdstring uuid required
datestring date nullable
{"stackTrail":"paths:/api/working-days/{id}:patch:responses:200:content:application/json:schema:properties:timestamp","oasType":"schema","type":"unknown","nullable":true}
endSecondOfDayinteger nullable required
notestring nullable required
startSecondOfDayinteger nullable required
cloudinessPercentsnumber double nullable
humidityPercentsnumber double nullable
temperatureCelsiusnumber double nullable
serverVersioninteger required
createdAtstring date-time
updatedAtstring date-time
deletedAtstring date-time nullable
mongodbIdstring nullable required

Example response

{
  "date": "2026-03-26",
  "cloudinessPercents": 25.5,
  "humidityPercents": 25.5,
  "temperatureCelsius": 25.5,
  "serverVersion": 1,
  "createdAt": "2026-03-26T14:00:00Z",
  "updatedAt": "2026-03-26T14:00:00Z",
  "deletedAt": "2026-03-26T14:00:00Z"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.