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

/v1/staff/list

Testing
GET
https://uat-api.wellnessliving.io/v1/staff/list
This endpoint makes an HTTP GET request to retrieve a list of staff members based on the provided region and business ID.

Request#

Parameters:
id_region (query parameter): The ID of the region for which the staff list is requested.
k_business (query parameter): The ID of the business for which the staff list is requested.

Response#

Status: 200
Content-Type: application/json
The response will be in JSON format and will contain the list of staff members along with their details such as pay rate, services, order information, appointment status, class status, event status, name, image URL, position, and more.
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "a_staff": {
      "type": "object",
      "description": "Contains staff details with each key representing a unique staff ID.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "a_pay_rate": {
            "type": "array",
            "description": "List of pay rate IDs associated with the staff member.",
            "items": {
              "type": "string"
            }
          },
          "a_staff_service": {
            "type": "array",
            "description": "List of services the staff member provides and associated pay IDs.",
            "items": {
              "type": "object",
              "properties": {
                "k_service": {
                  "type": "string",
                  "description": "Unique service identifier."
                },
                "k_staff_pay": {
                  "type": ["string", "null"],
                  "description": "Payment ID associated with this service, or null if none."
                }
              },
              "required": ["k_service"]
            }
          },
          "i_order": {
            "type": ["string", "integer"],
            "description": "Order in which the staff member is displayed."
          },
          "is_appointment": {
            "type": "boolean",
            "description": "Indicates if the staff member provides appointment services."
          },
          "is_class": {
            "type": "boolean",
            "description": "Indicates if the staff member teaches classes."
          },
          "is_event": {
            "type": "boolean",
            "description": "Indicates if the staff member handles events."
          },
          "k_staff": {
            "type": "string",
            "description": "Unique identifier for the staff member."
          },
          "s_name": {
            "type": "string",
            "description": "First name of the staff member."
          },
          "s_surname": {
            "type": "string",
            "description": "Last name of the staff member."
          },
          "s_surname_full": {
            "type": "string",
            "description": "Full surname of the staff member."
          },
          "text_name_full": {
            "type": "string",
            "description": "Full name of the staff member."
          },
          "s_position": {
            "type": "string",
            "description": "Position or role of the staff member."
          },
          "s_image": {
            "type": "string",
            "description": "URL of the staff member's profile image."
          },
          "url_image": {
            "type": "string",
            "description": "Alternative URL for the staff member's image."
          },
          "html_name": {
            "type": "string",
            "description": "HTML-formatted name of the staff member."
          },
          "uid": {
            "type": "string",
            "description": "Unique user identifier for the staff member."
          }
        },
        "required": ["k_staff", "s_name", "s_surname", "text_name_full"]
      }
    },
    "status": {
      "type": "string",
      "enum": ["ok"],
      "description": "Status of the response."
    },
    "s_version": {
      "type": "string",
      "description": "Version identifier for the response format."
    }
  },
  "required": ["a_staff", "status", "s_version"]
}
Key Attributes:
a_staff (Staff Information):
Unique keys represent each staff member.
Contains name, position, image, and services provided.
a_pay_rate (Pay Rates):
Lists pay rate IDs assigned to the staff.
a_staff_service (Services & Pay Information):
Services a staff member provides, with optional pay IDs.
Boolean Flags (is_appointment, is_class, is_event)
Indicate the type of services the staff handles.

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

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

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
/v1/shop/category
Next
/v1/staff/view