Oracle Hospitality INV Stats API

The Inventory Statistics APIs provide the ability to fetch hotels inventory statistics or block inventory statistics for a specified date range provided in the request. It also contains operations to get block inventory statistics for multiple properties.

Operations 4

GET /blockInventoryStatistics Get block inventory statistics for multiple hotel Ids #
GET /hotels/{hotelId}/blockInventoryStatistics Get block inventory statistics #
GET /hotels/{hotelId}/inventoryStatistics Get a hotels Inventory Statistics #
GET /services/invStatsService/status Ping #

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/oracle-hospitality-invstats-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

oracle-hospitality-invstats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OPERA Cloud Inventory INV Stats API
  description: APIs to cater for Inventory functionality in OPERA Cloud.  This includes sell limits for date ranges, viewing and updating the properties inventory, as well as item inventory (such as rollaways, microwaves etc.).<br /><br /> Compatible with OPERA Cloud release 26.2.0.0.<br /><br /><p> This document and all content within is available under the Universal Permissive License v 1.0 (https://oss.oracle.com/licenses/upl). Copyright (c) 2020, 2026 Oracle and/or its affiliates.</p>
  version: 26.2.0.0
  termsOfService: https://www.oracle.com/legal/terms.html
  contact:
    email: hospitality_apis_ww_grp@oracle.com
  license:
    name: UPL
    url: https://opensource.org/licenses/upl
servers:
- url: /inv/v1
tags:
- name: INVStats
  description: The Inventory Statistics APIs provide the ability to fetch hotels inventory statistics or block inventory statistics for a specified date range provided in the request. It also contains operations to get block inventory statistics for multiple properties.
paths:
  /blockInventoryStatistics:
    get:
      summary: Get block inventory statistics for multiple hotel Ids
      description: You can use this API to retrieve Block inventory for multiple hotel codes. Narrow down your results using the query parameters available. <p><strong>OperationId:</strong>getBlockInventoryStatisticsMultipleHotelIds</p> <p>The maximum allowable limit for this API is <strong>100</strong>.</p> <p>This API allows a time span of <strong>90</strong> days.</p>
      operationId: getBlockInventoryStatisticsMultipleHotelIds
      parameters:
      - name: hotelIds
        in: query
        description: Hotel code.
        required: true
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
          minItems: 1
      - name: includeBlocksWithNoRoom
        in: query
        required: false
        description: If set to true, includes business blocks without rooms.
        schema:
          type: boolean
      - name: includeOverbooking
        in: query
        required: false
        description: If set to true, the house overbooking limit for each day is added to the total number of physical rooms.
        schema:
          type: boolean
      - name: includeOpportunities
        in: query
        required: false
        description: If set to true, the results will include opportunities. If this flag is not provided it will be considered false and exclude opportunities.
        schema:
          type: boolean
      - name: includeTentativeInventory
        in: query
        required: false
        description: If set to true, includes non-deduct business blocks and group reservations in the Sales Allowance Available Rooms and House Availability statistics.
        schema:
          type: boolean
      - name: limit
        in: query
        required: false
        description: Indicates maximum number of records a Web Service should return.
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.
        schema:
          type: integer
          default: 0
      - name: endDateRange
        in: query
        required: false
        description: The ending value of the date range.
        schema:
          type: string
          format: date
      - name: startDateRange
        in: query
        required: false
        description: The starting value of the date range.
        schema:
          type: string
          format: date
      - name: blockStatusCodes
        in: query
        description: Collection of configured Block Status Codes.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: originCodes
        in: query
        description: Collection of Origin Codes.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: roomOwnerCodes
        in: query
        description: Collection of Room Owners.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: blockOwners
        in: query
        description: Collection of block owners.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: availabilitySummaryBy
        in: query
        description: 'Summarize the availability based on selected criteria. If not selected, by default AvailableRooms are displayed. '
        required: false
        schema:
          type: string
          enum:
          - AvailableRooms
          - AvailableRoomsExclSellLimits
      - name: summarySortByCode
        in: query
        required: false
        description: Supported block inventory statistical sorting for summary information
        schema:
          type: string
          enum:
          - Status
          - StatusDescending
          uniqueItems: true
      - name: detailSortByCode
        in: query
        required: false
        description: Supported block inventory statistical sorting for detailed block information
        schema:
          type: string
          enum:
          - Status
          - StatusDescending
          - ArrivalDate
          - BlockAccount
          - Revenue
          - RoomsOwner
          uniqueItems: true
      - name: sunday
        in: query
        required: false
        description: If selected, Sundays are included in search result.
        schema:
          type: boolean
      - name: monday
        in: query
        required: false
        description: If selected, Mondays are included in search result.
        schema:
          type: boolean
      - name: tuesday
        in: query
        required: false
        description: If selected, Tuesdays are included in search result.
        schema:
          type: boolean
      - name: wednesday
        in: query
        required: false
        description: If selected, Wednesdays are included in search result.
        schema:
          type: boolean
      - name: thursday
        in: query
        required: false
        description: If selected, Thursdays are included in search result.
        schema:
          type: boolean
      - name: friday
        in: query
        required: false
        description: If selected, Fridays are included in search result.
        schema:
          type: boolean
      - name: saturday
        in: query
        required: false
        description: If selected, Saturdays are included in search result.
        schema:
          type: boolean
      - name: fetchInstructions
        in: query
        description: Type for block inventory statistics instructions that can be used in requests for partial operations.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            enum:
            - StatusSummary
            - BookingSummary
            - ForecastSummary
            - DetailSummary
            - RoomSummary
          uniqueItems: true
      - name: roomSummaryBy
        in: query
        description: 'Summarize the rooms based on selected criteria. If not selected, by default AvailableRooms are displayed. Applicable only when RoomSummary is a fetchInstruction. '
        required: false
        schema:
          type: string
          enum:
          - AvailableRooms
          - AvailableRoomsWithNonDeduct
          - AvailableRoomsExclSellLimits
          - AvailableRoomsWithNonDeductExclSellLimits
      - $ref: '#/components/parameters/authKey'
      - $ref: '#/components/parameters/externalData'
      - $ref: '#/components/parameters/x-app-key'
      - $ref: '#/components/parameters/x-request-id'
      - $ref: '#/components/parameters/x-originating-application'
      - $ref: '#/components/parameters/x-hotelid'
      - $ref: '#/components/parameters/x-externalsystem'
      - $ref: '#/components/parameters/Accept-Language'
      responses:
        '200':
          headers:
            Content-Language:
              description: Audience language
              x-example: en-GB
              schema:
                type: string
                pattern: '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'
          description: Response object for information regarding Block Inventory Statistics.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/blockInventoryStatistic'
        '204':
          description: BlockInventoryStatistics not found.
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '406':
          $ref: '#/components/responses/406'
        '413':
          $ref: '#/components/responses/413'
        '414':
          $ref: '#/components/responses/414'
        '415':
          $ref: '#/components/responses/415'
        '500':
          $ref: '#/components/responses/500'
        '502':
          $ref: '#/components/responses/502'
        '503':
          $ref: '#/components/responses/503'
      tags:
      - INVStats
  /hotels/{hotelId}/blockInventoryStatistics:
    get:
      summary: Get block inventory statistics
      description: You can use this API to retrieve Block inventory for a specified hotel. Narrow down your results using the query parameters available. <p><strong>OperationId:</strong>getBlockInventoryStatistics</p> <p>The maximum allowable limit for this API is <strong>100</strong>.</p> <p>This API allows a time span of <strong>90</strong> days.</p>
      operationId: getBlockInventoryStatistics
      parameters:
      - name: hotelId
        in: path
        required: true
        description: Unique ID of the hotel where block inventory statistics are searched.
        schema:
          type: string
          maxLength: 2000
          minLength: 1
      - name: includeBlocksWithNoRoom
        in: query
        required: false
        description: If set to true, includes business blocks without rooms.
        schema:
          type: boolean
      - name: includeOverbooking
        in: query
        required: false
        description: If set to true, the house overbooking limit for each day is added to the total number of physical rooms.
        schema:
          type: boolean
      - name: includeOpportunities
        in: query
        required: false
        description: If set to true, the results will include opportunities. If this flag is not provided it will be considered false and exclude opportunities.
        schema:
          type: boolean
      - name: includeTentativeInventory
        in: query
        required: false
        description: If set to true, includes non-deduct business blocks and group reservations in the Sales Allowance Available Rooms and House Availability statistics.
        schema:
          type: boolean
      - name: limit
        in: query
        required: false
        description: Indicates maximum number of records a Web Service should return.
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Index or initial index of the set(page) being requested. If the index goes out of the bounds of the total set count then no data will be returned.
        schema:
          type: integer
          default: 0
      - name: endDateRange
        in: query
        required: false
        description: The ending value of the date range.
        schema:
          type: string
          format: date
      - name: startDateRange
        in: query
        required: false
        description: The starting value of the date range.
        schema:
          type: string
          format: date
      - name: blockStatusCodes
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: originCodes
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: roomOwnerCodes
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: blockOwners
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          maxItems: 4000
      - name: availabilitySummaryBy
        in: query
        description: 'Summarize the availability based on selected criteria. If not selected, by default AvailableRooms are displayed. '
        required: false
        schema:
          type: string
          enum:
          - AvailableRooms
          - AvailableRoomsExclSellLimits
      - name: summarySortByCode
        in: query
        required: false
        description: Supported block inventory statistical sorting.
        schema:
          type: string
          enum:
          - Status
          - StatusDescending
          - ArrivalDate
          - BlockAccount
          - Revenue
          - RoomsOwner
          uniqueItems: true
      - name: detailSortByCode
        in: query
        required: false
        description: Supported block inventory statistical sorting.
        schema:
          type: string
          enum:
          - Status
          - StatusDescending
          - ArrivalDate
          - BlockAccount
          - Revenue
          - RoomsOwner
          uniqueItems: true
      - name: friday
        in: query
        required: false
        schema:
          type: boolean
      - name: monday
        in: query
        required: false
        schema:
          type: boolean
      - name: saturday
        in: query
        required: false
        schema:
          type: boolean
      - name: sunday
        in: query
        required: false
        schema:
          type: boolean
      - name: thursday
        in: query
        required: false
        schema:
          type: boolean
      - name: tuesday
        in: query
        required: false
        schema:
          type: boolean
      - name: wednesday
        in: query
        required: false
        schema:
          type: boolean
      - name: fetchInstructions
        in: query
        description: Type for block inventory statistics instructions that can be used in requests for partial operations.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            enum:
            - StatusSummary
            - BookingSummary
            - ForecastSummary
            - DetailSummary
            - RoomSummary
          uniqueItems: true
      - name: roomSummaryBy
        in: query
        description: 'Summarize the rooms based on selected criteria. If not selected, by default AvailableRooms are displayed. Applicable only when RoomSummary is a fetchInstruction. '
        required: false
        schema:
          type: string
          enum:
          - AvailableRooms
          - AvailableRoomsWithNonDeduct
          - AvailableRoomsExclSellLimits
          - AvailableRoomsWithNonDeductExclSellLimits
      - $ref: '#/components/parameters/authKey'
      - $ref: '#/components/parameters/externalData'
      - $ref: '#/components/parameters/x-app-key'
      - $ref: '#/components/parameters/x-request-id'
      - $ref: '#/components/parameters/x-originating-application'
      - $ref: '#/components/parameters/x-hotelid'
      - $ref: '#/components/parameters/x-externalsystem'
      - $ref: '#/components/parameters/Accept-Language'
      responses:
        '200':
          headers:
            Content-Language:
              description: Audience language
              x-example: en-GB
              schema:
                type: string
                pattern: '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'
          description: Response object for information regarding Block Inventory Statistics.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/blockInventoryStatistic'
        '204':
          description: BlockInventoryStatistics not found.
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '406':
          $ref: '#/components/responses/406'
        '413':
          $ref: '#/components/responses/413'
        '414':
          $ref: '#/components/responses/414'
        '415':
          $ref: '#/components/responses/415'
        '500':
          $ref: '#/components/responses/500'
        '502':
          $ref: '#/components/responses/502'
        '503':
          $ref: '#/components/responses/503'
      tags:
      - INVStats
  /hotels/{hotelId}/inventoryStatistics:
    get:
      summary: Get a hotels Inventory Statistics
      description: This will fetch a hotel's inventory statistics for a specified date range that you provided in the request.<p> <Strong>Note:</strong> This operation does not contain or return revenue data.</p> <p><strong>OperationId:</strong> getInventoryStatistics</p> <p>This API allows a time span of <strong>62</strong> days.</p>
      operationId: getInventoryStatistics
      parameters:
      - name: hotelId
        in: path
        required: true
        description: Unique ID of the hotel where inventory statistics are searched.
        schema:
          type: string
          maxLength: 2000
          minLength: 1
      - name: dateRangeEnd
        in: query
        required: true
        description: The ending value of the date range.
        schema:
          type: string
          format: date
      - name: reportCode
        in: query
        required: true
        description: Identifies the type of statistics collected. Each ReportCode corresponds to a set of category summaries based upon a predetermined agreement.
        schema:
          type: string
          enum:
          - DetailedAvailabiltySummary
          - RoomCalendarStatistics
          - SellLimitSummary
          - RoomsAvailabilitySummary
      - name: dateRangeStart
        in: query
        required: true
        description: The starting value of the date range.
        schema:
          type: string
          format: date
      - name: parameterName
        in: query
        description: Name of the parameter.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            enum:
            - HouseScheduledRoomMovesYN
            - RoomScheduledRoomMoveInsYN
            - RoomScheduledRoomMoveOutsYN
            - CancelledYN
            - Channel
            - DeductRoomsYN
            - ExcludeRoomTypeCalculationYN
            - GroupBy
            - HouseArrPersonsYN
            - HouseArrRoomsYN
            - HouseExpectedArrRoomsYN
            - HouseAvailPercYN
            - HouseAvailRoomsExcludingOverbookingYN
            - HouseAvailRoomsYN
            - HouseAvailTenPercYN
            - HouseBlkDeductNpuYN
            - HouseBlkDeductPuYN
            - HouseBlkTentNpuYN
            - HouseBlkTentPuYN
            - HouseCompRoomsYN
            - HouseDayUsePersonYN
            - HouseDayUseRoomYN
            - HouseDepPersonsYN
            - HouseDepRoomsYN
            - HouseInventoryRoomsYN
            - HouseMaxAvailabilityExcludingOverbookingYN
            - HouseMaxAvailabilityYN
            - HouseMaxOccupancyYN
            - HouseMinAvailabilityExcludingOverbookingYN
            - HouseMinAvailabilityYN
            - HouseOccPercYN
            - HouseOccTenPercYN
            - HouseOccupancyYN
            - HouseOOOYN
            - HouseOOSRoomsYN
            - HouseOverBookingYN
            - HousePeopleInHouseYN
            - HousePhysicalRoomsYN
            - HouseRoomsSoldYN
            - HouseHouseUseRoomsYN
            - HouseSellLimitYN
            - HouseTentRoomsExcludingOverbookingYN
            - HouseTentRoomsSoldYN
            - HouseTentRoomsYN
            - HouseWaitlistRoomsYN
            - HouseAverageDailyRateYN
            - HouseRevPARYN
            - NonOwnerExclusiveYN
            - OutOfOrderRoomsYN
            - OwnerExclusiveYN
            - RestrictionsYN
            - RoomArrPersonsYN
            - RoomArrRoomsYN
            - RoomExpectedArrRoomsYN
            - RoomAvailRoomsExcludingOverbookingYN
            - RoomAvailRoomsYN
            - RoomBlkDeductNpuYN
            - RoomBlkDeductPuYN
            - RoomBlkTentNpuYN
            - RoomBlkTentPuYN
            - RoomCancelledYN
            - RoomClassList
            - RoomCompRoomsYN
            - RoomDayUsePersonYN
            - RoomDayUseRoomYN
            - RoomDepPersonsYN
            - RoomDepRoomsYN
            - RoomHouseUseRoomsYN
            - RoomInventoryRoomsYN
            - RoomMaxAvailabilityExcludingOverbookingYN
            - RoomMaxAvailabilityYN
            - RoomMaxOccupancyYN
            - RoomMinAvailabilityExcludingOverbookingYN
            - RoomMinAvailabilityYN
            - RoomOccupancyYN
            - RoomOOOYN
            - RoomOOSRoomsYN
            - RoomOverBookingYN
            - RoomPeopleInHouseYN
            - RoomPhysicalRoomsYN
            - RoomRestrictionsYN
            - RoomRoomsSoldYN
            - RoomSellLimitYN
            - RoomTentRoomsExcludingOverbookingYN
            - RoomTentRoomsYN
            - RoomTentYN
            - RoomTypeWildCardList
            - RoomWaitlistRoomsYN
            - HouseAdultsInHouseYN
            - HouseChildrenInHouseYN
            - HouseChildren1InHouseYN
            - HouseChildren2InHouseYN
            - HouseChildren3InHouseYN
            - HouseArrAdultsYN
            - HouseArrChildrenYN
            - HouseArr1ChildrenYN
            - HouseArr2ChildrenYN
            - HouseArr3ChildrenYN
            - RoomAdultsInHouseYN
            - RoomChildrenInHouseYN
            - RoomChildren1InHouseYN
            - RoomChildren2InHouseYN
            - RoomChildren3InHouseYN
            - RoomArrAdultsYN
            - RoomArrChildrenYN
            - RoomArr1ChildrenYN
            - RoomArr2ChildrenYN
            - RoomArr3ChildrenYN
            - CalendarEventsYN
            - RoomAverageDailyRateYN
            - RoomRevPARYN
      - name: parameterValue
        in: query
        description: Value of the parameter.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - $ref: '#/components/parameters/authKey'
      - $ref: '#/components/parameters/externalData'
      - $ref: '#/components/parameters/x-app-key'
      - $ref: '#/components/parameters/x-request-id'
      - $ref: '#/components/parameters/x-originating-application'
      - $ref: '#/components/parameters/x-hotelid'
      - $ref: '#/components/parameters/x-externalsystem'
      - $ref: '#/components/parameters/Accept-Language'
      responses:
        '200':
          headers:
            Content-Language:
              description: Audience language
              x-example: en-GB
              schema:
                type: string
                pattern: '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'
          description: Object that holds the details of inventory Statistics.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/inventoryStatistics'
        '204':
          description: InventoryStatistics not found.
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '406':
          $ref: '#/components/responses/406'
        '413':
          $ref: '#/components/responses/413'
        '414':
          $ref: '#/components/responses/414'
        '415':
          $ref: '#/components/responses/415'
        '500':
          $ref: '#/components/responses/500'
        '502':
          $ref: '#/components/responses/502'
        '503':
          $ref: '#/components/responses/503'
      tags:
      - INVStats
  /services/invStatsService/status:
    get:
      summary: Ping
      description: Check inventory statistics service <p><strong>OperationId:</strong>pinginvStatsService</p>
      operationId: pinginvStatsService
      parameters:
      - $ref: '#/components/parameters/authKey'
      - $ref: '#/components/parameters/externalData'
      - $ref: '#/components/parameters/x-app-key'
      - $ref: '#/components/parameters/x-request-id'
      - $ref: '#/components/parameters/x-originating-application'
      - $ref: '#/components/parameters/x-hotelid'
      - $ref: '#/components/parameters/x-externalsystem'
      - $ref: '#/components/parameters/Accept-Language'
      responses:
        '200':
          headers:
            Content-Language:
              description: Audience language
              x-example: en-GB
              schema:
                type: string
                pattern: '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'
          description: Response for Ping operation.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/pingDetail'
        '204':
          description: pinginvStatsService not found.
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '406':
          $ref: '#/components/responses/406'
        '413':
          $ref: '#/components/responses/413'
        '414':
          $ref: '#/components/responses/414'
        '415':
          $ref: '#/components/responses/415'
        '500':
          $ref: '#/components/responses/500'
        '502':
          $ref: '#/components/responses/502'
        '503':
          $ref: '#/components/responses/503'
      tags:
      - INVStats
components:
  schemas:
    codeDescriptionType:
      type: object
      description: This contains a generic code and description information.
      properties:
        code:
          description: Code.
          type: string
          minLength: 0
          maxLength: 20
        description:
          description: description.
          type: string
          minLength: 0
          maxLength: 2000
    statusSummaryStatisticType:
      type: array
      description: Statistic summary for a particular status.
      maxItems: 4000
      items:
        $ref: '#/components/schemas/statusStatisticType'
    rateProtectionType:
      type: string
      description: Simple type for specifying the block protection type.
      enum:
      - All
      - Selected
      - None
    usedInModuleType:
      type: string
      description: Simple type for indicating the module for which user wants to create the SellMessage. Valid module types are Look To Book Sales,Reservations,Blocks,Function Diary and Group Rooms Control.
      enum:
      - Blocks
      - Reservations
      - FunctionDiary
      - LookToBookSales
      - GroupRoomsControl
    statisticUnitsType:
      type: array
      description: Unit type to hold statistic code and value pair.
      maxItems: 4000
      items:
        $ref: '#/components/schemas/statisticUnitType'
    statisticCodeType:
      type: object
      description: Defines the codes and corresponding categories for which the data in the other elements has been gathered.
      properties:
        statisticDate:
          description: Collection of statistic summary data.
          type: array
          maxItems: 4000
          items:
            $ref: '#/components/schemas/statisticSetType'
        statCode:
          description: Actual code used by the system to collect the statistics (e.g. CORP, RACK if category is Market Segment).
          type: string
          minLength: 0
          maxLength: 20
        statCategoryCode:
          description: Category Code category of StatCode attribute (e.g. Market Segment).
          type: string
          minLength: 0
          maxLength: 40
        statCodeClass:
          description: Class grouping of StatCode attribute.
          type: string
          minLength: 0
          maxLength: 40
        description:
          description: Statistic code description.
          type: string
          minLength: 0
          maxLength: 2000
    blockDetailStatisticType:
      type: object
      description: Information and statistic summary for a particular block.
      properties:
        blockInformation:
          description: Contains information like Block Name, Account Name, Average Room Rate of the block.
          $ref: '#/components/schemas/blockInfoType'
        blockStatistics:
          description: Statistic summary for the block.
          $ref: '#/components/schemas/blockStatusStatisticsType'
    blockNonCompeteType:
      type: object
      description: Block Non Compete code information.
      properties:
        industry:
          description: Specifies the Non-Compete Industry.>
          type: string
          minLength: 0
          maxLength: 20
        industryDescription:
          description: Specifies the Non-Compete Industry description.>
          type: string
          minLength: 0
          maxLength: 2000
        criteria:
          description: Indicates the type of Non-Compete. 'All' means all dates are Non-Compete. 'None' specifies Non-Compete is disabled. 'Selected' specifies few dates are Non-Compete.
          $ref: '#/components/schemas/rateProtectionType'
        protectedDates:
          description: Specifies all the Non-Compete dates in the selected date range.
          $ref: '#/components/schemas/datesType'
    instanceLink:
      type: object
      description: Metadata describing link description objects that MAY appear in the JSON instance representation.
      properties:
        href:
          description: URI [RFC3986] or URI Template [RFC6570]. If the value is set to URI Template, then the "templated" property must be set to true.
          type: string
        rel:
          description: Name of the link relation that, in addition to the type property, can be used to retrieve link details. For example, href or profile.
          type: string
        templated:
          description: Boolean flag that specifies that "href" property is a URI or URI Template. If the property is a URI template, set this value to true. By default, this value is false.
          type: boolean
          default: false
        method:
          description: HTTP method for requesting the target of the link.
          type: string
          enum:
          - GET
          - POST
          - PUT
          - DELETE
          - PATCH
          - OPTIONS
          - HEAD
        targetSchema:
          description: Link to the metadata of the resource, such as JSON-schema, that describes the resource expected when dereferencing the target resource..
          type: string
        operationId:
          description: The operationId of the path you can call to follow this link.  This allows you to look up not only the path and method, but the description of that path and any parameters you need to supply.
          type: string
        title:
 

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/oracle-hospitality/refs/heads/main/openapi/oracle-hospitality-invstats-api-openapi.yml