Alleva Bed Occupancy API

The BedOccupancy API from Alleva — 28 operation(s) for bedoccupancy.

Business capability
Admissions, Transfers & Discharges Management BC-2800.50

Operations 36

POST /bed/-/occupancies
GET /bed/-/occupancies
POST /bed/{bedId}/occupancies
GET /bed/{bedId}/occupancies
POST /v{version}/bed/-/occupancies
GET /v{version}/bed/-/occupancies
POST /v{version}/bed/{bedId}/occupancies
GET /v{version}/bed/{bedId}/occupancies
DELETE /bed/-/occupancies/{id}
GET /bed/-/occupancies/{id}
DELETE /bed/{bedId}/occupancies/{id}
GET /bed/{bedId}/occupancies/{id}
DELETE /v{version}/bed/-/occupancies/{id}
GET /v{version}/bed/-/occupancies/{id}
DELETE /v{version}/bed/{bedId}/occupancies/{id}
GET /v{version}/bed/{bedId}/occupancies/{id}
DELETE /bed/-/occupancies/end-lead/{leadId}
DELETE /bed/{bedId}/occupancies/end-lead/{leadId}
DELETE /v{version}/bed/-/occupancies/end-lead/{leadId}
DELETE /v{version}/bed/{bedId}/occupancies/end-lead/{leadId}
DELETE /bed/-/occupancies/end/{id}
DELETE /bed/{bedId}/occupancies/end/{id}
DELETE /v{version}/bed/-/occupancies/end/{id}
DELETE /v{version}/bed/{bedId}/occupancies/end/{id}
POST /bed/-/occupancies/transfer
POST /bed/{bedId}/occupancies/transfer
POST /v{version}/bed/-/occupancies/transfer
POST /v{version}/bed/{bedId}/occupancies/transfer
GET /bed/-/occupancies/occupants
GET /bed/{bedId}/occupancies/occupants
GET /v{version}/bed/-/occupancies/occupants
GET /v{version}/bed/{bedId}/occupancies/occupants
GET /bed/-/occupancies/occupants/{leadId}
GET /bed/{bedId}/occupancies/occupants/{leadId}
GET /v{version}/bed/-/occupancies/occupants/{leadId}
GET /v{version}/bed/{bedId}/occupancies/occupants/{leadId}

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/alleva-bedoccupancy-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 email required.

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

OpenAPI Specification

alleva-bedoccupancy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Alleva Bed Occupancy API
  version: '1.0'
  description: 'Operations tagged BedOccupancy across 2 of this provider''s published API definitions: alleva-bedoccupancy-api-openapi.yml, alleva-rest-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.helloalleva.com
  description: Base URL reconciled from apis.yml
security:
- Bearer: []
tags:
- name: BedOccupancy
paths:
  /bed/-/occupancies:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
  /bed/{bedId}/occupancies:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/-/occupancies:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/{bedId}/occupancies:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/BedOccupancy'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BedOccupancy'
  /bed/-/occupancies/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /bed/{bedId}/occupancies/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/-/occupancies/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/{bedId}/occupancies/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /bed/-/occupancies/end-lead/{leadId}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: leadId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /bed/{bedId}/occupancies/end-lead/{leadId}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: leadId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v{version}/bed/-/occupancies/end-lead/{leadId}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: leadId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v{version}/bed/{bedId}/occupancies/end-lead/{leadId}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: leadId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /bed/-/occupancies/end/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /bed/{bedId}/occupancies/end/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v{version}/bed/-/occupancies/end/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v{version}/bed/{bedId}/occupancies/end/{id}:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    delete:
      tags:
      - BedOccupancy
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
  /bed/-/occupancies/transfer:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /bed/{bedId}/occupancies/transfer:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/-/occupancies/transfer:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /v{version}/bed/{bedId}/occupancies/transfer:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    post:
      tags:
      - BedOccupancy
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: bedId
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/OccupancyTransfer'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/BedOccupancy'
  /bed/-/occupancies/occupants:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: facilityId
        in: query
        schema:
          type: integer
          format: int32
      - name: bedId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: clientName
        in: query
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Occupant'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Occupant'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Occupant'
  /bed/{bedId}/occupancies/occupants:
    servers:
    - url: https://api.helloalleva.com
      description: Base URL reconciled from apis.yml
    get:
      tags:
      - BedOccupancy
      parameters:
      - name: facilityId
        in: query
        schema:
          type: integer
          format: int32
      - name: bedId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: clientName
        in: query
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Occupant'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Occupant'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/s

# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/alleva/refs/heads/main/openapi/alleva-bedoccupancy-api-openapi.yml