EMIS Partner API (PAPI)

The EMIS Partner API (PAPI) is a RESTful JSON API for EMIS-X / EMIS Web integration, exposing appointments, the clinical/medical record, patient demographics, patient matching, organisation lookup, and clinical searches. Documented as OpenAPI 3.0.4 (Partner API v1.2) with 40 operations across the appointments, medicalRecord, patient, patientMatching, organisation, search, and user domains. Access is OAuth2 authorization-code with scoped bearer (JWT) tokens.

OpenAPI Specification

emis-health-partner-api-openapi.json Raw ↑
{
  "openapi": "3.0.4",
  "info": {
    "title": "Partner API",
    "version": "1.2"
  },
  "paths": {
    "/api/v1/appointments/BookAppointment": {
      "get": {
        "tags": [
          "appointments"
        ],
        "description": "This call books a patient into the specified appointment slot",
        "operationId": "BookAppointment",
        "parameters": [
          {
            "name": "reason",
            "in": "query",
            "description": "The reason for making the appointment",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bookedBy",
            "in": "query",
            "description": "DBID of staff making the appointment",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "bookingNote",
            "in": "query",
            "description": "Optional booking note for the appointment",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "slotId",
            "in": "query",
            "description": "The ID of the appointment slot",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "patientNumber",
            "in": "query",
            "description": "The numeric patient identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Details of appointment booked",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.Appointment.BookedAppointmentType"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.Appointment.BookedAppointmentType"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-appt.write"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/appointments/CancelAppointment": {
      "get": {
        "tags": [
          "appointments"
        ],
        "description": "This call removes a patient from a specified appointment slot",
        "operationId": "CancelAppointment",
        "parameters": [
          {
            "name": "slotId",
            "in": "query",
            "description": "The ID of the appointment slot",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "patientNumber",
            "in": "query",
            "description": "The numeric patient identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Details of appointment cancelled",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.Appointment.BookedAppointmentType"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.Appointment.BookedAppointmentType"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-appt.write"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/appointments/GetAppointmentConfiguration": {
      "get": {
        "tags": [
          "appointments"
        ],
        "description": "This call is used to retrieve a site's appointment configuration settings, including slot types, session holders, staff holidays, and practice holidays. The date filter bounds the staff and practice holidays to avoid returning large amounts of historical data.",
        "operationId": "GetAppointmentConfiguration",
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "description": "Lower date filter in the format dd/mm/yyyy",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "Upper date filter in the format dd/mm/yyyy",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Retrieves the appointment configuration within a given time frame",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.AppointmentConfiguration.AppointmentConfiguration"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.AppointmentConfiguration.AppointmentConfiguration"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-appt.read"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/appointments/GetAppointmentSessions": {
      "get": {
        "tags": [
          "appointments"
        ],
        "description": "This call returns a list of appointment sessions within a given timeframe. The maximum window to retrieve sessions is 90 days.",
        "operationId": "GetAppointmentSessions",
        "parameters": [
          {
            "name": "slotType",
            "in": "query",
            "description": "Slot type as returned from GetAppointmentConfiguration - if empty, returns all",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "Lower date filter in the format dd/mm/yyyy",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "Upper date filter in the format dd/mm/yyyy",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Details of appointment sessions retrieved",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.AppointmentSessions.AppointmentSessionList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.AppointmentSessions.AppointmentSessionList"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-appt.read"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/appointments/GetArrivedPatients": {
      "get": {
        "tags": [
          "appointments"
        ],
        "description": "This call returns a list of patients whose current status is 'arrived'. This status is normally set to indicate that the patient has arrived and is in the waiting area, ready to be called by the clinician.",
        "operationId": "GetArrivedPatients",
        "parameters": [
          {
            "name": "minutesBefore",
            "in": "query",
            "description": "How many minutes before the query time to search",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "minutesWithin",
            "in": "query",
            "description": "How many minutes within the query time to search",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Retrieves a list of arrived appointments within a given time frame",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.BookedPatients37.BookedPatients"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.BookedPatients37.BookedPatients"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-appt.read"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/medicalRecord/GetAttachments": {
      "get": {
        "tags": [
          "medicalRecord"
        ],
        "description": "This call returns an EMIS Open medical record message containing a list of attachments to that patient’s record.  To retrieve the attachment data, call GetAttachments, parse the list of attachments for file names, and call the GetBase64AttachmentData method for each attachment you wish to retrieve.",
        "operationId": "GetAttachments",
        "parameters": [
          {
            "name": "patientNumber",
            "in": "query",
            "description": "The numeric patient identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "415": {
            "description": "Media type not valid for URL",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "The patient's attachments",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicalRecordType"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicalRecordType"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "OAuth2CodeEMIS-X-GP-PAPI": [
              "papi-cr.read"
            ]
          }
        ]
      },
      "options": {
        "tags": [
          "CORS"
        ],
        "summary": "CORS pre-flight request",
        "description": "Handles CORS pre-flight requests",
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/medicalRecord/GetAttachmentsV2": {
      "get": {
        "tags": [
          "medicalRecord"
        ],
        "description": "This call returns an EMIS Open medical record message containing a list of attachments to that patient’s record.  To retrieve the attachment data, call GetAttachments, parse the list of attachments for file names, and call the GetBase64AttachmentData method for each attachment you wish to retrieve.",
        "operationId": "GetAttachmentsV2",
        "parameters": [
          {
            "name": "patientNumber",
            "in": "query",
            "description": "The numeric patient identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "applicationId",
            "in": "header",
            "description": "The applicationId (aka party key) will be provided by your assurance lead",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "500": {
            "description": "Internal error",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request - adjust URL or parameters",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication token not valid",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApi.Service.Model.ErrorResponse"
                }
              },
              "application/json":

# --- truncated at 32 KB (445 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/emis-health/refs/heads/main/openapi/emis-health-partner-api-openapi.json