Skip to content

Contact DTO

Описание сущностей и типов из src/dto/contact/.

Обогащено snapshot-данными бэкенд-DTO (17 из 17 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).

Содержание


CreateEmailContactRequestDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/CreateEmailContactRequestDto.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
emailstringдаstring

Пример

json
{
  "email": "user@example.com"
}


CreateEmailLinkRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
ownerIdnumberдаint
ownerTypeOwnerTypeDtoдаOwnerTypeDto
emailContactIdnumberдаint
relationRelationTypeDtoдаRelationTypeDto

Пример

json
{
  "ownerId": 0,
  "ownerType": "<OwnerTypeDto>",
  "emailContactId": 0,
  "relation": "<RelationTypeDto>"
}


CreatePhoneContactRequestDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/CreatePhoneContactRequestDto.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
phoneNumberstringдаstring

Пример

json
{
  "phoneNumber": "+49123456789"
}


CreatePhoneLinkRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
ownerIdnumberдаint
ownerTypeOwnerTypeDtoдаOwnerTypeDto
phoneContactIdnumberдаint
relationRelationTypeDtoдаRelationTypeDto

Пример

json
{
  "ownerId": 0,
  "ownerType": "<OwnerTypeDto>",
  "phoneContactId": 0,
  "relation": "<RelationTypeDto>"
}


EmailContactDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
emailstringдаstring
linkEmailContactsEmailLinkContactDto[]даList<EmailLinkContactDto>

Пример

json
{
  "id": 0,
  "email": "user@example.com",
  "linkEmailContacts": []
}


EmailLinkContactDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаLink idint
emailContactIdnumberдаEmail contact idint
clientIdnumber | nullнетClient idint?
workerIdnumber | nullнетWorker idint?
partnerIdnumber | nullнетPartner idint?
userIdnumber | nullнетUser idint?
ownerTypeOwnerTypeDtoдаOwner typeOwnerTypeDto
relationTypeRelationTypeDtoдаRelation typeRelationTypeDto
clientClientDto | nullнетClientClientDto?
workerWorkerDto | nullнетWorkerWorkerDto?
partnerPartnerDto | nullнетPartnerPartnerDto?
emailContactEmailContactDto | nullнетEmail contactEmailContactDto?

Пример

json
{
  "id": 0,
  "emailContactId": 0,
  "clientId": 0,
  "workerId": 0,
  "partnerId": 0,
  "userId": 0,
  "ownerType": "<OwnerTypeDto>",
  "relationType": "<RelationTypeDto>",
  "client": "<clientdto>",
  "worker": "<workerdto>",
  "partner": "<partnerdto>",
  "emailContact": "<emailcontactdto>"
}


GetEmailContactByEmailResponseDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Responses/GetEmailContactByEmailResponseDto.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
contactEmailContactDtoдаEmailContactDto

Пример

json
{
  "contact": "<EmailContactDto>"
}


GetEmailLinksRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
paginationPaginationдаPagination
emailstring | nullнетstring?

Пример

json
{
  "pagination": "<Pagination>",
  "email": "user@example.com"
}


GetPhoneLinksRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
paginationPaginationдаPagination
phoneNumberstring | nullнетstring?

Пример

json
{
  "pagination": "<Pagination>",
  "phoneNumber": "+49123456789"
}


OwnerTypeDto

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

Значения

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound11
Client11
Worker22
Partner33
User44

Пример

json
1


PhoneContactDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
phoneNumberstringдаstring
linkPhoneContactsPhoneLinkContactDto[]даList<PhoneLinkContactDto>

Пример

json
{
  "id": 0,
  "phoneNumber": "+49123456789",
  "linkPhoneContacts": []
}


PhoneLinkContactDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаLink idint
phoneContactIdnumberдаPhone contact idint
clientIdnumber | nullнетClient idint?
workerIdnumber | nullнетWorker idint?
partnerIdnumber | nullнетPartner idint?
userIdnumber | nullнетUser idint?
ownerTypeOwnerTypeDtoдаOwner typeOwnerTypeDto
relationTypeRelationTypeDtoдаRelation typeRelationTypeDto
clientClientDto | nullнетClientClientDto?
workerWorkerDto | nullнетWorkerWorkerDto?
partnerPartnerDto | nullнетPartnerPartnerDto?
phoneContactPhoneContactDto | nullнетPhone contactPhoneContactDto?

Пример

json
{
  "id": 0,
  "phoneContactId": 0,
  "clientId": 0,
  "workerId": 0,
  "partnerId": 0,
  "userId": 0,
  "ownerType": "<OwnerTypeDto>",
  "relationType": "<RelationTypeDto>",
  "client": "<clientdto>",
  "worker": "<workerdto>",
  "partner": "<partnerdto>",
  "phoneContact": "<phonecontactdto>"
}


RelationTypeDto

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

Значения

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound00
Owner11
Parent22
Child33
Friend44

Пример

json
0


UpdateEmailContactRequestDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/UpdateEmailContactRequestDto.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
emailstringдаstring

Пример

json
{
  "id": 0,
  "email": "user@example.com"
}


UpdateEmailLinkRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
clientIdnumber | nullнетint?
workerIdnumber | nullнетint?
partnerIdnumber | nullнетint?
userIdnumber | nullнетint?
ownerTypeOwnerTypeDtoдаOwnerTypeDto
emailContactIdnumberдаint
relationRelationTypeDtoдаRelationTypeDto

Пример

json
{
  "id": 0,
  "clientId": 0,
  "workerId": 0,
  "partnerId": 0,
  "userId": 0,
  "ownerType": "<OwnerTypeDto>",
  "emailContactId": 0,
  "relation": "<RelationTypeDto>"
}


UpdatePhoneContactRequestDto

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Contacts/Requests/UpdatePhoneContactRequestDto.cs (core.businesslogicservice).

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
phoneNumberstringдаstring

Пример

json
{
  "id": 0,
  "phoneNumber": "+49123456789"
}


UpdatePhoneLinkRequestDto

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

Поля

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberдаint
clientIdnumber | nullнетint?
workerIdnumber | nullнетint?
partnerIdnumber | nullнетint?
userIdnumber | nullнетint?
ownerTypeOwnerTypeDtoдаOwnerTypeDto
phoneContactIdnumberдаint
relationRelationTypeDtoдаRelationTypeDto

Пример

json
{
  "id": 0,
  "clientId": 0,
  "workerId": 0,
  "partnerId": 0,
  "userId": 0,
  "ownerType": "<OwnerTypeDto>",
  "phoneContactId": 0,
  "relation": "<RelationTypeDto>"
}