WorkerLeadDto
Worker lead — landing-page application. Mirrors WorkerLeadModel JSON shape.
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
id | number | да | — |
createDateTime | string | да | — |
updateDateTime | string | null | нет | — |
deleteDateTime | string | null | нет | — |
firstName | string | да | — |
lastName | string | да | — |
gender | GenderParam | да | — |
nationality | string | null | нет | — |
birthDate | string | null | нет | — |
phoneContactId | number | да | — |
phoneContact | PhoneContactDto | да | — |
emailContactId | number | да | — |
emailContact | EmailContactDto | да | — |
employmentType | EmploymentTypeParam | да | — |
paidVacationPerYearCount | number | null | нет | — |
hasExperience | boolean | null | нет | — |
hasCertificate | boolean | null | нет | — |
goToWorkDate | string | null | нет | — |
hasAllergy | boolean | null | нет | — |
allergyComment | string | null | нет | — |
transportTypes | TransportTypeParam[] | да | — |
workWithMen | boolean | null | нет | — |
workWithWomen | boolean | null | нет | — |
childs | boolean | null | нет | — |
religion | string | null | нет | — |
comment | string | null | нет | — |
maxClientsCount | number | null | нет | — |
addresses | WorkerLeadAddressDto[] | да | — |
utmSource | string | null | нет | — |
utmMedium | string | null | нет | — |
utmCampaign | string | null | нет | — |
utmTerm | string | null | нет | — |
utmContent | string | null | нет | — |
workerCreated | boolean | да | Outcome of the parallel Worker creation triggered by the landing-page POST. |
workerNotCreatedReason | WorkerLeadFailReason | null | нет | Short failure code when workerCreated === false; null on success. |
linkedWorkerId | number | null | нет | Id of the Worker created from this lead; null when workerCreated === false. |
Пример
json
{
"id": 0,
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z",
"deleteDateTime": "2026-05-05T08:00:00Z",
"firstName": "string",
"lastName": "string",
"gender": "<GenderParam>",
"nationality": "string",
"birthDate": "2026-05-05T08:00:00Z",
"phoneContactId": 0,
"phoneContact": "<PhoneContactDto>",
"emailContactId": 0,
"emailContact": "<EmailContactDto>",
"employmentType": "<EmploymentTypeParam>",
"paidVacationPerYearCount": 0,
"hasExperience": false,
"hasCertificate": false,
"goToWorkDate": "2026-05-05T08:00:00Z",
"hasAllergy": false,
"allergyComment": "string",
"transportTypes": [],
"workWithMen": false,
"workWithWomen": false,
"childs": false,
"religion": "string",
"comment": "string",
"maxClientsCount": 0,
"addresses": [],
"utmSource": "string",
"utmMedium": "string",
"utmCampaign": "string",
"utmTerm": "string",
"utmContent": "string",
"workerCreated": false,
"workerNotCreatedReason": "<workerleadfailreason>",
"linkedWorkerId": 0
}