Skip to content

Get a List of Partner Appointments

Request

Filtering appointments

  • salon_id: Location ID

Use this to filter appointments for a specific location

  • start_date: Visit date from

Filters appointments with a visit date starting from the specified date (inclusive)

  • end_date: Visit date until

Filters appointments with a visit date up to the specified date (inclusive)

  • created_start_date: Appointment creation date from

Filters appointments created on or after this date

  • created_end_date: Appointment creation date until

Returns appointments created on or before this date

  • user_id: User ID

Filters appointments created by a specific user

Security
BearerPartnerUser
Query
pagenumber

Page number

Example:page=1
editable_lengthnumber

Number of appointments per page, maximum 100

Example:editable_length=50
location_idnumber

Location ID

Example:location_id=1
start_datestring

Filter by visit date from

Example:start_date='17.01.2025'
end_datestring

Filter by visit date by

Example:end_date='17.01.2025'
created_start_datestring

Filter by appointment creation date from

Example:created_start_date='17.01.2025'
created_end_datestring

Filter by appointment creation date by

Example:created_end_date='17.01.2025'
user_idnumber

User ID

Example:user_id=1
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/records/partner?page=1&editable_length=50&location_id=1&start_date='\''17.01.2025'\''&end_date='\''17.01.2025'\''&created_start_date='\''17.01.2025'\''&created_end_date='\''17.01.2025'\''&user_id=1' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }