Oracle Hospitality Block Config API

The Block Configuration module offers capability of creating, managing, and retrieving of Block configuration.

Operations 32

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /blockStatusCodes List block status codes · Get block status codes #
Ask an LLM
“What block status codes are configured for our chain?”
“Which block statuses are deduct versus non-deduct?”
Tell an agent
List the configured block status codes.
Show details for block status codes {blockStatusCodes}.
POST /blockStatusCodes Create a block status code · Create a block status code #
Ask an LLM
“How do I add a new block status such as Tentative Hold?”
“Can I define a brand-new status code for group blocks?”
Tell an agent
Create block status code {blockStatusCode}.
Add a new non-deduct block status called {blockStatusCode}.
GET /blockStatusCodes/nextStatusCodes Get allowed next statuses for a block status · Get next block status codes #
Ask an LLM
“Which statuses can a block move to from its current status?”
“What is the configured status progression for blocks at a property?”
Tell an agent
Show the allowed next statuses after {blockStatusCodes}.
List only the configured next-status transitions for block statuses.
DELETE /blockStatusCodes/{blockStatusCode} Delete a block status code · Delete block status code #
Ask an LLM
“How do I remove a block status we no longer use?”
“Can I delete a configured block status code?”
Tell an agent destructive · confirm first
Delete block status code {blockStatusCode}.
Remove the unused block status {blockStatusCode} from configuration.
PUT /blockStatusCodes/{blockStatusCode} Change a block status code · Change block status code #
Ask an LLM
“How do I edit the description or type of an existing block status?”
“Can I rename a block status code that's already configured?”
Tell an agent
Update block status code {code}.
Change the settings of existing block status {code} to {blockStatusCode}.
PUT /blockStatusCodes/{srcBlockStatusCode}/nextStatusCodes Set the next statuses for a block status · Change next block status codes #
Ask an LLM
“How do I control which statuses a block can move to next?”
“Can I change the allowed transitions from a given block status?”
Tell an agent
Set the next statuses after {srcBlockStatusCode} to {nextBlockStatusCodeList}.
Update the status transitions allowed from {srcBlockStatusCode}.
PUT /hotels/{hotelId}/blockCutoffScheduleRange Set a cutoff schedule over a date range · Set block cutoff schedule range #
Ask an LLM
“Can I apply cutoff days to blocks across a whole date range?”
“How do I set default cutoff days per room type for a period?”
Tell an agent
Set the block cutoff schedule range at hotel {hotelId} using {criteria}.
Apply cutoff days over a stay date range at hotel {hotelId}.
GET /hotels/{hotelId}/blockSalesAllowance Get block sales allowance · Get Block Sales Allowance #
Ask an LLM
“How many rooms are we allowed to sell to groups on each night?”
“What's the block sales allowance by room type for the next 90 days?”
Tell an agent
Show block sales allowance at hotel {hotelId} from {startDateRange} to {endDateRange}.
Get sales allowance for room types {roomTypesCodes} at hotel {hotelId}.
GET /hotels/{hotelId}/blockSalesAllowance/activityLog Review the block sales allowance activity log · Get the Block Sales Allowance activity log #
Ask an LLM
“Who changed the block sales allowance and when?”
“Can I see the history of sales allowance changes for a date?”
Tell an agent
Show the sales allowance activity log for hotel {hotelId}.
List sales allowance changes made by user {userId} at hotel {hotelId}.
DELETE /hotels/{hotelId}/blockSalesAllowanceRange Delete block sales allowance for a date range · Delete block sales allowance range #
Ask an LLM
“How do I clear the sales allowance for a range of dates?”
“Can I remove the allowance only on weekends within a date range?”
Tell an agent destructive · confirm first
Delete block sales allowance at hotel {hotelId} from {startDate} to {endDate}.
Clear Saturday sales allowances at hotel {hotelId} between {startDate} and {endDate}.
PUT /hotels/{hotelId}/blockSalesAllowanceRange Set block sales allowance for a date range · Set block sales allowance range #
Ask an LLM
“How do I cap group room sales across a range of dates?”
“Can I set the sales allowance for many nights in one request?”
Tell an agent
Set block sales allowance at hotel {hotelId} using {criteria}.
Raise the group sales allowance for next month at hotel {hotelId}.
GET /hotels/{hotelId}/cutoffSchedules List block cutoff schedule codes · Get block cutoff schedule codes #
Ask an LLM
“What cutoff schedule codes are configured at a property?”
“Which cutoff schedules start after a certain date?”
Tell an agent
List cutoff schedule codes at hotel {hotelId}.
Show cutoff schedules {cutoffCodes} at hotel {hotelId}.
POST /hotels/{hotelId}/cutoffSchedules Create a block cutoff schedule code · Create a block cutoff schedule code #
Ask an LLM
“How do I create a new cutoff schedule for group blocks?”
“Can I define a cutoff code with default cutoff days per room type?”
Tell an agent
Create cutoff schedule code {cutoffCodes} at hotel {hotelId}.
Add a new 21-day cutoff schedule at hotel {hotelId}.
GET /hotels/{hotelId}/cutoffSchedules/{cutoffCodeId} Get the details of a cutoff schedule · Get cutoff Schedules Details for a cutoff schedule code #
Ask an LLM
“What cutoff days apply per stay date and room type under a cutoff code?”
“Can I see the day-by-day detail of one cutoff schedule?”
Tell an agent
Show the details of cutoff schedule {cutoffCodeId} at hotel {hotelId}.
List stay dates and cutoff days under code {cutoffCodeId}.
PUT /hotels/{hotelId}/cutoffSchedules/{cutoffCodeId} Change a block cutoff schedule code · Change block cutoff schedule code #
Ask an LLM
“How do I edit an existing cutoff schedule code?”
“Can I change the cutoff days on a schedule already in use?”
Tell an agent
Update cutoff schedule {cutoffCodeId} at hotel {hotelId} with {cutoffCodes}.
Change the cutoff days on schedule {cutoffCodeId}.
DELETE /hotels/{hotelId}/cutoffSchedules/{cutoffCodeId} Delete a cutoff schedule code · Delete cutoff schedule code #
Ask an LLM
“How do I remove a cutoff schedule we no longer apply to blocks?”
“Can I delete a cutoff schedule code at a property?”
Tell an agent destructive · confirm first
Delete cutoff schedule {cutoffCodeId} at hotel {hotelId}.
Remove cutoff code {cutoffCodeId} from configuration.
GET /hotels/{hotelId}/salesManagers List a hotel's sales managers · Get Sales Managers by Hotel #
Ask an LLM
“Who are the sales managers assigned to a property?”
“Can I look up one hotel's sales manager by last name?”
Tell an agent
List the sales managers at hotel {hotelId}.
Find sales managers named {lastName} at hotel {hotelId}.
POST /hotels/{hotelId}/salesManagers/searches Search a hotel's sales managers with a body · Get Sales Managers by Hotel #
Ask an LLM
“Can I send a search request body to find a property's sales managers by owner code?”
“Is there a POST search for one hotel's sales managers?”
Tell an agent
Run a POST search for sales managers with owner codes {ownerCodes} at hotel {hotelId}.
Search hotel {hotelId}'s sales managers by first name {firstName} via the searches endpoint.
GET /hotels/{hotelId}/salesManagers/{salesManagerId}/salesManagerGoals Get a sales manager's goals at a hotel · Get Sales Manager Goals by Hotel #
Ask an LLM
“What revenue and room night goals does a sales manager have at a property?”
“Can I see only a sales manager's future goals for one hotel?”
Tell an agent
Show goals for sales manager {salesManagerId} at hotel {hotelId}.
List future goals of sales manager {salesManagerId} at hotel {hotelId}.
POST /hotels/{hotelId}/salesManagers/{salesManagerId}/salesManagerGoals Create goals for a sales manager · Create Sales Manager Goals #
Ask an LLM
“How do I set new sales goals for a sales manager?”
“Can I add quarterly targets to a sales manager's record?”
Tell an agent
Create goals {salesManagerGoals} for sales manager {salesManagerId} at hotel {hotelId}.
Add new sales targets for manager {salesManagerId}.
PUT /hotels/{hotelId}/salesManagers/{salesManagerId}/salesManagerGoals/{salesGoalId} Update a sales manager's goal · Update Sales Manager Goal in a hotel by ID #
Ask an LLM
“How do I revise an existing goal for a sales manager?”
“Can I change one specific sales goal by its goal ID?”
Tell an agent
Update goal {salesGoalId} for sales manager {salesManagerId} at hotel {hotelId}.
Change goal {salesGoalId} of manager {salesManagerId} to {salesManagerGoals}.
POST /hotels/{hotelId}/washSchedules Create a block wash schedule · Create block wash schedule #
Ask an LLM
“How do I set up a wash schedule that releases unsold group rooms over time?”
“Can I create a new wash schedule code for blocks?”
Tell an agent
Create wash schedule {washCodes} at hotel {hotelId}.
Add a new block wash schedule at hotel {hotelId}.
DELETE /hotels/{hotelId}/washSchedules/{washScheduleCode} Delete a block wash schedule · Delete block wash schedule #
Ask an LLM
“How do I remove a wash schedule we no longer use?”
“Can I delete a block wash schedule code?”
Tell an agent destructive · confirm first
Delete wash schedule {washScheduleCode} at hotel {hotelId}.
Remove wash code {washScheduleCode}.
PUT /hotels/{hotelId}/washSchedules/{washScheduleCode} Change an existing block wash schedule · Change block wash schedule #
Ask an LLM
“How do I edit the wash percentages on an existing wash schedule?”
“Can I change a wash schedule that is already configured?”
Tell an agent
Update wash schedule {washScheduleCode} at hotel {hotelId}.
Change existing wash schedule {washScheduleCode} to {washCodes}.
GET /salesManagers List sales managers across hotels · Get Sales Managers #
Ask an LLM
“Who are the sales managers across several of our properties?”
“Can I list sales managers for multiple hotels at once?”
Tell an agent
List sales managers at hotels {hotelIds}.
Find sales managers with owner codes {ownerCodes} across hotels {hotelIds}.
POST /salesManagers/searches Search sales managers across hotels with a body · Get Sales Managers #
Ask an LLM
“Is there a POST search that finds sales managers across many hotels?”
“Can I send a multi-property sales manager search in the request body?”
Tell an agent
Run a multi-hotel POST search for sales managers at {hotelIds}.
Search sales managers named {lastName} across hotels {hotelIds} via the searches endpoint.
DELETE /salesManagers/{salesManagerId}/salesManagerGoals Delete several sales manager goals · Delete Sale Manager Goals #
Ask an LLM
“How do I delete several goals from a sales manager at once?”
“Can I clear a list of goals off a sales manager?”
Tell an agent destructive · confirm first
Delete goals {salesGoalId} for sales manager {salesManagerId}.
Remove the listed goals from manager {salesManagerId}.
GET /salesManagers/{salesManagerId}/salesManagerGoals Get a sales manager's goals across hotels · Get Sales Manager Goals #
Ask an LLM
“What goals does a sales manager have across all the hotels they cover?”
“Can I see a sales manager's goals for several properties together?”
Tell an agent
Show goals for sales manager {salesManagerId} across all their hotels.
List goals of sales manager {salesManagerId} for hotels {hotelIds}.
DELETE /salesManagers/{salesManagerId}/salesManagerGoals/{salesGoalId} Delete one sales manager goal · Delete Sale Manager Goal #
Ask an LLM
“How do I delete a single goal by its goal ID?”
“Can I remove just one target from a sales manager?”
Tell an agent destructive · confirm first
Delete goal {salesGoalId} of sales manager {salesManagerId}.
Remove only goal {salesGoalId} from manager {salesManagerId}.
GET /services/block/status Check the block configuration service status · ping #
Ask an LLM
“Is the block configuration service up?”
“How can I health-check the block config service?”
Tell an agent
Ping the block configuration service for hotel {hotel}.
Check whether block config is responding.
PUT /upsert/hotels/{hotelId}/washSchedules/{washScheduleCode} Create or update a wash schedule · Create/Change block wash schedule #
Ask an LLM
“Can I save a wash schedule whether or not it already exists?”
“Is there an upsert for block wash schedules?”
Tell an agent
Upsert wash schedule {washScheduleCode} at hotel {hotelId}.
Create or replace wash schedule {washScheduleCode} with {washCodes}.
GET /washSchedules List block wash schedules · Get block wash schedule #
Ask an LLM
“What wash schedules are configured across our hotels?”
“Can I search wash schedules with a wildcard?”
Tell an agent
List wash schedules for hotels {hotelIds}.
Show wash schedules matching {wildCard}.

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:oracle-hospitality-blockconfig-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

Get an API key

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

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

OpenAPI Specification

oracle-hospitality-blockconfig-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OPERA Cloud Block Configuration Block Config API
  description: APIs for Block configuration, such as creating, updating, fetching and removing codes related to blocks.
  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: /blk/config/v1
tags:


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