WellnessLiving API (v1)
  1. Schedule
WellnessLiving API (v1)
  • WellnessLiving API
  • Auth
    • Authentication
  • Appointment
    • /v1/appointment/book/asset/list
    • /v1/appointment/book/asset/category
    • /v1/appointment/book/service/list
    • /v1/appointment/book/staff/list
  • Business
    • /v1/business
    • /v1/business/skin
  • Classes
    • /v1/classes/list
    • /v1/classes/view/element
  • Collector
    • /v1/collector/debt/list
    • /v1/collector/debt/pay
    • /v1/collector/debt/transaction
  • Drive
    • /v1/drive/product/image/upload
  • Event
    • /v1/event/book/list
    • /v1/event/list
    • /v1/event/book/view/element
  • Location
    • /v1/location/list
    • /v1/location/view
  • Login
    • /v1/login/search/settings
    • /v1/login/search/staff-app/list
    • /v1/login/search/settings
  • Member
    • /v1/member/info
  • Profile
    • /v1/profile/purchase/list
    • /v1/profile/contract
    • /v1/profile/purchase/list/element
  • Promotion
    • /v1/promotion/list
    • /v1/promotion
  • Purchase
    • /v1/purchase/receipt
  • Report
    • /v1/report/data
    • /v1/report/query
  • Schedule
    • /v1/schedule/class/list
      GET
    • /v1/schedule/page/list
      GET
    • /v1/schedule/tab
      GET
    • /v1/schedule/class/view
      GET
    • /v1/schedule/page/element
      GET
  • Shop
    • /v1/shop/category
  • Staff
    • /v1/staff/list
    • /v1/staff/view
  • User
    • /v1/user
  • Visit
    • /v1/visit/status
  1. Schedule

/v1/schedule/class/view

Testing
GET
https://uat-api.wellnessliving.io/v1/schedule/class/view
This endpoint makes an HTTP GET request to retrieve the schedule and class details based on the provided parameters. The request includes query parameters for the region ID, business ID, session request details, date, and class period.

Request#

Parameters:
id_region (number) - The ID of the region for which the schedule is being requested.
k_business (number) - The ID of the business for which the schedule is being requested.
s_session_request (string UTF8) - Details of the session request including date and class periods.
dt_date (string) - The date for which the schedule is being requested.
k_class_period (number) - The ID of the class period for which the schedule is being requested.

Response#

Status: 200
Content-Type: application/json
The response is in JSON format and includes the following key-value pairs:
a_asset - An array of assets.
a_class - Details of the class including tabs, images, search tags, tags, booking information, date, description, age range, capacity, duration, waitlist information, virtual provider ID, pricing, and other class-related details.
a_location - Location details including latitude, longitude, rate, location ID, address, map, and phone number.
a_staff - Details of the staff members associated with the class including their names, positions, and biographies.
a_visits_required - An array of visits required.
status - The status of the response.
s_version - The version information.
__a_message - An array of messages.
The response also includes additional nested objects and values related to the class, location, staff, and other details.
This schema represents
class details, location, staff, booking restrictions, and scheduling.
It includes virtual and in-person classes, waitlist settings, and staff bios.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
id_region
string 
required
Example:
2
k_business
string 
required
Example:
49197
s_session_request
string 
required
Example:
Use an URL Encoded Value:[{ "dt_date": "2024-10-28 16:00:00", "k_class_period": "100000465414" }, { "dt_date": "2024-10-28 16:00:00", "k_class_period": "7933102" }, { "dt_date": "2024-10-28 16:00:00", "k_class_period": "7933116" }, { "dt_date": "2024-10-28 17:00:00", "k_class_period": "100000463308" }, { "dt_date": "2024-10-28 17:00:00", "k_class_period": "100000463315" }, { "dt_date": "2024-10-28 19:15:00", "k_class_period": "7933447" }, { "dt_date": "2024-10-28 21:00:00", "k_class_period": "100000464490" }]
dt_date
string 
required
Example:
2024-10-28 00:00:00
k_class_period
string 
required
Example:
100000465414

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://uat-api.wellnessliving.io/v1/schedule/class/view?id_region=2&k_business=49197&s_session_request=Use an URL Encoded Value:[{    "dt_date": "2024-10-28 16:00:00",    "k_class_period": "100000465414"  },  {    "dt_date": "2024-10-28 16:00:00",    "k_class_period": "7933102"  },  {    "dt_date": "2024-10-28 16:00:00",    "k_class_period": "7933116"  },  {    "dt_date": "2024-10-28 17:00:00",    "k_class_period": "100000463308"  },  {    "dt_date": "2024-10-28 17:00:00",    "k_class_period": "100000463315"  },  {    "dt_date": "2024-10-28 19:15:00",    "k_class_period": "7933447"  },  {    "dt_date": "2024-10-28 21:00:00",    "k_class_period": "100000464490"  }]&dt_date=2024-10-28 00:00:00&k_class_period=100000465414' \
--header 'Content-Type: text/plain' \
--data-raw ''

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
/v1/schedule/tab
Next
/v1/schedule/page/element