WellnessLiving API (v1)
  1. Appointment
WellnessLiving API (v1)
  • WellnessLiving API
  • Auth
    • Authentication
  • Appointment
    • /v1/appointment/book/asset/list
      GET
    • /v1/appointment/book/asset/category
      GET
    • /v1/appointment/book/service/list
      GET
    • /v1/appointment/book/staff/list
      GET
  • 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
    • /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. Appointment

/v1/appointment/book/service/list

Testing
GET
https://uat-api.wellnessliving.io/v1/appointment/book/service/list
This endpoint retrieves a list of available services for booking appointments based on the provided region, business, and location IDs.

Request#

Parameters:
id_region (required, integer): The ID of the region for which the services are being listed.
k_business (required, integer): The ID of the business for which the services are being listed.
k_location (required, integer): The ID of the location for which the services are being listed.

Response#

Status: 200
Content-Type: application/json
The response is a JSON object containing a list of available services for booking appointments. The structure of the response is as follows:
a_service (object): An object containing details of the available services, where each key is the service ID and the value is an object with service details.
f_deposit (string): The deposit amount for the service.
f_offline_max (string): Maximum offline booking allowed for the service.
f_offline_min (string): Minimum offline booking required for the service.
f_online (string): Online booking information for the service.
i_capacity (string): The capacity of the service.
i_price (integer): The price of the service.
id_book_flow (integer): The ID of the booking flow for the service.
id_service_require (integer): The ID of the required service.
is_age_public (string): Information about the age restriction for the service.
... (more service details)
is_multiple_booking (boolean): Indicates if multiple bookings are allowed for the listed services.
k_location (string): The location ID for which the services are listed.
status (string): The status of the response.
s_version (string): The version information.
__a_message (array): An array of messages.
{
  "type": "object",
  "properties": {
    "a_service": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "f_deposit": { "type": "string" },
          "f_offline_max": { "type": "string" },
          "f_offline_min": { "type": "string" },
          "f_online": { "type": "string" },
          "i_capacity": { "type": "string" },
          "i_price": { "type": "integer" },
          "id_book_flow": { "type": "integer" },
          "id_service_require": { "type": "integer" },
          "is_age_public": { "type": "string" },
          ... (more service details)
        },
        "required": [ "f_deposit", "f_offline_max", "f_offline_min", "f_online", "i_capacity", "i_price", "id_book_flow", "id_service_require", "is_age_public", ... ]
      }
    },
    "is_multiple_booking": { "type": "boolean" },
    "k_location": { "type": "string" },
    "status": { "type": "string" },
    "s_version": { "type": "string" },
    "__a_message": {
      "type": "array",
      "items": { "type": "string" }
    }
  },
  "required": [ "a_service", "is_multiple_booking", "k_location", "status", "s_version", "__a_message" ]
}

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_location
string 
required
Example:
315968

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/appointment/book/service/list?id_region=2&k_business=49197&k_location=315968' \
--header 'Content-Type: text/plain' \
--data-raw ''

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
/v1/appointment/book/asset/category
Next
/v1/appointment/book/staff/list