Skip to main content
PUT
Update a contract

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contractId
string<uuid>
required

Contract ID

Body

application/json

Contract object that needs to be updated

startAt
string<date>
required

Start date of contract

endAt
string<date>

end date of contract

code
string

Code of the contract

comment
string

Comments

jobChargeId
string<uuid>

Job charge ID

contractTypeId
string<uuid>

The ID of the agreement

agreementId
string<uuid>

The ID of the agreement

degreeId
string<uuid>

The ID of the degree

workDayTypeId
string<uuid>

The ID of the work type

socialSecurityNumber
string

The social security number

trialPeriod
object
trialPeriodEndDate
string<date>

Last day of the trial period (Y-m-d)

cbo
string

CBO code (Brazilian Classification of Occupations)

Pattern: ^\d{4}(-\d{2})?$
Example:

"2024-01"

remoteWork
boolean

Remote work

seniorityDate
string<date>

Seniority date

jobLevel
string<uuid>

The job level

jobPositionDescription
string

The job position description

weeklyHours
number<float>

Weekly working hours. Defines the base working time of the contract (see workTimes)

Max legal weekly working hours. Defines the base working time of the contract (see workTimes)

Max legal annual working hours

percentageWorkDay
number<float>

Percentage of workday. Defines the base working time of the contract (see workTimes)

fte
number<float>

The FTE value should be between 0 and 1. Defines the base working time of the contract (see workTimes)

workDays
object[]

Hours to work per day of the week. Defines the base working time of the contract (see workTimes)

workTimes
object[]

Temporary working times of the contract. The base working time covering the whole contract period is always created automatically. Sending an empty array or omitting the field replaces every existing working time with just the base one, so always send the complete desired state. The base working time is built from the contract-level weeklyHours, maxLegalWeeklyHours, percentageWorkDay, fte and workDays fields and cannot be sent here; it always carries a null workdayType, regardless of the contract workDayTypeId

Response

200 - application/json
data
object
meta
object