constructions

Update a constructions record

patch/api/constructions/{id}

Path parameters

idstring uuid required

Request body

namestring
currencyIsoCodestring nullable
defaultEndSecondOfDayinteger nullable
defaultStartSecondOfDayinteger nullable
isActiveboolean nullable
temperatureUnit'c' | 'f' nullable
investorEmailstring nullable
investorNamestring nullable
investorPhonestring nullable
siteManagerEmailstring nullable
siteManagerNamestring nullable
siteManagerPhonestring nullable
localityAddressstring nullable
localityLatnumber double nullable
localityLngnumber double nullable
endDatestring date nullable
mongodbIdstring nullable

Example request

{
  "localityLat": 25.5,
  "localityLng": 25.5,
  "endDate": "2026-03-26"
}

Response

Default Response

idstring uuid required
companyIdstring uuid required
namestring required
currencyIsoCodestring nullable required
defaultEndSecondOfDayinteger nullable required
defaultStartSecondOfDayinteger nullable required
isActiveboolean nullable required
temperatureUnit'c' | 'f' nullable required
investorEmailstring nullable required
investorNamestring nullable required
investorPhonestring nullable required
siteManagerEmailstring nullable required
siteManagerNamestring nullable required
siteManagerPhonestring nullable required
localityAddressstring nullable required
localityLatnumber double nullable
localityLngnumber double nullable
endDatestring date nullable
serverVersioninteger required
createdAtstring date-time
updatedAtstring date-time
deletedAtstring date-time nullable
mongodbIdstring nullable required

Example response

{
  "localityLat": 25.5,
  "localityLng": 25.5,
  "endDate": "2026-03-26",
  "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.