Skip to main content

EmployeeListDTO

Employee row returned by GET /v1/open-api/employee. Distinct from EmployeeCompactDTO, which is embedded in other payloads and carries avatar as a plain string.

idint32

Employee ID

Example: 201
fullNamestring

Employee full name

Example: David Wilson
avatar objectnullable

Employee avatar; null when no avatar is set.

absolutePathstringnullable

Presigned URL to the full-size file

Example: https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600
thumbAbsolutePathstringnullable

Presigned URL to the thumbnail rendition

Example: https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600
smallestAbsolutePathstringnullable

Presigned URL to the smallest rendition

Example: https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600
statusUsersStatusnullable

Status of the employee's linked user account; null when the employee has no user account.

Possible values: [ENABLED, LOCKED, EXPIRED]

Example: ENABLED
EmployeeListDTO
{
"id": 201,
"fullName": "David Wilson",
"avatar": {
"absolutePath": "https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600",
"thumbAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600",
"smallestAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600"
},
"status": "ENABLED"
}