workingDaySubcontractors

Update a workingDaySubcontractors record

patch/api/working-day-subcontractors/{id}

Path parameters

idstring uuid required

Request body

workingDayIdstring uuid
subcontractorIdstring uuid
usagenumber double nullable
pricenumber double nullable
unitPricenumber double nullable
totalPricenumber double nullable
mongodbIdstring nullable

Example request

{
  "usage": 25.5,
  "price": 25.5,
  "unitPrice": 25.5,
  "totalPrice": 25.5
}

Response

Default Response

idstring uuid required
workingDayIdstring uuid required
subcontractorIdstring uuid required
companyIdstring uuid required
usagenumber double nullable
pricenumber double nullable
unitPricenumber double nullable
totalPricenumber double nullable
serverVersioninteger required
createdAtstring date-time
updatedAtstring date-time
deletedAtstring date-time nullable
mongodbIdstring nullable required
namestring
unitstring nullable
defaultUnitPricenumber double

Example response

{
  "usage": 25.5,
  "price": 25.5,
  "unitPrice": 25.5,
  "totalPrice": 25.5,
  "serverVersion": 1,
  "createdAt": "2026-03-26T14:00:00Z",
  "updatedAt": "2026-03-26T14:00:00Z",
  "deletedAt": "2026-03-26T14:00:00Z",
  "defaultUnitPrice": 25.5
}

Changes