Skip to content

Search Event Services

Request

Security
BearerPartner
Path
location_idnumberrequired

location ID

Example:4564
Query
team_member_idnumber

Team Member ID to filter by

termstring

Search by name or part of the service name

Headers
Acceptstringrequired

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

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

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/4564/events/services?team_member_id=0&term=string' \
  -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": 1209148, "title": "Fitness test", "capacity": 5, "price_min": 2, "price_max": 3, "is_multi": true, "category": { … }, "staff": [ … ], "resources": [ … ] } ]
metaobject

Metadata (contains the number of services found)

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