ContractJobs

Changes only the supplied fields of a contract job (BF-7482).

Send any of the updatable fields; the rest are left as they are. Null means "leave it", so PATCH cannot clear overtimeRuleId or firstWeekEndingDate - use PUT. Keys that are not updatable fields (statusId, endDate, address, ...) are rejected with 400. clientId and contractorId cannot be changed on an existing job. Rules on the resulting job are enforced only for fields that change. addressId and stateId are the exception to "null means leave it": null clears the address (a state cannot be cleared). A new address must be an active address of the job's client and gives the job its state.

patch/v{version}/ContractJobs/{jobId}

Path parameters

jobIdinteger required

Job to update. Addresses the resource; any jobId in the body is ignored.

versionstring required

Request body

companyIdstring uuid
jobIdinteger
clientIdinteger nullable
contractorIdinteger nullable
contractorTypeId1 | 2
timeCardMethodId1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
overtimeRuleIdinteger nullable
jobTitlestring nullable
startDatestring date-time nullable
firstWeekEndingDatestring date-time nullable
isPerDiemEnabledboolean nullable
isSickTimeEnabledboolean nullable
isExpensesEnabledboolean nullable
isWaiveMealPeriodboolean nullable
isAllowSkipLunchboolean nullable
workersCompCodeIdinteger nullable
burdenManualnumber double nullable

Response

Success

isValidboolean
errorsstring[] nullable
warningsstring[] nullable
infostring[] nullable
messagestring nullable
datainteger

Changes

No recorded changes to this endpoint across all 8 revisions of this API.