CallSessionDto
Backend-источник: features.callcenterservice/Features.CallCenterService/Nuget.CallCenterApiClient/Dto/CallSessions/CallSessionDto.cs (features.callcenterservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
agentId | number | да | — | int |
callId | number | null | нет | — | int? |
phoneNumber | string | да | — | string |
callDirection | CallDirectionDto | да | — | CallDirectionDto |
startedAt | string | да | — | DateTime |
endedAt | string | null | нет | — | DateTime? |
wrapupReason | WrapupReasonDto | null | нет | — | WrapupReasonDto? |
comment | string | null | нет | — | string? |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
agent | AgentSummaryDto | null | нет | — | AgentSummaryDto? |
Пример
json
{
"id": 0,
"agentId": 0,
"callId": 0,
"phoneNumber": "+49123456789",
"callDirection": "<CallDirectionDto>",
"startedAt": "2026-05-05T08:00:00Z",
"endedAt": "2026-05-05T08:00:00Z",
"wrapupReason": "<wrapupreasondto>",
"comment": "string",
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z",
"agent": "<agentsummarydto>"
}