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/view

Testing
GET
https://uat-api.wellnessliving.io/v1/staff/view
This endpoint retrieves staff information based on the provided region, business, and staff IDs.

Request#

Parameters:
id_region (integer): The ID of the region for which the staff information is being retrieved.
k_business (integer): The ID of the business for which the staff information is being retrieved.
k_staff (integer): The ID of the staff for which the information is being retrieved.

Response#

Status: 200
Content-Type: application/json
The response is in JSON format and represents the staff information.
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "a_class_day": {
      "type": "array",
      "description": "An empty array that might be used to store class schedule details in the future."
    },
    "a_result_list": {
      "type": "object",
      "description": "A dictionary mapping staff IDs to their respective class-related data.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "a_class_day": {
            "type": "array",
            "description": "An empty array, likely reserved for future class day information."
          },
          "a_staff": {
            "type": "object",
            "description": "Contains staff details related to their work locations, photos, and schedule.",
            "properties": {
              "a_location_work": {
                "type": "array",
                "description": "List of location IDs where the staff member works.",
                "items": {
                  "type": "integer"
                }
              },
              "a_photo": {
                "type": "object",
                "description": "Photo-related details for the staff member.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "id_gender": {
                      "type": "integer",
                      "description": "Gender ID of the staff member."
                    },
                    "k_staff": {
                      "type": "string",
                      "description": "Unique identifier for the staff member."
                    },
                    "text_name": {
                      "type": "string",
                      "description": "Name of the staff member."
                    },
                    "uid": {
                      "type": "string",
                      "description": "Unique user identifier."
                    },
                    "s_link_business": {
                      "type": "string",
                      "description": "Business-specific image link."
                    },
                    "s_link_wide": {
                      "type": "string",
                      "description": "Wide version of the image link."
                    },
                    "i_height": {
                      "type": "integer",
                      "description": "Image height in pixels."
                    },
                    "i_width": {
                      "type": "integer",
                      "description": "Image width in pixels."
                    },
                    "is_empty": {
                      "type": "boolean",
                      "description": "Indicates if the image is empty or not."
                    },
                    "s_url": {
                      "type": "string",
                      "description": "URL of the staff member's image."
                    }
                  },
                  "required": ["id_gender", "k_staff", "text_name", "uid", "s_url"]
                }
              },
              "html_biography": {
                "type": "string",
                "description": "HTML-formatted biography of the staff member."
              },
              "html_first": {
                "type": "string",
                "description": "First name of the staff member in HTML format."
              },
              "html_last": {
                "type": "string",
                "description": "Last name of the staff member in HTML format."
              },
              "html_location_title": {
                "type": "string",
                "description": "HTML-formatted location title."
              },
              "id_gender": {
                "type": "integer",
                "description": "Gender ID of the staff member."
              },
              "is_classes_events": {
                "type": "boolean",
                "description": "Indicates if the staff member is associated with classes and events."
              },
              "is_publish_business_page": {
                "type": "boolean",
                "description": "Indicates if the staff member's profile is published on the business page."
              },
              "is_schedule_enabled": {
                "type": "boolean",
                "description": "Indicates if scheduling is enabled for this staff member."
              },
              "k_location": {
                "type": ["string", "null"],
                "description": "Unique identifier for the staff member's location."
              },
              "k_staff": {
                "type": "string",
                "description": "Unique identifier for the staff member."
              },
              "s_biography": {
                "type": "string",
                "description": "Staff member's biography in HTML format."
              },
              "s_family": {
                "type": "string",
                "description": "Staff member's family name or last name."
              },
              "s_name": {
                "type": "string",
                "description": "First name of the staff member."
              },
              "s_position": {
                "type": "string",
                "description": "Staff member's position or job title."
              },
              "text_business_role": {
                "type": "string",
                "description": "Business role of the staff member."
              },
              "text_full_name": {
                "type": "string",
                "description": "Full name of the staff member."
              },
              "uid": {
                "type": "string",
                "description": "Unique user identifier for the staff member."
              },
              "url_schedule": {
                "type": "string",
                "description": "URL to the staff member's schedule."
              }
            },
            "required": ["k_staff", "s_name", "text_full_name", "uid"]
          }
        }
      }
    },
    "a_staff": {
      "type": "object",
      "description": "Contains staff member details outside the class context.",
      "properties": {
        "a_location_work": {
          "type": "array",
          "description": "List of location IDs where the staff member works.",
          "items": {
            "type": "integer"
          }
        },
        "a_photo": {
          "type": "object",
          "description": "Photo-related details for the staff member.",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "id_gender": {
                "type": "integer",
                "description": "Gender ID of the staff member."
              },
              "k_staff": {
                "type": "string",
                "description": "Unique identifier for the staff member."
              },
              "text_name": {
                "type": "string",
                "description": "Name of the staff member."
              },
              "uid": {
                "type": "string",
                "description": "Unique user identifier."
              },
              "s_link_business": {
                "type": "string",
                "description": "Business-specific image link."
              },
              "s_link_wide": {
                "type": "string",
                "description": "Wide version of the image link."
              },
              "i_height": {
                "type": "integer",
                "description": "Image height in pixels."
              },
              "i_width": {
                "type": "integer",
                "description": "Image width in pixels."
              },
              "is_empty": {
                "type": "boolean",
                "description": "Indicates if the image is empty or not."
              },
              "s_url": {
                "type": "string",
                "description": "URL of the staff member's image."
              }
            },
            "required": ["id_gender", "k_staff", "text_name", "uid", "s_url"]
          }
        },
        "html_biography": {
          "type": "string",
          "description": "HTML-formatted biography of the staff member."
        },
        "html_first": {
          "type": "string",
          "description": "First name of the staff member in HTML format."
        },
        "html_last": {
          "type": "string",
          "description": "Last name of the staff member in HTML format."
        },
        "html_location_title": {
          "type": "string",
          "description": "HTML-formatted location title."
        },
        "id_gender": {
          "type": "integer",
          "description": "Gender ID of the staff member."
        },
        "is_classes_events": {
          "type": "boolean",
          "description": "Indicates if the staff member is associated with classes and events."
        },
        "is_publish_business_page": {
          "type": "boolean",
          "description": "Indicates if the staff member's profile is published on the business page."
        },
        "is_schedule_enabled": {
          "type": "boolean",
          "description": "Indicates if scheduling is enabled for this staff member."
        },
        "k_location": {
          "type": ["string", "null"],
          "description": "Unique identifier for the staff member's location."
        },
        "k_staff": {
          "type": "string",
          "description": "Unique identifier for the staff member."
        },
        "s_biography": {
          "type": "string",
          "description": "Staff member's biography in HTML format."
        },
        "s_family": {
          "type": "string",
          "description": "Staff member's family name or last name."
        },
        "s_name": {
          "type": "string",
          "description": "First name of the staff member."
        },
        "s_position": {
          "type": "string",
          "description": "Staff member's position or job title."
        },
        "text_business_role": {
          "type": "string",
          "description": "Business role of the staff member."
        },
        "text_full_name": {
          "type": "string",
          "description": "Full name of the staff member."
        },
        "uid": {
          "type": "string",
          "description": "Unique user identifier for the staff member."
        },
        "url_schedule": {
          "type": "string",
          "description": "URL to the staff member's schedule."
        }
      },
      "required": ["k_staff", "s_name", "text_full_name", "uid"]
    },
    "status": {
      "type": "string",
      "enum": ["ok"],
      "description": "Status of the response."
    },
    "s_version": {
      "type": "string",
      "description": "Version identifier for the response format."
    }
  },
  "required": ["status", "s_version"]
}

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_staff
string 
required
Example:
479469

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

Responses

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