WellnessLiving API (v1)
  1. Event
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
      GET
    • /v1/event/list
      GET
    • /v1/event/book/view/element
      GET
  • 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
    • /v1/schedule/page/list
    • /v1/schedule/tab
    • /v1/schedule/class/view
    • /v1/schedule/page/element
  • Shop
    • /v1/shop/category
  • Staff
    • /v1/staff/list
    • /v1/staff/view
  • User
    • /v1/user
  • Visit
    • /v1/visit/status
  1. Event

/v1/event/book/view/element

Testing
GET
https://uat-api.wellnessliving.io/v1/event/book/view/element
This endpoint retrieves the details of a specific event book view element based on the provided region and business identifiers.

Request#

Parameters:
id_region (integer): The identifier of the region.
k_business (integer): The business identifier.
k_event (integer): The event identifier.

Response#

Status: 200
Content-Type: application/json
Upon a successful request, the server responds with a status code of 200 and a JSON object containing the details of the event book view element. The response includes various attributes such as age restrictions, book availability, business policies, class logo, event details, schedule, staff logo, and more.
{
    "type": "object",
    "properties": {
        "a_age_restrictions": {"type": "array"},
        "a_book_available": {"type": "array"},
        "a_business_policy": {
            "type": "object",
            "properties": {
                "a_family_relation_login_allow": {
                    "type": "array",
                    "items": {"type": "integer"}
                },
                "a_payment_reattempt_not_decline_reason": {"type": "array"},
                "a_staff_ip_restriction": {"type": "array"},
                "a_wait_service": {
                    "type": "object",
                    "additionalProperties": {"type": "integer"}
                },
                "can_apple_login": {"type": "boolean"},
                "can_facebook_login": {"type": "boolean"},
                "can_google_login": {"type": "boolean"},
                "can_microsoft_login": {"type": "boolean"},
                "can_tjx_login": {"type": "boolean"},
                "i_attendance_direct_delay": {"type": "integer"},
                "i_blame": {"type": "integer"},
                "i_book_before": {"type": "string"},
                "i_book_future": {"type": "string"},
                "i_book_in_progress": {"type": "string"},
                "i_book_quick": {"type": "string"},
                "i_book_quick_app": {"type": "string"},
                "i_book_open": {"type": "string"},
                "i_cancel": {"type": "string"},
                "i_cancel_prospect": {"type": "string"},
                "i_cancel_period": {"type": "integer"},
                "i_charge_measure": {"type": "integer"},
                "i_contract_minor_age": {"type": "integer"},
                "i_grace_period": {"type": "string"},
                "i_promote": {"type": "string"},
                "i_promote_fastest_response": {"type": "string"},
                "i_promote_require_confirm": {"type": "string"},
                "is_enable_client_cancel": {"type": "string"},
                "is_wait": {"type": "string"},
                "is_wait_list_unpaid": {"type": "string"},
                "k_currency": {"type": "string"},
                "k_timezone": {"type": "integer"},
                "m_payment_penalty": {"type": "string"},
                "s_contract": {"type": "string"},
                "text_description": {"type": "string"}
            },
            "additionalProperties": false
        },
        "a_class_logo": {
            "type": "object",
            "properties": {
                "i_height": {"type": "integer"},
                "i_width": {"type": "integer"},
                "s_class_logo": {"type": "string"},
                "url_logo": {"type": "string"}
            },
            "additionalProperties": false
        },
        "a_class_tab": {
            "type": "array"
        },
        "a_event": {"type": ["null", "array"]},
        "a_schedule": {"type": "array"},
        "a_staff_logo": {"type": "array"},
        "a_visits_required": {"type": "array"},
        "dt_book_date": {"type": "string"},
        "dt_early": {"type": "string"},
        "dt_end": {"type": "string"},
        "dt_start": {"type": "string"},
        "hide_application": {"type": "boolean"},
        "html_description": {"type": "string"},
        "html_special": {"type": "string"},
        "i_session": {"type": "integer"},
        "i_session_remain": {"type": "integer"},
        "is_age_restrict": {"type": "boolean"},
        "is_availability_checked": {"type": "boolean"},
        "is_book": {"type": "boolean"},
        "is_bookable": {"type": "boolean"},
        "is_full": {"type": "boolean"},
        "is_promotion_only": {"type": "boolean"},
        "is_prorate": {"type": "boolean"},
        "is_single_session_buy": {"type": "boolean"},
        "is_virtual": {"type": "boolean"},
        "k_book_class_period": {"type": "string"},
        "m_price": {"type": "string"},
        "m_price_total": {"type": "string"},
        "m_price_total_early": {"type": "string"},
        "s_deny_reason": {"type": "string"},
        "s_title": {"type": "string"},
        "text_end": {"type": "string"},
        "text_start": {"type": "string"},
        "url_book": {"type": ["null", "string"]},
        "xml_description": {"type": "string"},
        "status": {"type": "string"},
        "s_version": {"type": "string"},
        "__a_message": {
            "type": "array",
            "items": {"type": "string"}
        }
    },
    "additionalProperties": false
}

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
k_event
string 
required
Example:
100000080599

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 --request GET 'https://uat-api.wellnessliving.io/v1/event/book/view/element?id_region=2&k_business=49197&k_event=100000080599' \
--header 'Content-Type: text/plain' \
--data-raw ''

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
/v1/event/list
Next
/v1/location/list