200Successful Response
Schema: SuccessEnvelope_ContractResponse_
successbooleanmessagestringcodestringdataContractResponse
/api/v1/contracts/{contract_id}/hoursUpdate the contract's total contracted hours (the burndown denominator). Correction path for contracts whose hour total wasn't captured at countersign (e.g. per-unit blocks). The new total cannot be lower than the hours already drawn down.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
contract_idstringrequiredSchema: ContractHoursUpdate
total_hoursnumber | stringrequiredNew total contracted hours for the contract.
Schema: SuccessEnvelope_ContractResponse_
successbooleanmessagestringcodestringdataContractResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject