BookingResponseDto
idnumberrequired
ID записи
Example:
1businessIdnumberrequired
ID бизнеса
Example:
1clientIdnumberrequired
ID клиента
Example:
1serviceIdnumberrequired
ID услуги
Example:
1staffIdnumberrequired
ID сотрудника
Example:
1startTimestring<date-time>required
Время начала
Example:
2024-01-15T10:00:00ZendTimestring<date-time>required
Время окончания
Example:
2024-01-15T11:00:00Zstatusstringrequired
Статус записи
Possible values: [pending, confirmed, in_progress, completed, cancelled, no_show]
Example:
confirmedbookingSourcestringrequired
Источник записи
Possible values: [online, phone, walk_in, admin, api]
Example:
onlinepricenumberrequired
Цена
Example:
1500durationnumberrequired
Длительность в минутах
Example:
60notesstringnullablerequired
Заметки
Example:
Заметки клиентаinternalNotesstringnullablerequired
Внутренние заметки
Example:
Внутренние заметкиreminderSentbooleanrequired
Отправлено ли email напоминание
Example:
falsesmsConfirmationSentbooleanrequired
Отправлено ли SMS подтверждение
Example:
falsesmsReminderSentbooleanrequired
Отправлено ли SMS напоминание
Example:
falsecreatedAtstring<date-time>required
Дата создания
Example:
2024-01-01T00:00:00.000ZupdatedAtstring<date-time>required
Дата обновления
Example:
2024-01-01T00:00:00.000ZBookingResponseDto
{
"id": 1,
"businessId": 1,
"clientId": 1,
"serviceId": 1,
"staffId": 1,
"startTime": "2024-01-15T10:00:00Z",
"endTime": "2024-01-15T11:00:00Z",
"status": "confirmed",
"bookingSource": "online",
"price": 1500,
"duration": 60,
"notes": "Заметки клиента",
"internalNotes": "Внутренние заметки",
"reminderSent": false,
"smsConfirmationSent": false,
"smsReminderSent": false,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}