MedAdvisor Pharmacy Unified API v2.0

MedAdvisor Pharmacy Unified API v2.0 from MedAdvisor — 44 path(s) described in OpenAPI.

OpenAPI Specification

medadvisor-pharmacy-unified-v2-openapi.json Raw ↑
{
  "swagger": "2.0",
  "info": {
    "version": "v2",
    "title": "Pharmacy Unified API v2.0"
  },
  "host": "pharmacy-unified.api.medadvisor.com.au",
  "schemes": [
    "https"
  ],
  "paths": {
    "/api/v2/booking/eventresource": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Event Resources",
        "operationId": "Booking_RetrieveEventResources",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.EventResourceResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/retrieveservice": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Calendar setting: Retrieves all service by pharmacy to show on list",
        "operationId": "Booking_RetrieveAllServices",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Collections.Generic.List`1[[MedAdvisor.Framework.Interface.v2.PharmacyCapabilityModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/detail/{bookingId}": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Booking detail",
        "operationId": "Booking_RetrieveBooking",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "bookingId",
            "in": "path",
            "description": "BookingId",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.EventBookingModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/services/available": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Available Services",
        "operationId": "Booking_RetrieveAvailableServices",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.BookingAvailabilityResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/eventresource/{resourceId}": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Event Resource detail",
        "operationId": "Booking_RetrieveEventResource",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.EventResourceResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/RetrievePublicBookingLinks": {
      "get": {
        "tags": [
          "Booking"
        ],
        "operationId": "Booking_RetrievePublicBookingLinks",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.PublicBookingLinksResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/retrieverunsheet": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Run Sheet Result",
        "operationId": "Booking_RetrieveRunSheet",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date",
            "required": true,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.RunSheetModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/validateCalendarToken": {
      "get": {
        "tags": [
          "Booking"
        ],
        "operationId": "Booking_ValidateCalendarToken",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "calendarToken",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        }
      }
    },
    "/api/v2/booking/services/availableresource/{capabilityId}": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve Available Services Resource For Capability",
        "operationId": "Booking_RetrieveAvailableResourceForCapability",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "capabilityId",
            "in": "path",
            "description": "CapabilityId",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "date",
            "in": "query",
            "description": "Date",
            "required": true,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.EventBookingModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/availabletimeslotnewbooking": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieves the available time slot new booking.",
        "operationId": "Booking_RetrieveAvailableTimeSlotNewBooking",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "query",
            "description": "The service identifier.",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "date",
            "in": "query",
            "description": "The date.",
            "required": true,
            "type": "string"
          },
          {
            "name": "noOfDays",
            "in": "query",
            "description": "The no of days.",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "clinicId",
            "in": "query",
            "description": "clinic Id.",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.EventBookingResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/retrieveavailabletimeslots": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieve available times slots",
        "operationId": "Booking_RetrieveAvailableTimeslots",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "query",
            "description": "resource Id",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "date",
            "in": "query",
            "description": "dd/MM/yyyy",
            "required": true,
            "type": "string"
          },
          {
            "name": "serviceId",
            "in": "query",
            "description": "service Id",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pharmacistId",
            "in": "query",
            "description": "pharmacist Id",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Object[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/retrieveeventbookings": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Retrieves the event bookings.",
        "operationId": "Booking_RetrieveEventBookings",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "description": "The start date.",
            "required": true,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "The end date.",
            "required": true,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "resourceId",
            "in": "query",
            "description": "The resource identifier.",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "includeResourceAvailability",
            "in": "query",
            "description": "if set to true [include resource availability].",
            "required": true,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.EventBookingModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/count": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Get number of bookings",
        "operationId": "Booking_CountNumberOfBooking",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "Booking search model",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.BulkBookingSearchRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/walkinqr": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Returns the pharmacy-level walk-in QR token, creating it if it does not exist.",
        "operationId": "Booking_GetOrCreateWalkInQrToken",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/bulkcancel": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Bulk cancel booking",
        "operationId": "Booking_BulkCancelBooking",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "Booking search model",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.BulkBookingSearchRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/customrunsheet": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Custom Run Sheet Result",
        "operationId": "Booking_CustomRunSheet",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "CustomRunSheetRequest",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.CustomRunSheetRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.RunSheetModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/sendprescreener": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Sends a prescreener email for a walk-in booking.",
        "operationId": "Booking_SendPrescreener",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.SendPrescreenerRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/print/{bookingCode}": {
      "post": {
        "tags": [
          "Booking"
        ],
        "operationId": "Booking_Print",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "bookingCode",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MedAdvisor.PharmacyUnifiedAPI.v1.Models.PrescreenFormModel"
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/eventresource/update": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Updates the event resource.",
        "operationId": "Booking_UpdateEventResource",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "The models.",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.EventResourceModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/createorupdateservice": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Calendar setting: Create or update service",
        "operationId": "Booking_CreateOrUpdateService",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.PharmacyCapabilityModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/CompleteCalendarWizard": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Complete Calendar wizard",
        "operationId": "Booking_CompleteCalendarWizard",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "Calendar Wizard Data",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.CalendarWizardModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/eventresource/create/{name}": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Creates the event resource",
        "operationId": "Booking_CreateEventResource",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "Event resource name",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/searchprescreenformforbooking": {
      "post": {
        "tags": [
          "Booking"
        ],
        "operationId": "Booking_SearchPrescreenFormForBooking",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "prescreenFormSearchModel",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.PrescreenFormSearchModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.PrescreenFormSearchResult, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        }
      }
    },
    "/api/v2/booking/savebooking": {
      "post": {
        "tags": [
          "Booking"
        ],
        "summary": "Create new booking",
        "operationId": "Booking_SaveBooking",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.EventBookingWrapper"
            }
          },
          {
            "name": "forceSaveBooking",
            "in": "query",
            "description": "",
            "required": true,
            "type": "boolean"
          },
          {
            "name": "checkLimitAmount",
            "in": "query",
            "description": "Allow save booking without checking limit amount if user click OK on warning pop-up",
            "required": true,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.String[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/delete/{bookingId}": {
      "delete": {
        "tags": [
          "Booking"
        ],
        "summary": "Delete booking by pharmacy id",
        "operationId": "Booking_DeleteBooking",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "bookingId",
            "in": "path",
            "description": "Booking Id",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/services/delete/{serviceId}": {
      "delete": {
        "tags": [
          "Booking"
        ],
        "summary": "Deletes the event service.",
        "operationId": "Booking_DeleteEventService",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "description": "Service id",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/booking/eventresource/{resourceId}/delete": {
      "delete": {
        "tags": [
          "Booking"
        ],
        "summary": "Deletes the event resource.",
        "operationId": "Booking_DeleteEventResource",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "description": "The resource identifier.",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/v2/calendarsetting/eventpreference": {
      "get": {
        "tags": [
          "CalendarSetting"
        ],
        "operationId": "CalendarSetting_GetEventPreferences",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MedAdvisor.Framework.Interface.v2.ApiResponseModel`1[[MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel, MedAdvisor.Framework, Version=5.85.0.0, Culture=neutral, PublicKeyToken=c5a42efe99ff1eb2]]"
            }
          }
        },
        "security": [
          {
  

# --- truncated at 32 KB (132 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/medadvisor/refs/heads/main/openapi/medadvisor-pharmacy-unified-v2-openapi.json