> For the complete documentation index, see [llms.txt](https://docs.samesystem.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samesystem.dev/api-v2-reference/contracts/put-client-token-contracts-id.md).

# Put Client Token Contracts Id

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"tags":[{"name":"Contracts"}],"servers":[{"url":"/api/v2/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ContractUpdateInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}}},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]}}},"paths":{"/{clientToken}/contracts/{id}":{"put":{"parameters":[{"allowReserved":true,"description":"Comma separated list of #/components/schemas/Contract fields that must be returned","explode":false,"in":"query","name":"fields[Contract]","required":false,"schema":{"default":"id,userId,startDate,endDate","items":{"type":"string","enum":["contractType","createdAt","createdById","date","empType","employmentId","employmentPercent","employmentPercentSalary","endDate","fixedLendoutRate","fulltimeMonthlySalary","hoursToWorkMonth","hoursWeek","hoursWeekWeekdays","hoursYear","id","isFirst","maxSalary","overtimeBuffer","packageDays","payingDepartmentId","payrollNo","productivity","productivityPercent","salaryComment","salaryHour","salaryMonth","seniorityStartDate","startDate","status","titleBasedWorkAmountType","travelTimeMonth","userId","vacationDays","vacationHoursWeek","workAmountType","workingDaysPerWeek"]},"type":"array"},"style":"form"},{"in":"path","name":"clientToken","required":true,"schema":{"type":"string"},"description":"Token in a form of \"c\\<clientId\\>\"."},{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/ContractUpdateInput"}},"required":["attributes"]}},"required":["data"]}}}},"responses":{"200":{"description":"Success response","content":{"application/json":{"schema":{"type":"object","properties":{"links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"related":{"type":"string","format":"uri"}}},"meta":{"type":"object","additionalProperties":true},"data":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Contract"}},"required":["attributes"]}},"required":["data"]}}}}},"operationId":"put-clientToken-contracts-id","tags":["Contracts"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samesystem.dev/api-v2-reference/contracts/put-client-token-contracts-id.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
