Skip to content

Get Team Members Available for Booking

Request

Each object from the array of team members available for booking has the following fields:

FieldTypeDescription
idnumberteam member ID
namestringteam member name
specializationstringteam member specialization
positionobjectteam member position
bookablebooleanDoes the team member have sessions available for booking
weightnumberteam member weight. When withdrawing, team members are sorted by weight, heavier first
show_ratingnumberWhether to show team member's rating (1 - show, 0 - don't show)
ratingnumberteam member rating
votes_countnumberNumber of votes rated team member
comments_countnumberNumber of comments to a team member
avatarstringPath to team member avatar file
informationstringAdditional information about the team member (HTML format)
session_datestringDate of the next day that there are available sessions (only for bookable = true)

The following filters are available:

  • service_ids: Array of service IDs. If you need team members who provide only the selected service
  • datetime: date (in iso8601 format). If you need team members who have sessions for the specified service at the specified time
Security
BearerPartner
Path
location_idnumberrequired

location ID

Example:4564
Query
service_ids[]Array of numbers

Service ID. Filter by the list of service identifiers

datetimenumber

date in iso8601 format. Filter by service booking date (for example '2005-09-09T18:30')

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/public/openapi/book_staff/4564?service_ids%5B%5D=0&datetime=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 16, "name": "James", "bookable": true, "specialization": "Paramedic", "position": {}, "show_rating": 1, "rating": 3, "votes_count": 1, "avatar": "https://app.alteg.io/images/no-master.png", "comments_count": 0, "weight": 11, "information": "<span></span>", "seance_date": "2026-09-21", "seances": [] }, { "id": 32, "name": "Peter", "bookable": false, "specialization": "Therapist", "position": {}, "show_rating": 1, "rating": 4, "votes_count": 1, "avatar": "https://app.alteg.io/images/no-master.png", "comments_count": 0, "weight": 8, "information": "<span></span>" } ]
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ {}, {} ], "meta": [] }