v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve the details of an appointment

This API retrieves the details of the specified appointment. You must specify appropriate data for the appointment_id parameter.

get/v1/appointments/{appointment_id}

Path parameters

appointment_idstring required

Unique identifier of the appointment.

Request body

RAW_BODYstring

Response

200

OR

Example response

{
  "appointment_id": "bcffd302-976b-4c88-878b-835a40093541",
  "appointment_group_id": "f42b502a-2b87-4ea3-863a-99fa2c790651",
  "invoice_id": "e338dd15-ba6e-4dac-a32d-55f8975636cd",
  "service": {
    "id": "151579b2-70f6-42ad-9b83-a2d735fcf645",
    "name": "15 minutes",
    "has_addons": true,
    "business_unit": {
      "guid": "9af1b5a3-d907-4f4a-b410-5e1316f3d5c4",
      "name": "Default",
      "id": 237
    },
    "category": {
      "id": "517ff077-1210-4f17-ad9a-c386e2c701aa",
      "name": "Massages"
    },
    "sub_category": {
      "id": "21077983-1e94-4f46-9a08-c7676819c65b",
      "name": "Feet Massage"
    },
    "override_product_consumption": true,
    "override_default_product_consumption": true
  },
  "start_time": "2019-09-15T05:00:00",
  "start_time_utc": "2019-09-15T09:00:00",
  "end_time": "2019-09-15T05:15:00",
  "end_time_utc": "2019-09-15T09:15:00",
  "guest": {
    "id": "201416e7-add8-4093-968b-a4d878a6842f",
    "first_name": "Kirity",
    "last_name": "Chennai1",
    "mobile": {
      "display_number": "+91 9885517727"
    },
    "email": "kirityg@zenoti.com",
    "indicator": "1@2@0@1@0@0@0@1@1@0@0@0@2@0",
    "lp_tier_info": "0@x"
  },
  "therapist": {
    "id": "0c82f23e-9953-47bb-a587-aa3251c1c8c7",
    "first_name": "Biometric1",
    "last_name": "emp1",
    "email": "be1@em.com",
    "gender": 1
  },
  "service_custom_data_indicator": "1#1#0#0#0#1#1",
  "form_id": "24c77db7-aadf-4cd3-9c1a-b74179a009bb",
  "creation_date": "2019-03-12T03:30:00",
  "creation_date_utc": "2019-03-12T07:30:00",
  "created_by_id": "5b2a4f2a-489b-45bf-9fc7-b2d413c2870b",
  "show_in_calender": 1,
  "selected_time": "0001-01-01T00:00:00"
}