MedAdvisor Calendar Setting API

The CalendarSetting API from MedAdvisor — 6 operation(s) for calendarsetting.

Operations 6

GET /api/v2/calendarsetting/eventpreference #
GET /api/v2/calendarsetting/retrieveclosedperiod Retrieve closed periods by pharmacy id #
GET /api/v2/calendarsetting/retrievepublicholidays/{year} Retrieve public holiday by pharmacy id #
POST /api/v2/calendarsetting/eventpreference/update #
POST /api/v2/calendarsetting/createorupdate/closedperiod Create or update list of Closed Period by pharmacy id. #
POST /api/v2/calendarsetting/createorupdate/publicholidays Create or update list of public holidays by pharmacy id. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medadvisor-calendarsetting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medadvisor-calendarsetting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v2
  title: Pharmacy Unified API v2.0 Calendar Setting API
servers:
- url: https://pharmacy-unified.api.medadvisor.com.au
tags:
- name: CalendarSetting
paths:
  /api/v2/calendarsetting/eventpreference:
    get:
      tags:
      - CalendarSetting
      operationId: CalendarSetting_GetEventPreferences
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
      security:
      - Bearer: []
  /api/v2/calendarsetting/retrieveclosedperiod:
    get:
      tags:
      - CalendarSetting
      summary: Retrieve closed periods by pharmacy id
      operationId: CalendarSetting_RetrieveClosedPeriod
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
      security:
      - Bearer: []
  /api/v2/calendarsetting/retrievepublicholidays/{year}:
    get:
      tags:
      - CalendarSetting
      summary: Retrieve public holiday by pharmacy id
      operationId: CalendarSetting_RetrievePublicHolidays
      parameters:
      - name: year
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2'
      security:
      - Bearer: []
  /api/v2/calendarsetting/eventpreference/update:
    post:
      tags:
      - CalendarSetting
      operationId: CalendarSetting_UpdateEventPreferences
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
      security:
      - Bearer: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
          text/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
        required: true
  /api/v2/calendarsetting/createorupdate/closedperiod:
    post:
      tags:
      - CalendarSetting
      summary: Create or update list of Closed Period by pharmacy id.
      operationId: CalendarSetting_CreateOrUpdateClosedPeriod
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
      security:
      - Bearer: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          text/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
        description: Closed Period
        required: true
  /api/v2/calendarsetting/createorupdate/publicholidays:
    post:
      tags:
      - CalendarSetting
      summary: Create or update list of public holidays by pharmacy id.
      operationId: CalendarSetting_CreateOrUpdatePublicHolidays
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089'
      security:
      - Bearer: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          text/json:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
        description: public holidays
        required: true
components:
  schemas:
    ? MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__System.Int32__mscorlib__Version_4.0.0.0__Culture_neutral__PublicKeyToken_b77a5c561934e089
    : type: object
      properties:
        result:
          format: int32
          type: integer
        resultMessage:
          type: string
        data:
          format: int32
          type: integer
    ? MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.ClosedPeriodModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2
    : type: object
      properties:
        result:
          format: int32
          type: integer
        resultMessage:
          type: string
        data:
          $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.ClosedPeriodModel'
    ? MedAdvisor.Framework.Interface.v2.ApiResponseModel_1__MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel__MedAdvisor.Framework__Version_5.85.0.0__Culture_neutral__PublicKeyToken_c5a42efe99ff1eb2
    : type: object
      properties:
        result:
          format: int32
          type: integer
        resultMessage:
          type: string
        data:
          $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel'
    MedAdvisor.Framework.Interface.v2.TimePeriodModel:
      type: object
      properties:
        from:
          format: date-time
          type: string
        to:
          format: date-time
          type: string
    MedAdvisor.Framework.Interface.v2.EventPreferenceUpdateModel:
      type: object
      properties:
        pharmacyUuid:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        type:
          format: int32
          type: integer
        layout:
          type: string
        supplemental:
          type: string
        smsConfirmation:
          type: boolean
        smsReminder:
          type: boolean
        isCollectConsentRemind:
          type: boolean
        isCollectConsentPrompt:
          type: boolean
        collectConsentMessage:
          type: string
        isSetAge:
          type: boolean
        minAge:
          format: int32
          type: integer
        maxAge:
          format: int32
          type: integer
    MedAdvisor.Framework.Interface.v2.PublicHolidayModel:
      type: object
      properties:
        id:
          format: int32
          type: integer
        name:
          type: string
        date:
          format: date-time
          type: string
        state:
          type: string
    MedAdvisor.Framework.Interface.v2.ClosedPeriodModel:
      type: object
      properties:
        pharmacyUuid:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        year:
          format: int32
          type: integer
        holidays:
          type: array
          items:
            $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.PublicHolidayModel'
        linkedPublicHolidays:
          type: array
          items:
            format: int32
            type: integer
        bookingClosedPeriods:
          type: array
          items:
            $ref: '#/components/schemas/MedAdvisor.Framework.Interface.v2.TimePeriodModel'
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"'
      name: Authorization
      in: header