LE-KO Coach Calendar API (v1.0.3)

Download OpenAPI specification:

LE-KO Coach Calendar API

hubs

Coach Hub Page-based API

Get timeslots for coach hub

✨ Retrieves timeslots of a specific service, grouping them by eligibility, age range, address, session type (personal/group), and skill levels.

Authorizations:
bearerHttpAuthentication
path Parameters
serviceId
required
string <uuid>

Unique identifier of the service for which to retrieve available timeslots

query Parameters
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

header Parameters
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

Responses

Response Schema: application/json
required
object (Service)
id
required
string <uuid>
coachId
required
string <uuid>
description
required
string
sportId
required
string <uuid>
subsportId
required
string or null <uuid>
isDraft
required
boolean
inventory
string or null

Inventory details for the service

servicePhotosIds
required
Array of strings <uuid> [ items <uuid > ]
required
Array of objects (HubPublicTimeslotsViewItem)
Array
timeslotIds
required
Array of strings <uuid> [ items <uuid > ]
required
Array of objects (HubPublicTimeslotsViewDurationPrice)
required
object (HubPublicViewAddress)
eligibility
required
string
level
required
string
ageFrom
required
integer
ageTo
required
integer
minimumParticipantCount
required
integer
maximumParticipantCount
required
integer
required
Array of objects (HubPublicTimeslotsViewItem)
Array
timeslotIds
required
Array of strings <uuid> [ items <uuid > ]
required
Array of objects (HubPublicTimeslotsViewDurationPrice)
required
object (HubPublicViewAddress)
eligibility
required
string
level
required
string
ageFrom
required
integer
ageTo
required
integer
minimumParticipantCount
required
integer
maximumParticipantCount
required
integer

Response samples

Content type
application/json
{
  • "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": [
        ],
      • "durationsAndPrices": [
        ],
      • "address": {
        },
      • "eligibility": "string",
      • "level": "string",
      • "ageFrom": 0,
      • "ageTo": 0,
      • "minimumParticipantCount": 0,
      • "maximumParticipantCount": 0
      }
    ],
  • "groupSlots": [
    • {
      • "timeslotIds": [
        ],
      • "durationsAndPrices": [
        ],
      • "address": {
        },
      • "eligibility": "string",
      • "level": "string",
      • "ageFrom": 0,
      • "ageTo": 0,
      • "minimumParticipantCount": 0,
      • "maximumParticipantCount": 0
      }
    ]
}

Get content for the public view of a coach in coach hub

✨ Get content for the public view of a coach in coach hub

Authorizations:
bearerHttpAuthentication
path Parameters
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.

query Parameters
userLatitude
number <double>

User latitude. Used for calculating distances

userLongitude
number <double>

User longitude. Used for calculating distances

header Parameters
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

Responses

Response Schema: application/json
Array
required
object (Service)
id
required
string <uuid>
coachId
required
string <uuid>
description
required
string
sportId
required
string <uuid>
subsportId
required
string or null <uuid>
isDraft
required
boolean
inventory
string or null

Inventory details for the service

servicePhotosIds
required
Array of strings <uuid> [ items <uuid > ]
required
Array of objects or null (HubPublicViewAddress)
Array
required
object (Address)
metersDistanceFromUser
required
integer or null
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"

Response samples

Content type
application/json
[
  • {
    • "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": [
      • {
        }
      ],
    • "minimumAge": 0,
    • "maximumAge": 0,
    • "minimumDurationMinutes": 0,
    • "maximumDurationMinutes": 0,
    • "minimumPrice": 0,
    • "maximumPrice": 0,
    • "eligibilities": [
      • "string"
      ],
    • "skillLevels": [
      • "string"
      ],
    • "groupingModes": [
      • "Personal"
      ]
    }
]

Get data for coach view of calendar

✨ Retrieve specific data for calendar screens as seen by a coach

Authorizations:
bearerHttpAuthentication
path Parameters
coachId
required
string <uuid>

ID of the coach

query Parameters
startDate
required
string <date-time>

The start moment to filter coach events.

endDate
required
string <date-time>

The end moment to filter coach events.

Responses

Response Schema: application/json
Array
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
userId
required
string <uuid>

Athlete's user identifier

bookedDatesForSameTimeslot
required
Array of strings <date-time> [ items <date-time > ]

Dates the athlete has booked for this timeslot

Response samples

Content type
application/json
[
  • {
    • "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": [
      • {
        }
      ]
    }
]

Get coach calendar listing

✨ Retrieve calendar slots and overlaps for a coach between two dates

Authorizations:
bearerHttpAuthentication
path Parameters
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

query Parameters
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

Responses

Response Schema: application/json
required
Array of objects (CalendarListingEvent)
Array
eventId
required
string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Database entity primary key uuid

date
required
string <date>
duration
required
integer

Duration of the calendar slot in minutes.

required
Array of objects (CalendarListingTimeslot)
status
required
string
required
Array of objects (CalendarListingEvent)
Array
eventId
required
string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Database entity primary key uuid

date
required
string <date>
duration
required
integer

Duration of the calendar slot in minutes.

required
Array of objects (CalendarListingTimeslot)
status
required
string
required
Array of objects (CalendarListingEvent)
Array
eventId
required
string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Database entity primary key uuid

date
required
string <date>
duration
required
integer

Duration of the calendar slot in minutes.

required
Array of objects (CalendarListingTimeslot)
status
required
string
required
Array of objects (CalendarListingOverlaps)
Array
required
object (CalendarListingEvent)
required
object (CalendarListingEvent)

Response samples

Content type
application/json
{
  • "athleteBookings": [
    • {
      • "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "date": "2019-08-24",
      • "duration": 0,
      • "timeSlots": [
        ],
      • "status": "string"
      }
    ],
  • "coachEvents": [
    • {
      • "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "date": "2019-08-24",
      • "duration": 0,
      • "timeSlots": [
        ],
      • "status": "string"
      }
    ],
  • "loggedInCoachSlots": [
    • {
      • "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "date": "2019-08-24",
      • "duration": 0,
      • "timeSlots": [
        ],
      • "status": "string"
      }
    ],
  • "overlaps": [
    • {
      • "athleteBookings": {
        },
      • "coachEvent": {
        }
      }
    ]
}

Get details of Coach Service

✨ Get details of Coach Service

Authorizations:
bearerHttpAuthentication
path Parameters
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.

Responses

Response Schema: application/json
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
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}... ]
addressId
string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Database entity primary key uuid

slotMode
required
string
level
required
string
address
string
distance
integer
ageFrom
required
integer
ageTo
required
integer
Array of objects (PricePosition)
eligibilities
required
Array of strings
Array of objects (GroupSlot)
Array
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}... ]
addressId
string <uuid> (Id) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Database entity primary key uuid

slotMode
required
string
level
required
string
address
string
distance
integer
ageFrom
required
integer
ageTo
required
integer
participantsMaxCount
required
integer
Array of objects (PricePosition)
eligibilities
required
Array of strings
Array of objects (ServicePhoto)
Array
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

Response samples

Content type
application/json
{
  • "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "description": "string",
  • "rating": 0,
  • "reviews": 0,
  • "personalSlots": [
    • {
      • "timeSlotIds": [
        ],
      • "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "slotMode": "string",
      • "level": "string",
      • "address": "string",
      • "distance": 0,
      • "ageFrom": 0,
      • "ageTo": 0,
      • "prices": [
        ],
      • "eligibilities": [
        ]
      }
    ],
  • "groupSlots": [
    • {
      • "timeSlotIds": [
        ],
      • "addressId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "slotMode": "string",
      • "level": "string",
      • "address": "string",
      • "distance": 0,
      • "ageFrom": 0,
      • "ageTo": 0,
      • "participantsMaxCount": 0,
      • "prices": [
        ],
      • "eligibilities": [
        ]
      }
    ],
  • "photos": [
    • {
      • "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
      }
    ]
}

Get items for Coach Calendar

✨ Get items for Coach Calendar

Authorizations:
bearerHttpAuthentication
path Parameters
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.

query Parameters
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.

Responses

Response Schema: application/json
required
Array of objects (AthleteBookingItem)
Array
eventId
required
string <uuid> (CoachEventId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Event UUID

bookingId
required
string <uuid> (BookingId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Booking UUID

coachId
required
string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Coach 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

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

required
object (TimeRange)
status
required
string (BookingStatus)
Enum: "Accepted" "Rejected" "Pending" "Canceled" "InDispute" "DisputeDone"
required
Array of objects (CoachEventItem)
Array
eventId
required
string <uuid> (CoachEventId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Event UUID

coachId
required
string <uuid> (CoachId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Coach 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

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

duration
required
integer >= 15
price
required
integer >= 0
priceCurrency
required
string (Currency)
Value: "RUB"
required
object (TimeRange)
status
required
string
required
Array of objects
Array
athleteBookingId
required
string <uuid> (BookingId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Booking UUID

upcomingEventId
required
string <uuid> (CoachEventId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Event UUID

Response samples

Content type
application/json
{
  • "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": {
        },
      • "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": {
        },
      • "status": "string"
      }
    ],
  • "overlappings": [
    • {
      • "athleteBookingId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "upcomingEventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
      }
    ]
}

services

Coach Services API

Get all services

✨ Get all services

Authorizations:
bearerHttpAuthentication
path Parameters
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

header Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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
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

Response samples

Content type
application/json
{
  • "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

✨ Create a new service

Authorizations:
bearerHttpAuthentication
path Parameters
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

header Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "description": "string",
  • "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "isDraft": true
}

Response samples

Content type
application/json
{
  • "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

✨ Get service by id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "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

✨ Update service

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "description": "string",
  • "sportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "subsportId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "isDraft": true
}

Response samples

Content type
application/json
{
  • "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

✨ Delete service

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
serviceId
string <uuid> (ServiceId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Service uuid

Response samples

Content type
application/json
{
  • "serviceId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

service-photos

Coach Photos API

Get Service Photos

✨ Get Service Photos

Authorizations:
bearerHttpAuthentication
path Parameters
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

header Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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

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

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

Add Service Photo

✨ Add Service Photo

Authorizations:
bearerHttpAuthentication
path Parameters
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

header Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Response samples

Content type
application/json
{
  • "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Delete Service Photo

✨ Delete Service Photo

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "photoId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

sessions

Coach Sessions API

Get coach sessions

✨ Get coach sessions

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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)

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

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "startDate": "2024-11-29",
      • "repeatDays": [
        ],
      • "stopDate": "2024-11-29"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

Add new coach session

✨ Add new coach session

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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)

Responses

Response Schema: application/json
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)

Request samples

Content type
application/json
{
  • "startDate": "2024-11-29",
  • "repeatDays": [
    • "Monday"
    ],
  • "stopDate": "2024-11-29"
}

Response samples

Content type
application/json
{
  • "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "startDate": "2024-11-29",
  • "repeatDays": [
    • "Monday"
    ],
  • "stopDate": "2024-11-29"
}

Get Session by Id

✨ Get Session by Id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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)

Response samples

Content type
application/json
{
  • "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "startDate": "2024-11-29",
  • "repeatDays": [
    • "Monday"
    ],
  • "stopDate": "2024-11-29"
}

Update Session

✨ Update Session

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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)

Responses

Response Schema: application/json
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)

Request samples

Content type
application/json
{
  • "startDate": "2024-11-29",
  • "repeatDays": [
    • "Monday"
    ],
  • "stopDate": "2024-11-29"
}

Response samples

Content type
application/json
{
  • "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "startDate": "2024-11-29",
  • "repeatDays": [
    • "Monday"
    ],
  • "stopDate": "2024-11-29"
}

Delete session

✨ Delete session

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "sessionId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

time-slots

Coach Slots API

Get all Timeslots

✨ Get all Timeslots

Authorizations:
bearerHttpAuthentication
path Parameters
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.

Responses

Response Schema: application/json
Array of objects
Array
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"
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

Response samples

Content type
application/json
{
  • "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

✨ Create new Timeslot

Authorizations:
bearerHttpAuthentication
path Parameters
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.

Request Body schema: application/json
required
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"

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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

✨ Get Timeslot by id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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"

Response samples

Content type
application/json
{
  • "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

✨ Update Timeslot fully

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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"

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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

✨ Update Timeslot partially

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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"

Responses

Response Schema: application/json
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"

Request samples

Content type
application/json
{
  • "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"
}

Response samples

Content type
application/json
{
  • "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

✨ Delete Timeslot

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "timeSlotId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Get Time Slot groups

✨ Get Time Slot groups

Authorizations:
bearerHttpAuthentication
path Parameters
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.

Responses

Response Schema: application/json
Array of objects
Array
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

addressId
string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Address UUID

ageMin
required
integer
ageMax
required
integer
durationMin
required
integer
durationMax
required
integer
priceMin
required
integer
priceMax
required
integer
details
required
string
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

Response samples

Content type
application/json
{
  • "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

✨ Get Time Slot audiences

Authorizations:
bearerHttpAuthentication
path Parameters
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.

query Parameters
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.

Responses

Response Schema: application/json
Array of objects
Array
slotMode
required
string
level
required
string
addressId
string <uuid> (AddressId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Address UUID

ageFrom
required
integer
ageTo
required
integer
participantsMaxCount
required
integer
durationPrice
required
string
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

Response samples

Content type
application/json
{
  • "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
}

events

Coach Events API

Get all Events

✨ Get all Events

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
eventId
required
string <uuid> (CoachEventId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Event UUID

oofId
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

required
object (TimeRange)
status
required
string
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

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "timeRange": {
        },
      • "status": "string"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

Get upcoming Events

✨ Get upcoming Events

Authorizations:
bearerHttpAuthentication
path Parameters
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.

query Parameters
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.

header Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
eventId
required
string <uuid> (CoachEventId) = 36 characters ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}...

Event UUID

oofId
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

required
object (TimeRange)
status
required
string
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

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "eventId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
      • "timeRange": {
        },
      • "status": "string"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

out-of-office-periods

Out of Office API

Get all Out-of-Office periods

✨ Get all Out-of-Office periods

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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

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

Response samples

Content type
application/json
{
  • "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

✨ Create Out-of-Office

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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.

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "cancelReason": "string",
  • "startAt": "2024-11-29T12:09:53+00:00",
  • "endAt": "2024-11-29T12:09:53+00:00",
  • "cancelOnline": true
}

Response samples

Content type
application/json
{
  • "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "cancelReason": "string",
  • "startAt": "2024-11-29T12:09:53+00:00",
  • "endAt": "2024-11-29T12:09:53+00:00"
}

Get count of affected workouts by out-of-office period

✨ Returns the count of workout instances (online and offline) that will be affected if an out-of-office period is registered for the coach.

Authorizations:
bearerHttpAuthentication
path Parameters
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

query Parameters
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)

Responses

Response Schema: application/json
onlineCount
required
integer

Number of affected online workouts

offlineCount
required
integer

Number of affected offline workouts

Response samples

Content type
application/json
{
  • "onlineCount": 0,
  • "offlineCount": 0
}

Get Out-of-Office by id

✨ Get Out-of-Office by id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "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

✨ Update Out-of-Office

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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.

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "cancelReason": "string",
  • "startAt": "2024-11-29T12:09:53+00:00",
  • "endAt": "2024-11-29T12:09:53+00:00",
  • "cancelOnline": true
}

Response samples

Content type
application/json
{
  • "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

✨ Delete Out-of-Office

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "oofId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

payment-methods

Coach Payment Methods API

Get payment methods

✨ Get payment methods

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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

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

Response samples

Content type
application/json
{
  • "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

✨ Create a new payment method

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "methodType": "Cash",
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Response samples

Content type
application/json
{
  • "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "methodType": "Cash",
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Get payment method by id

✨ Get payment method by id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "methodType": "Cash",
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Update Payment Method

✨ Update Payment Method

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "methodType": "Cash",
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Response samples

Content type
application/json
{
  • "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "methodType": "Cash",
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

Delete Payment Method

✨ Delete Payment Method

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "methodId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}

payment-cards

Coach Payment Cards API

Get payment cards

✨ Get payment cards

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
Array of objects
Array
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
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

Response samples

Content type
application/json
{
  • "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

✨ Create a new payment card

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "cardNumber": "4111-1111-1111-1111",
  • "holderName": "string",
  • "expMonth": "st",
  • "expYear": "stri",
  • "network": "string"
}

Response samples

Content type
application/json
{
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "cardNumber": "4111-1111-1111-1111",
  • "holderName": "string",
  • "expMonth": "st",
  • "expYear": "stri",
  • "network": "string"
}

Get payment card by id

✨ Get payment card by id

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "cardNumber": "4111-1111-1111-1111",
  • "holderName": "string",
  • "expMonth": "st",
  • "expYear": "stri",
  • "network": "string"
}

Update Payment Card

✨ Update Payment Card

Authorizations:
bearerHttpAuthentication
path Parameters
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

Request Body schema: application/json
required
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

Responses

Response Schema: application/json
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

Request samples

Content type
application/json
{
  • "cardNumber": "4111-1111-1111-1111",
  • "holderName": "string",
  • "expMonth": "st",
  • "expYear": "stri",
  • "network": "string"
}

Response samples

Content type
application/json
{
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf",
  • "cardNumber": "4111-1111-1111-1111",
  • "holderName": "string",
  • "expMonth": "st",
  • "expYear": "stri",
  • "network": "string"
}

Delete Payment Card

✨ Delete Payment Card

Authorizations:
bearerHttpAuthentication
path Parameters
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

Responses

Response Schema: application/json
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

Response samples

Content type
application/json
{
  • "cardId": "4b72d209-debd-45e1-93cc-7640bf7d39bf"
}