Mews · Schema

Routing rule update parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
RoutingRuleId string Unique identifier of the routing rule.
CompanyId object Unique identifier of the Company (or null should it not be updated).
ServiceId object Unique identifier of the Service routing rule is assigned to (or null should it not be updated).
CompanyRelation object Company relation to the routing rule (or null should it not be updated).
Applicability object Applicability that determines if routing rule apply to all future reservations with this company or travel agency attached or only future reservations that are prepaid in online travel agency (OTA) (o
RouteType object What should be routed Route type (or null should it not be updated).
AssignmentTargetType object Relation of company to the bill Assignment target type (or null should it not be updated).
SelectedStayItems object To which stay items routing rule applies to. Required only if `RouteType` value is `SelectedStayItems`.
View JSON Schema on GitHub

JSON Schema

mews-routingruleupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RoutingRuleUpdateParameters",
  "title": "Routing rule update parameters",
  "required": [
    "RoutingRuleId"
  ],
  "type": "object",
  "properties": {
    "RoutingRuleId": {
      "type": "string",
      "description": "Unique identifier of the routing rule.",
      "format": "uuid"
    },
    "CompanyId": {
      "title": "Guid update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/GuidUpdateValue"
        }
      ],
      "description": "Unique identifier of the Company (or null should it not be updated).",
      "nullable": true
    },
    "ServiceId": {
      "title": "Guid update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/GuidUpdateValue"
        }
      ],
      "description": "Unique identifier of the Service routing rule is assigned to (or null should it not be updated).",
      "nullable": true
    },
    "CompanyRelation": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "anyOf": [
        {
          "$ref": "#/components/schemas/RoutingRuleCompanyRelation"
        }
      ],
      "description": "Company relation to the routing rule (or null should it not be updated).",
      "nullable": true
    },
    "Applicability": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "anyOf": [
        {
          "$ref": "#/components/schemas/RoutingRuleApplicability"
        }
      ],
      "description": "Applicability that determines if routing rule apply to all future reservations with this company or travel agency attached or only future reservations that are prepaid in online travel agency (OTA) (or null should it not be updated).",
      "nullable": true
    },
    "RouteType": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "anyOf": [
        {
          "$ref": "#/components/schemas/RoutingRuleRouteType"
        }
      ],
      "description": "What should be routed Route type (or null should it not be updated).",
      "nullable": true
    },
    "AssignmentTargetType": {
      "title": "String update value",
      "allOf": [
        {
          "$ref": "#/components/schemas/StringUpdateValue"
        }
      ],
      "anyOf": [
        {
          "$ref": "#/components/schemas/RoutingRuleAssignmentTargetType"
        }
      ],
      "description": "Relation of company to the bill Assignment target type (or null should it not be updated).",
      "nullable": true
    },
    "SelectedStayItems": {
      "title": "Selected stay items update parameters",
      "allOf": [
        {
          "$ref": "#/components/schemas/RoutingRuleStayItemsUpdateParameters"
        }
      ],
      "description": "To which stay items routing rule applies to. Required only if `RouteType` value is `SelectedStayItems`.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RoutingRuleUpdateParameters"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/mews-routingruleupdateparameters"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.