/v1/schedule/class/list
Testing
GET
https://uat-api.wellnessliving.io/v1/schedule/class/list
Request
id_region
(integer): The ID of the region for which the schedule is being requested.k_business
(integer): The ID of the business for which the schedule is being requested.uid
(integer): The user ID for whom the schedule is being requested.dt_date
(string): The start date of the schedule in the format 'YYYY-MM-DD'.dt_end
(string): The end date of the schedule in the format 'YYYY-MM-DD'.Response
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"a_calendar": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {}
}
},
"a_session": {
"type": "array",
"items": {
"type": "object",
"properties": {
"dt_date": { "type": "string", "format": "date-time" },
"dt_time": { "type": "string", "format": "time" },
"dtl_date": { "type": "string", "format": "date-time" },
"i_day": { "type": "integer" },
"i_duration": { "type": "integer" },
"is_cancel": { "type": "string" },
"is_event": { "type": "string" },
"k_class": { "type": "string" },
"k_class_period": { "type": "string" },
"k_location": { "type": "string" },
"s_title": { "type": "string" },
"text_timezone": { "type": "string" },
"url_book": { "type": "string", "format": "uri" },
"a_image": {
"type": "array",
"items": {}
},
"a_search_tag": {
"type": "array",
"items": {}
},
"html_description": { "type": "string" },
"i_book": { "type": "integer" },
"i_capacity": { "type": "integer" },
"i_wait": { "type": "integer" },
"is_wait_list_enabled": { "type": "boolean" },
"a_staff": {
"type": "array",
"items": { "type": "string" }
},
"a_virtual_location": {
"type": "array",
"items": {}
},
"hide_application": { "type": "boolean" },
"is_virtual": { "type": "boolean" },
"a_class_tab": {
"type": "array",
"items": { "type": "null" }
}
},
"required": ["dt_date", "dt_time", "dtl_date", "i_day", "i_duration", "s_title", "text_timezone", "url_book", "i_capacity"]
}
},
"is_timezone_different": { "type": "boolean" },
"is_virtual_service": { "type": "boolean" },
"status": { "type": "string" },
"s_version": { "type": "string" }
},
"required": ["a_calendar", "a_session", "status", "s_version"]
}
Request
Query Params
id_region
string
required
Example:
2
k_business
string
required
Example:
49197
uid
string
required
Example:
2720946
dt_date
string
required
Example:
2024-10-24
dt_end
string
required
Example:
2024-10-25