Download OpenAPI specification:
LE-KO Coach Calendar API
✨ Retrieves timeslots of a specific service, grouping them by eligibility, age range, address, session type (personal/group), and skill levels.
| serviceId required | string <uuid> Unique identifier of the service for which to retrieve available timeslots |
| timeslotIds | Array of strings <uuid> (Id) [ items <uuid > = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... ] Example: timeslotIds=4b72d209-debd-45e1-93cc-7640bf7d39bf Array of timeslot IDs |
| userLatitude | number <double> User latitude. Used for calculating distances |
| userLongitude | number <double> User longitude. Used for calculating distances |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
required | object (Service) | ||||||||||||||||||
| |||||||||||||||||||
| servicePhotosIds required | Array of strings <uuid> [ items <uuid > ] | ||||||||||||||||||
required | Array of objects (HubPublicTimeslotsViewItem) | ||||||||||||||||||
Array
| |||||||||||||||||||
required | Array of objects (HubPublicTimeslotsViewItem) | ||||||||||||||||||
Array
| |||||||||||||||||||
{- "service": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "description": "string",
- "sportId": "d853e53d-2208-46fd-b120-7bf69f55862f",
- "subsportId": "c4efa15b-3c3c-4761-b606-13bda2cc83a9",
- "isDraft": true,
- "inventory": "string"
}, - "servicePhotosIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "personalSlots": [
- {
- "timeslotIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "durationsAndPrices": [
- {
- "durationInMinutes": 0,
- "price": 0,
- "priceCurrency": "RUB"
}
], - "address": {
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "formattedAddress": "string",
- "addressType": "Main",
- "latitude": 0.1,
- "longitude": 0.1,
- "entrance": "string",
- "floor": "string",
- "locationComment": "string"
}, - "metersDistanceFromUser": 0
}, - "eligibility": "string",
- "level": "string",
- "ageFrom": 0,
- "ageTo": 0,
- "minimumParticipantCount": 0,
- "maximumParticipantCount": 0
}
], - "groupSlots": [
- {
- "timeslotIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "durationsAndPrices": [
- {
- "durationInMinutes": 0,
- "price": 0,
- "priceCurrency": "RUB"
}
], - "address": {
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "formattedAddress": "string",
- "addressType": "Main",
- "latitude": 0.1,
- "longitude": 0.1,
- "entrance": "string",
- "floor": "string",
- "locationComment": "string"
}, - "metersDistanceFromUser": 0
}, - "eligibility": "string",
- "level": "string",
- "ageFrom": 0,
- "ageTo": 0,
- "minimumParticipantCount": 0,
- "maximumParticipantCount": 0
}
]
}✨ Get content for the public view of a coach in coach hub
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Id of specified Coach. |
| userLatitude | number <double> User latitude. Used for calculating distances |
| userLongitude | number <double> User longitude. Used for calculating distances |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
required | object (Service) | ||||||||||||||
| |||||||||||||||
| servicePhotosIds required | Array of strings <uuid> [ items <uuid > ] | ||||||||||||||
required | Array of objects or null (HubPublicViewAddress) | ||||||||||||||
Array
| |||||||||||||||
| minimumAge required | integer or null | ||||||||||||||
| maximumAge required | integer or null | ||||||||||||||
| minimumDurationMinutes required | integer or null | ||||||||||||||
| maximumDurationMinutes required | integer or null | ||||||||||||||
| minimumPrice required | integer or null | ||||||||||||||
| maximumPrice required | integer or null | ||||||||||||||
| eligibilities required | Array of strings or null | ||||||||||||||
| skillLevels required | Array of strings or null | ||||||||||||||
| groupingModes required | Array of strings or null (HubPublicViewGroupingMode) Enum: "Personal" "Group" | ||||||||||||||
[- {
- "service": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "description": "string",
- "sportId": "d853e53d-2208-46fd-b120-7bf69f55862f",
- "subsportId": "c4efa15b-3c3c-4761-b606-13bda2cc83a9",
- "isDraft": true,
- "inventory": "string"
}, - "servicePhotosIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "addresses": [
- {
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "formattedAddress": "string",
- "addressType": "Main",
- "latitude": 0.1,
- "longitude": 0.1,
- "entrance": "string",
- "floor": "string",
- "locationComment": "string"
}, - "metersDistanceFromUser": 0
}
], - "minimumAge": 0,
- "maximumAge": 0,
- "minimumDurationMinutes": 0,
- "maximumDurationMinutes": 0,
- "minimumPrice": 0,
- "maximumPrice": 0,
- "eligibilities": [
- "string"
], - "skillLevels": [
- "string"
], - "groupingModes": [
- "Personal"
]
}
]✨ Retrieve specific data for calendar screens as seen by a coach
| coachId required | string <uuid> ID of the coach |
| startDate required | string <date-time> The start moment to filter coach events. |
| endDate required | string <date-time> The end moment to filter coach events. |
| eventId required | string <uuid> Unique identifier of the event | ||||
| serviceId required | string <uuid> Identifier of the service | ||||
| serviceCreatedAt required | string <date-time> Timestamp when the service was created | ||||
| coachId required | string <uuid> Identifier of the coach | ||||
| eligibility required | string or null | ||||
| eventStart required | string <date-time> Start of the event time range | ||||
| eventEnd required | string <date-time> End of the event time range | ||||
| duration required | integer The total duration in minutes | ||||
| addressId required | string or null <uuid> Optional address UUID | ||||
| formattedAddress required | string or null Optional human-readable address | ||||
| addressCount required | integer The total number of addresses associated with the event's service | ||||
| serviceCardinality | integer or null The cardinality of the service (1st, 2nd, 3rd service) for this coach, or null if unavailable | ||||
| maxParticipants required | integer Maximum number of participants allowed | ||||
| sportId required | string <uuid> Identifier of the sport | ||||
| repeatDays required | Array of strings Days of week for repeating events | ||||
| status | string (EventStatus) Enum: "Scheduled" "Canceled" "InProgress" "Done" | ||||
required | Array of objects (BookedAthleteDetails) Details of athletes booked into this event | ||||
Array
| |||||
[- {
- "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",
- "serviceId": "8f8bb40f-b96b-40fe-9064-5031fbe483f9",
- "serviceCreatedAt": "2019-08-24T14:15:22Z",
- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "eligibility": "string",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "duration": 0,
- "addressId": "785d1fc4-8ab5-48f1-8685-117cac9865d6",
- "formattedAddress": "string",
- "addressCount": 0,
- "serviceCardinality": 0,
- "maxParticipants": 0,
- "sportId": "d853e53d-2208-46fd-b120-7bf69f55862f",
- "repeatDays": [
- "string"
], - "status": "Scheduled",
- "bookedAthletesDetails": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "bookedDatesForSameTimeslot": [
- "2019-08-24T14:15:22Z"
]
}
]
}
]✨ Retrieve calendar slots and overlaps for a coach between two dates
| coachId required | string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the coach |
| athleteId required | string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: athleteId=4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the athlete |
| startDate required | string <date-time> Start date (inclusive) |
| endDate required | string <date-time> End date (inclusive) |
| timeslotIds required | Array of strings <uuid> (Id) [ items <uuid > = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... ] Example: timeslotIds=4b72d209-debd-45e1-93cc-7640bf7d39bf Array of timeslot IDs |
required | Array of objects (CalendarListingEvent) | ||||||||||
Array
| |||||||||||
required | Array of objects (CalendarListingEvent) | ||||||||||
Array
| |||||||||||
required | Array of objects (CalendarListingEvent) | ||||||||||
Array
| |||||||||||
required | Array of objects (CalendarListingOverlaps) | ||||||||||
Array
| |||||||||||
{- "athleteBookings": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "date": "2019-08-24",
- "duration": 0,
- "timeSlots": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "string",
- "endTime": "string",
- "duration": 0,
- "price": 0,
- "priceCurrency": "RUB",
- "subscribers": 0,
- "maxParticipants": 0
}
], - "status": "string"
}
], - "coachEvents": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "date": "2019-08-24",
- "duration": 0,
- "timeSlots": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "string",
- "endTime": "string",
- "duration": 0,
- "price": 0,
- "priceCurrency": "RUB",
- "subscribers": 0,
- "maxParticipants": 0
}
], - "status": "string"
}
], - "loggedInCoachSlots": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "date": "2019-08-24",
- "duration": 0,
- "timeSlots": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "string",
- "endTime": "string",
- "duration": 0,
- "price": 0,
- "priceCurrency": "RUB",
- "subscribers": 0,
- "maxParticipants": 0
}
], - "status": "string"
}
], - "overlaps": [
- {
- "athleteBookings": {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "date": "2019-08-24",
- "duration": 0,
- "timeSlots": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "string",
- "endTime": "string",
- "duration": 0,
- "price": 0,
- "priceCurrency": "RUB",
- "subscribers": 0,
- "maxParticipants": 0
}
], - "status": "string"
}, - "coachEvent": {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "date": "2019-08-24",
- "duration": 0,
- "timeSlots": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "string",
- "endTime": "string",
- "duration": 0,
- "price": 0,
- "priceCurrency": "RUB",
- "subscribers": 0,
- "maxParticipants": 0
}
], - "status": "string"
}
}
]
}✨ Get details of Coach Service
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Id of specific CoachId. |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Id of specific Coach Service. |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID | ||||||||||||||||||||||
| description required | string | ||||||||||||||||||||||
| rating required | number | ||||||||||||||||||||||
| reviews required | integer | ||||||||||||||||||||||
Array of objects (PersonalSlot) | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
Array of objects (GroupSlot) | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
Array of objects (ServicePhoto) | |||||||||||||||||||||||
Array
| |||||||||||||||||||||||
{- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "description": "string",
- "rating": 0,
- "reviews": 0,
- "personalSlots": [
- {
- "timeSlotIds": [
- "4b72d209-debd-45e1-93cc-7640bf7d39bf"
], - "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "slotMode": "string",
- "level": "string",
- "address": "string",
- "distance": 0,
- "ageFrom": 0,
- "ageTo": 0,
- "prices": [
- {
- "duration": 0,
- "price": 0
}
], - "eligibilities": [
- "string"
]
}
], - "groupSlots": [
- {
- "timeSlotIds": [
- "4b72d209-debd-45e1-93cc-7640bf7d39bf"
], - "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "slotMode": "string",
- "level": "string",
- "address": "string",
- "distance": 0,
- "ageFrom": 0,
- "ageTo": 0,
- "participantsMaxCount": 0,
- "prices": [
- {
- "duration": 0,
- "price": 0
}
], - "eligibilities": [
- "string"
]
}
], - "photos": [
- {
- "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}
]
}✨ Get items for Coach Calendar
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Id of specified Coach. |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Id of specific Coach Service. |
| athleteId required | string <uuid> (AthleteId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: athleteId=4b72d209-debd-45e1-93cc-7640bf7d39bf Id specific Athlete. |
| startDate required | string <date> (Date) Example: startDate=2024-11-29 Time Slot by specific date range. |
| endDate required | string <date> (Date) Example: endDate=2024-11-29 Time Slot by specific date range. |
| slotMode required | string Enum: "Personal" "Group" Type of workout session, can be either Personal or Group. |
| ageFrom required | integer Time Slot Groups by specific age range. |
| ageTo required | integer Time Slot Groups by specific age range. |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: addressId=4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific Address (or online if null). |
| duration | integer Time Slot by duration. |
required | Array of objects (AthleteBookingItem) | ||||||||||||||||||
Array
| |||||||||||||||||||
required | Array of objects (CoachEventItem) | ||||||||||||||||||
Array
| |||||||||||||||||||
required | Array of objects | ||||||||||||||||||
Array
| |||||||||||||||||||
{- "athleteBookings": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "bookingId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "coachId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "timeRange": {
- "start": "12:09:53+00:00",
- "end": "12:09:53+00:00"
}, - "status": "Accepted"
}
], - "coachTimeSlots": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "coachId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "timeRange": {
- "start": "12:09:53+00:00",
- "end": "12:09:53+00:00"
}, - "status": "string"
}
], - "overlappings": [
- {
- "athleteBookingId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "upcomingEventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}
]
}✨ Get all services
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
Array of objects | |||||||||||||||
Array
| |||||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||||
{- "data": [
- {
- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "hasFutureEvents": true,
- "isDraft": true
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create a new service
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| description required | string |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| subsportId | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| isDraft | boolean |
| coachId required | string <uuid> |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Service uuid |
| description required | string |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| subsportId | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| hasFutureEvents required | boolean |
| isDraft | boolean |
{- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "isDraft": true
}{- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "hasFutureEvents": true,
- "isDraft": true
}✨ Get service by id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| coachId required | string <uuid> |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Service uuid |
| description required | string |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| subsportId | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| hasFutureEvents required | boolean |
| isDraft | boolean |
{- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "hasFutureEvents": true,
- "isDraft": true
}✨ Update service
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| description required | string |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| subsportId | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| isDraft | boolean |
| coachId required | string <uuid> |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Service uuid |
| description required | string |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| subsportId | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Sport Type UUID |
| hasFutureEvents required | boolean |
| isDraft | boolean |
{- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "isDraft": true
}{- "coachId": "32b8fa03-4065-4b2f-b4b6-8ce1e570e87e",
- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "description": "string",
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "hasFutureEvents": true,
- "isDraft": true
}✨ Delete service
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| serviceId | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Service uuid |
{- "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get Service Photos
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
Array of objects | |||
Array
| |||
| count required | integer (Count) Page entries count | ||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||
{- "data": [
- {
- "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Add Service Photo
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| photoId required | string <uuid> (ServicePhotoId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Post Photo UUID |
| photoId required | string <uuid> (ServicePhotoId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Post Photo UUID |
{- "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}{- "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Delete Service Photo
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Coach Service |
| photoId required | string <uuid> (ServicePhotoId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the Service Photo |
| photoId required | string <uuid> (ServicePhotoId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Post Photo UUID |
{- "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get coach sessions
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Service |
Array of objects | |||||||||
Array
| |||||||||
| count required | integer (Count) Page entries count | ||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||
{- "data": [
- {
- "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Add new coach session
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Service |
| startDate required | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| repeatDays | Array of strings (Weekday) Items Enum: "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" |
| stopDate | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Coach Session UUID |
| startDate required | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| repeatDays | Array of strings (Weekday) Items Enum: "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" |
| stopDate | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
{- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}{- "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}✨ Get Session by Id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Service. |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Coach Session UUID |
| startDate required | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| repeatDays | Array of strings (Weekday) Items Enum: "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" |
| stopDate | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
{- "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}✨ Update Session
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Service. |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| startDate required | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| repeatDays | Array of strings (Weekday) Items Enum: "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" |
| stopDate | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Coach Session UUID |
| startDate required | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
| repeatDays | Array of strings (Weekday) Items Enum: "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" |
| stopDate | string <date> (Date) Date in RFC-3339 format (YYYY-MM-DD) |
{- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}{- "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startDate": "2024-11-29",
- "repeatDays": [
- "Monday"
], - "stopDate": "2024-11-29"
}✨ Delete session
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| serviceId required | string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Service. |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Coach Session UUID |
{- "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get all Timeslots
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the the specific Coach. |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the the specific Session. |
Array of objects | |||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||||||||||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||||||||||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||||||||||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||||||||||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||||||||||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||||||||||||||||||||
{- "data": [
- {
- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create new Timeslot
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the the specific Coach. |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the the specific Session. |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 0 .. 99 ] |
| ageTo required | integer [ 0 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Time Slot UUID |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 18 .. 99 ] |
| ageTo required | integer [ 18 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency required | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
{- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 99,
- "ageTo": 99,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}{- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}✨ Get Timeslot by id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific coach ID |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Time Slot |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Time Slot UUID |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 18 .. 99 ] |
| ageTo required | integer [ 18 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency required | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
{- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}✨ Update Timeslot fully
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific coach ID |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Time Slot |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 0 .. 99 ] |
| ageTo required | integer [ 0 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Time Slot UUID |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 18 .. 99 ] |
| ageTo required | integer [ 18 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency required | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
{- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 99,
- "ageTo": 99,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}{- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}✨ Update Timeslot partially
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific coach ID |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Time Slot |
| startTime | string <time> (Time) time in RFC-3339 |
| endTime | string <time> (Time) time in RFC-3339 |
| numberOfParticipants | integer >= 1 |
| slotType | string Enum: "Online" "Offline" |
| ageFrom | integer [ 18 .. 99 ] |
| ageTo | integer [ 18 .. 99 ] |
| duration | integer >= 15 |
| price | integer |
| paymentMethod | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Time Slot UUID |
| startTime required | string <time> (Time) time in RFC-3339 |
| endTime required | string <time> (Time) time in RFC-3339 |
| numberOfParticipants required | integer >= 1 |
| slotType required | string Enum: "Online" "Offline" |
| ageFrom required | integer [ 18 .. 99 ] |
| ageTo required | integer [ 18 .. 99 ] |
| duration required | integer >= 15 |
| price required | integer |
| priceCurrency required | string (Currency) Value: "RUB" |
| paymentMethod required | string Value: "Cash" |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Address UUID |
| public | boolean |
| level | string Enum: "Any" "Beginner" "Medium" "Pro" |
| eligibility | string Enum: "All" "Men" "Women" |
{- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}{- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "startTime": "12:09:53+00:00",
- "endTime": "12:09:53+00:00",
- "numberOfParticipants": 1,
- "slotType": "Online",
- "ageFrom": 18,
- "ageTo": 18,
- "duration": 15,
- "price": 0,
- "priceCurrency": "RUB",
- "paymentMethod": "Cash",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "public": true,
- "level": "Any",
- "eligibility": "All"
}✨ Delete Timeslot
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific coach ID |
| sessionId required | string <uuid> (SessionId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Session |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Time Slot |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Time Slot UUID |
{- "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get Time Slot groups
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific CoachId. |
Array of objects | |||||||||||||||||||
Array
| |||||||||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||||||||
{- "data": [
- {
- "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "ageMin": 0,
- "ageMax": 0,
- "durationMin": 0,
- "durationMax": 0,
- "priceMin": 0,
- "priceMax": 0,
- "details": "string"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Get Time Slot audiences
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific CoachId. |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: sportId=4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific Sport Type. |
| slotType required | string Enum: "Online" "Offline" Type of workout session, can be either Personal or Group. |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: addressId=4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific Address (or online if null). |
| slotMode | string Enum: "Personal" "Group" Type of workout session, can be either Personal or Group. |
Array of objects | |||||||||||||||
Array
| |||||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||||
{- "data": [
- {
- "slotMode": "string",
- "level": "string",
- "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "ageFrom": 0,
- "ageTo": 0,
- "participantsMaxCount": 0,
- "durationPrice": "string"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Get all Events
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| timeSlotId required | string <uuid> (TimeSlotId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Timeslot |
Array of objects | |||||||||
Array
| |||||||||
| count required | integer (Count) Page entries count | ||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||
{- "data": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "timeRange": {
- "start": "12:09:53+00:00",
- "end": "12:09:53+00:00"
}, - "status": "string"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Get upcoming Events
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf Events of specific Session. |
| sportId required | string <uuid> (SportId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: sportId=4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific Sport Type. |
| slotType required | string Enum: "Online" "Offline" Type of workout session, can be either Personal or Group. |
| startDate required | string <date> (Date) Example: startDate=2024-11-29 Time Slot Groups by specific date range. |
| endDate required | string <date> (Date) Example: endDate=2024-11-29 Time Slot Groups by specific date range. |
| ageFrom required | integer Time Slot Groups by specific age range. |
| ageTo required | integer Time Slot Groups by specific age range. |
| addressId | string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: addressId=4b72d209-debd-45e1-93cc-7640bf7d39bf Time Slot Groups by specific Address (or online if null). |
| slotMode | string Enum: "Personal" "Group" Type of workout session, can be either Personal or Group. |
| duration | integer Time Slot Groups by duration. |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
Array of objects | |||||||||
Array
| |||||||||
| count required | integer (Count) Page entries count | ||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||
{- "data": [
- {
- "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "timeRange": {
- "start": "12:09:53+00:00",
- "end": "12:09:53+00:00"
}, - "status": "string"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Get all Out-of-Office periods
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
Array of objects | |||||||||
Array
| |||||||||
| count required | integer (Count) Page entries count | ||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||
{- "data": [
- {
- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create Out-of-Office
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| cancelReason required | string |
| startAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| endAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| cancelOnline required | boolean Indicates whether online appointments should be cancelled during the out-of-office period. |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Out of Office (oof) period uuid |
| cancelReason required | string |
| startAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| endAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
{- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00",
- "cancelOnline": true
}{- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00"
}✨ Returns the count of workout instances (online and offline) that will be affected if an out-of-office period is registered for the coach.
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| startDateTime required | string <date-time> Start date-time of the out-of-office period (RFC3339 with timezone) |
| endDateTime required | string <date-time> End date-time of the out-of-office period (RFC3339 with timezone) |
| onlineCount required | integer Number of affected online workouts |
| offlineCount required | integer Number of affected offline workouts |
{- "onlineCount": 0,
- "offlineCount": 0
}✨ Get Out-of-Office by id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Out-of-Office |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Out of Office (oof) period uuid |
| cancelReason required | string |
| startAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| endAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
{- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00"
}✨ Update Out-of-Office
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Out-of-Office |
| cancelReason required | string |
| startAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| endAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| cancelOnline required | boolean Indicates whether online appointments should be cancelled during the out-of-office period. |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Out of Office (oof) period uuid |
| cancelReason required | string |
| startAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
| endAt required | string <date-time> (DateTime) Date and time in RFC-3339 |
{- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00",
- "cancelOnline": true
}{- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cancelReason": "string",
- "startAt": "2024-11-29T12:09:53+00:00",
- "endAt": "2024-11-29T12:09:53+00:00"
}✨ Delete Out-of-Office
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Out-of-Office |
| oofId required | string <uuid> (OofId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Out of Office (oof) period uuid |
{- "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get payment methods
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
Array of objects | |||||||
Array
| |||||||
| count required | integer (Count) Page entries count | ||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||
{- "data": [
- {
- "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create a new payment method
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| methodType required | string Enum: "Cash" "Card" |
| cardId | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Method uuid |
| methodType required | string Enum: "Cash" "Card" |
| cardId | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
{- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}{- "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get payment method by id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Method |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Method uuid |
| methodType required | string Enum: "Cash" "Card" |
| cardId | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
{- "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Update Payment Method
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Method |
| methodType required | string Enum: "Cash" "Card" |
| cardId | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Method uuid |
| methodType required | string Enum: "Cash" "Card" |
| cardId | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
{- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}{- "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "methodType": "Cash",
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Delete Payment Method
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Method |
| methodId required | string <uuid> (PaymentMethodId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Method uuid |
{- "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}✨ Get payment cards
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
Array of objects | |||||||||||||
Array
| |||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||
{- "data": [
- {
- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create a new payment card
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| cardNumber required | string <string> (CardNumber) = 19 characters ^\d{4}-\d{4}-\d{4}-\d{4}$ Primary Account Number (PAN) of the payment card, formatted with hyphens |
| holderName required | string |
| expMonth required | string <= 2 characters |
| expYear required | string <= 4 characters |
| network required | string <= 16 characters |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
| cardNumber required | string <string> (CardNumber) = 19 characters ^\d{4}-\d{4}-\d{4}-\d{4}$ Primary Account Number (PAN) of the payment card, formatted with hyphens |
| holderName required | string |
| expMonth required | string <= 2 characters |
| expYear required | string <= 4 characters |
| network required | string <= 16 characters |
{- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}{- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}✨ Get payment card by id
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Card |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
| cardNumber required | string <string> (CardNumber) = 19 characters ^\d{4}-\d{4}-\d{4}-\d{4}$ Primary Account Number (PAN) of the payment card, formatted with hyphens |
| holderName required | string |
| expMonth required | string <= 2 characters |
| expYear required | string <= 4 characters |
| network required | string <= 16 characters |
{- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}✨ Update Payment Card
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Card |
| cardNumber required | string <string> (CardNumber) = 19 characters ^\d{4}-\d{4}-\d{4}-\d{4}$ Primary Account Number (PAN) of the payment card, formatted with hyphens |
| holderName required | string |
| expMonth required | string <= 2 characters |
| expYear required | string <= 4 characters |
| network required | string <= 16 characters |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
| cardNumber required | string <string> (CardNumber) = 19 characters ^\d{4}-\d{4}-\d{4}-\d{4}$ Primary Account Number (PAN) of the payment card, formatted with hyphens |
| holderName required | string |
| expMonth required | string <= 2 characters |
| expYear required | string <= 4 characters |
| network required | string <= 16 characters |
{- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}{- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
- "cardNumber": "4111-1111-1111-1111",
- "holderName": "string",
- "expMonth": "st",
- "expYear": "stri",
- "network": "string"
}✨ Delete Payment Card
| coachId required | string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Coach |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Example: 4b72d209-debd-45e1-93cc-7640bf7d39bf ID of the specific Payment Card |
| cardId required | string <uuid> (PaymentCardId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Payment Card uuid |
{- "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}