Moody's RMS Policy V1 API

The PolicyV1 API from Moody's RMS — 15 operation(s) for policyv1.

Operations 26

GET /v1/policies Get policies #
POST /v1/policies Create policy #
POST /v1/policies/copy Copy policy #
GET /v1/policies/{id} Get policy #
PUT /v1/policies/{id} Update policy #
DELETE /v1/policies/{id} Delete policy #
POST /v1/policies/{id}/cession Create reinsurance cession #
GET /v1/policies/{id}/cession/{cessionid} Get reinsurance cession #
PUT /v1/policies/{id}/cession/{cessionid} Update reinsurance cession #
DELETE /v1/policies/{id}/cession/{cessionid} Delete reinsurance cession #
POST /v1/policies/{id}/coverage Create policy coverage #
GET /v1/policies/{id}/coverage/{coverageid} Get policy coverage #
PUT /v1/policies/{id}/coverage/{coverageid} Update policy coverage #
DELETE /v1/policies/{id}/coverage/{coverageid} Delete policy coverage #
POST /v1/policies/{id}/policycondition Create policy condition #
GET /v1/policies/{id}/policycondition/{conditionid} Get policy condition #
PUT /v1/policies/{id}/policycondition/{conditionid} Update policy condition #
DELETE /v1/policies/{id}/policycondition/{conditionid} Delete policy condition #
POST /v1/policies/{id}/policycondition/{conditionid}/backfill Back fill policy condition #
POST /v1/policies/{id}/policycondition/{conditionid}/criteria Create policy condition criteria #
GET /v1/policies/{id}/policycondition/{conditionid}/criteria/{criteriaid} Get policy condition criteria #
PUT /v1/policies/{id}/policycondition/{conditionid}/criteria/{criteriaid} Update policy condition criteria #
DELETE /v1/policies/{id}/policycondition/{conditionid}/criteria/{criteriaid} Delete policy condition criteria #
GET /v1/policies/{id}/policycondition/{conditionid}/locationconditions Get location conditions #
GET /v1/conditions/{id} Get policy condition #
GET /v1/policies/{id}/surplustreaties Get surplus treaties #

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/moodys-rms-policyv1-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

moodys-rms-policyv1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Risk Modeler Policy V1 API
  description: This documentation provides information on the Risk Modeler 2.0 public API.
  version: March, 2023
servers:
- url: https://{host}/riskmodeler
  description: Risk Intelligence Analytics Platform
  variables:
    host:
      enum:
      - api-euw1.rms.com
      - api-use1.rms.com
      default: api-euw1.rms.com
      description: 'Data center that hosts the tenant instance: api-euw1.rms.com or api-use1.rms.com.'
security:
- RMS_Auth: []
tags:
- name: PolicyV1
paths:
  /v1/policies:
    get:
      operationId: searchPolicies
      summary: Get policies
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      - name: q
        in: query
        description: 'Filters query results by evaluating the value of expressions. Supports four types of operators:

          * Comparison: `q=[attribute][comparison operator][value]` e.g. `id=100`, `id!=100`, `id>100`

          * Logical: `q=[expression][logical operator][expression]` e.g. `id=100 AND name="xyz"` , `id=100 OR type="abc"`

          * List: `q=[attribute][list operator][values list]` e.g. `id IN (1,2,3]`, `name NOT IN ("abc","xyz")`

          * Matching: `q=[attribute][comparison operator][pattern]`, e.g. `name LIKE "abc "` , `type NOT LIKE " xyz* "`

          To learn more, see [Query Exposure Data](https://developer.rms.com/rms-developers/docs/query-exposure-data).'
        schema:
          type: string
      - name: sort
        in: query
        description: Specify comma-delimited field names followed by `ASC` (to display the results in alphabetical or numerical ascending order) or `DESC` (to display the results in descending order.)
        schema:
          type: string
      - name: limit
        in: query
        description: Number of records displayed per page.
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: 'Number of pages offset before the first page of returned records. By default, _0_.

          '
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: List of policies is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicySearchResult'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    post:
      operationId: createPolicy
      summary: Create policy
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Policy'
        required: true
      responses:
        '201':
          description: Policy is successfully created.
          headers:
            Location:
              description: Location of the new policy
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/copy:
    post:
      operationId: copyPolicy
      summary: Copy policy
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CopyPolicyInfo'
        required: true
      responses:
        '200':
          description: Existing policy is successfully copied.
          headers:
            Location:
              description: Policy id of the copy policy
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}:
    get:
      operationId: getPolicy
      summary: Get policy
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Information on a specified policy is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Policy'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    put:
      operationId: updatePolicy
      summary: Update policy
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Policy'
        required: true
      responses:
        '204':
          description: Policy successfully updated
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    delete:
      operationId: deletePolicy
      summary: Delete policy
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Policy successfully deleted
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/cession:
    post:
      operationId: createPolicyReinsuranceCession
      summary: Create reinsurance cession
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReinsuranceCession'
        required: true
      responses:
        '201':
          description: Reinsurance cession for a specified policy is successfully created.
          headers:
            Location:
              description: Location of the new policy reinsurance cession
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/cession/{cessionid}:
    get:
      operationId: getPolicyReinsuranceCession
      summary: Get reinsurance cession
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: cessionid
        in: path
        description: ID number of the Cession.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Reinsurance cession retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReinsuranceCession'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    put:
      operationId: updatePolicyReinsuranceCession
      summary: Update reinsurance cession
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: cessionid
        in: path
        description: ID number of the Cession.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReinsuranceCession'
        required: true
      responses:
        '204':
          description: Reinsurance cession successfully updated
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    delete:
      operationId: deletePolicyReinsuranceCession
      summary: Delete reinsurance cession
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: cessionid
        in: path
        description: ID number of the Cession.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Reinsurance cession successfully deleted
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/coverage:
    post:
      operationId: createPolicyCoverage
      summary: Create policy coverage
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyCoverage'
        required: true
      responses:
        '201':
          description: Policy coverage successfully created.
          headers:
            Location:
              description: Location of the new policy coverage
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/coverage/{coverageid}:
    get:
      operationId: getPolicyCoverage
      summary: Get policy coverage
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: coverageid
        in: path
        description: ID number of the Policy Coverage.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Information on a specified poliy coverage is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyCoverage'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    put:
      operationId: updatePolicyCoverage
      summary: Update policy coverage
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: coverageid
        in: path
        description: ID number of the Policy Coverage.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyCoverage'
        required: true
      responses:
        '204':
          description: Policy coverage successfully updated.
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    delete:
      operationId: deletePolicyCoverage
      summary: Delete policy coverage
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: coverageid
        in: path
        description: ID number of the Policy Coverage.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Policy coverage successfully deleted
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/policycondition:
    post:
      operationId: createPolicyCondition
      summary: Create policy condition
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyCondition'
        required: true
      responses:
        '201':
          description: Condition for a specified policy is successfully created.
          headers:
            Location:
              description: location of the new policy condition
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/policycondition/{conditionid}:
    get:
      operationId: getPolicyCondition
      summary: Get policy condition
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Information for a condition specified by its ID for a policy specified by its ID is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyCondition'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    put:
      operationId: updatePolicyCondition
      summary: Update policy condition
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyCondition'
        required: true
      responses:
        '204':
          description: Policy condition successfully updated
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    delete:
      operationId: deletePolicyCondition
      summary: Delete policy condition
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Policy condition successfully deleted
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/policycondition/{conditionid}/backfill:
    post:
      operationId: backFillPolicyCondition
      summary: Back fill policy condition
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '202':
          description: 'Accepted: A job with the specified ID has been added to the workflow engine queue for processing. Send periodic HTTP GET requests to the URI for the job status. See [Workflow Engine Jobs](https://developer.rms.com/rms-developers/docs/workflow-engine).'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/policycondition/{conditionid}/criteria:
    post:
      operationId: createPolicyConditionCriteria
      summary: Create policy condition criteria
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyConditionCriteria'
        required: true
      responses:
        '201':
          description: Policy condition successfully created
          headers:
            Location:
              description: Location of the new policy condition criteria
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
  /v1/policies/{id}/policycondition/{conditionid}/criteria/{criteriaid}:
    get:
      operationId: getPolicyConditionCriteria
      summary: Get policy condition criteria
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: criteriaid
        in: path
        description: ID number of the Policy Condition Criteria.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Information for the specified policy condition criteria is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyConditionCriteria'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - PolicyV1
    put:
      operationId: updatePolicyConditionCriteria
      summary: Update policy condition criteria
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the policy.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: conditionid
        in: path
        description: ID number of the Policy Condition.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: criteriaid
        in: path
        description: ID number of the Policy Condition Criteria.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolicyConditionCriteria'
        required: true
      res

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moodys-rms/refs/heads/main/openapi/moodys-rms-policyv1-api-openapi.yml