WellnessLiving API (v1)
  1. Location
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
      GET
    • /v1/location/view
      GET
  • 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. Location

/v1/location/list

Testing
GET
https://uat-api.wellnessliving.io/v1/location/list
This endpoint makes an HTTP GET request to retrieve a list of locations based on the provided region and business identifiers.
The request should include the query parameters "id_region" and "k_business" to specify the region ID and business key, respectively.

Request#

Parameters:
id_region (integer): The ID of the region for which locations are to be retrieved.
k_business (integer): The key of the business for which locations are to be retrieved.

Response#

Status: 200
Content-Type: application/json
Upon a successful execution, the response will be in JSON format with the following attributes:
a_location (object): An object containing location details, where the keys are location IDs and the values are location objects.
f_latitude (string): Latitude of the location.
f_longitude (string): Longitude of the location.
i_order (string): Order information.
k_business (string): Key of the business.
k_country (string): Key of the country.
k_location (string): Key of the location.
k_timezone (string): Key of the timezone.
k_region (string): Key of the region.
url_logo (string): URL of the location's logo.
url_logo_source (string): Source URL of the location's logo.
i_shift (integer): Shift information.
id_region (integer): ID of the region.
a_timezone (object): An object containing timezone details.
k_timezone (string): Key of the timezone.
text_abbr (string): Abbreviation of the timezone.
text_name (string): Name of the timezone.
a_directories (array): An array containing directories information.
s_title (string): Title of the location.
text_address (string): Address of the location.
text_address_individual (string): Individual address details.
text_city (string): City of the location.
text_country (string): Country of the location.
text_postal (string): Postal code of the location.
text_region (string): Region of the location.
status (string): Status information.
s_version (string): Version information.
__a_message (array): An array containing message details.

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

Responses

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