Skip to content

UpdateWorkerRequestDto ​

← Worker DTO

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Worker/Request/UpdateWorkerRequestDto.cs (core.businesslogicservice).

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
userIdnumberда—int
idnumberда—int
ratePerHourIdnumber | nullнет—int?
workerSuperChatIdnumber | nullнет—int?
localstring | nullнет—string?
positionstring | nullнет—string?
firstNamestring | nullнет—string?
lastNamestring | nullнет—string?
nationalitystring | nullнет—string?
birthDatestring | nullнет—DateOnly?
emailstring | nullнет—string?
genderGenderParam | nullнет—GenderParam?
taxIdstring | nullнет—string?
pensionInsurancestring | nullнет—string?
medicalInsurancestring | nullнет—string?
bankNamestring | nullнет—string?
ibanstring | nullнет—string?
bicstring | nullнет—string?
employmentTypeEmploymentTypeParam | nullнет—EmploymentTypeParam?
statusWorkerStatusDto | nullнет—WorkerStatusDto?
maxClientsCountnumber | nullнет—int?
paidVacationPerYearCountnumber | nullнет—ushort?
hasAllergyboolean | nullнет—bool?
childsboolean | nullнет—bool?
transportTypesTransportTypeParam[]да—List<TransportTypeParam>?
workWithMenboolean | nullнет—bool?
workWithWomenboolean | nullнет—bool?
religionstring | nullнет—string?
allergyCommentstring | nullнет—string?
commentstring | nullнет—string?
availabilityCommentstring | nullнет—string?
inBlackListbooleanда—bool
isStaffedbooleanда—bool
isAvailableForClientsbooleanда—bool
isTrainedbooleanда—bool
contractSignedDatestring | nullнет—DateOnly?
contractTerminationDatestring | nullнет—DateOnly?
referralSourceReferralSourceDto | nullнет—ReferralSourceDto?
hasCertificatebooleanдаСертификатыbool
hasExperiencebooleanдаЕсть опыт рaботыbool
goToWorkDatestring | nullнетЕсли не вышел в найм - дата выхода на работу Если вышел в найм - null Если уже нанят и !null - дата выхода с больничного или отпускаDateOnly?
addressesUpdateWorkerAddressRequestDto[]да—List<UpdateWorkerAddressRequestDto>?
filesWorkerFileDto[]да—List<WorkerFileDto>?
ratePerHourRatePerHourDto | nullнет—RatePerHourDto?
workerSuperChatWorkerSuperChatDto | nullнет—WorkerSuperChatDto?

Пример ​

json
{
  "userId": 0,
  "id": 0,
  "ratePerHourId": 0,
  "workerSuperChatId": 0,
  "local": "string",
  "position": "string",
  "firstName": "string",
  "lastName": "string",
  "nationality": "string",
  "birthDate": "2026-05-05T08:00:00Z",
  "email": "user@example.com",
  "gender": "<genderparam>",
  "taxId": "uuid",
  "pensionInsurance": "string",
  "medicalInsurance": "string",
  "bankName": "string",
  "iban": "string",
  "bic": "string",
  "employmentType": "<employmenttypeparam>",
  "status": "<workerstatusdto>",
  "maxClientsCount": 0,
  "paidVacationPerYearCount": 0,
  "hasAllergy": false,
  "childs": false,
  "transportTypes": [],
  "workWithMen": false,
  "workWithWomen": false,
  "religion": "string",
  "allergyComment": "string",
  "comment": "string",
  "availabilityComment": "string",
  "inBlackList": false,
  "isStaffed": false,
  "isAvailableForClients": false,
  "isTrained": false,
  "contractSignedDate": "2026-05-05T08:00:00Z",
  "contractTerminationDate": "2026-05-05T08:00:00Z",
  "referralSource": "<referralsourcedto>",
  "hasCertificate": false,
  "hasExperience": false,
  "goToWorkDate": "2026-05-05T08:00:00Z",
  "addresses": [],
  "files": [],
  "ratePerHour": "<rateperhourdto>",
  "workerSuperChat": "<workersuperchatdto>"
}