Skip to content

Search Events

Request

Security
BearerPartner
Path
location_idnumberrequired

ID of a location.

Example:123
Query
fromstringrequired

Search start date (YYYY-MM-DD format).

Example:from=2026-06-01
tillstringrequired

Search end date (YYYY-MM-DD format).

Example:till=2026-07-15
service_idsArray of integers

Filter by services IDs.

Example:service_ids=123
staff_idsArray of integers

Filter by team member IDs.

Example:staff_ids=456
resource_idsArray of integers

Filter by resources IDs.

Example:resource_ids=789
pagenumber

Page number (default 1).

Example:page=1
countnumber

Page size (default 25).

Example:count=25
Headers
Acceptstringrequired

Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.

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

Should be equal to application/json

Example:application/json
curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/123/search?from=2026-06-01&till=2026-07-15&service_ids=123&staff_ids=456&resource_ids=789&page=1&count=25' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 3480140, "service_id": 5243360, "company_id": 68570, "staff_id": 921105, "date": "2026-09-21T23:00:00.000-05:00", "length": 3600, "capacity": 40, "records_count": 0, "color": "", "instructions": "", "stream_link": "", "font_color": "", "notified": false, "prepaid": "forbidden", "service": {}, "staff": {}, "resource_instances": [], "labels": {} } ]
metaobject

Metadata (contains the number of Events found)

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