v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

List all centers

This API retrieves a list of all centers of an organization.

get/v1/centers?expand=working_hours

Query parameters

Pageinteger

To represent page number

Sizeinteger

To represent number of items on a page

expandstring

all_catalog_settings: Includes the catalogue settings of the center, zone: Includes the zone of the center, working_hours: Includes when the center is available for bookings, taxgroups: Includes the tax groups available in the center, cancellation_fee_details: Includes the cancellation fee settings of that center

Response

200

OR
OR
OR
OR

Example response

{
  "centers": [
    {
      "id": "a3614939-16c0-4a7b-bc33-a69b106d855c",
      "code": "telerik",
      "name": "a_test telerik",
      "online_booking_start_date": "2021-05-03T00:00:00",
      "enable_parallel_services_at_center": true,
      "country": {
        "id": 225,
        "code": "US",
        "name": "United States",
        "phone_code": 1,
        "nationality": "American"
      },
      "state": {
        "id": 36,
        "code": "US01",
        "name": "Alabama",
        "short_name": "AL"
      },
      "location": {
        "time_zone": {
          "id": 68,
          "name": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",
          "standard_name": "India Standard Time",
          "symbol": "India Standard Time"
        }
      },
      "currency": {
        "id": 148,
        "name": "United States Dollar",
        "code": "USD",
        "symbol": "0024"
      },
      "address_info": {
        "city": "Others"
      },
      "additional_info": {
        "cancellation_fee_duration": 12,
        "center_amenities": "{\"centerAmenitiesSection\":[],\"order\":[]}"
      },
      "culture_code_at_center": "en-US"
    }
  ],
  "page_info": {
    "total": 386,
    "page": 1,
    "size": 10
  }
}