v1
latestOpenAPI 3.0.02026-07-2673188210.8 KBhost
Get session bookings by a specific member
get/api/v2/host/members/{memberId}/sessions
Path parameters
memberIdnumber required
Query parameters
pageinteger required
Starts at 0
pageSizeinteger required
Example:10
sortOrder'ASC' | 'DESC'
sortBy'startsAt'
Field to sort by
startAfterstring
startBeforestring
endAfterstring
endBeforestring
includeCancelledboolean
Response
Example response
{
"pagination": {
"pageSize": 10,
"totalCount": 1
},
"payload": [
{
"session": {
"id": 1,
"name": "Stretching with John",
"type": "fitness",
"description": "Our program is designed to help you increase your flexibility and strength.",
"startsAt": "2021-08-01T10:00:00Z",
"endsAt": "2021-08-01T11:00:00Z",
"durationInMinutes": 60,
"capacity": 10,
"teacher": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"pictureUrl": "https://example.com/picture.jpg"
},
"inPersonLocation": {
"id": 1,
"name": "Main Studio"
},
"onlineStreamUrl": "https://example.com/online-stream",
"onlineStreamPassword": "password123",
"bannerImageUrl": "https://example.com/banner.jpg",
"hostPhotoUrl": "https://example.com/host.jpg"
}
}
]
}