Moody's RMS Treaty V1 API

The TreatyV1 API from Moody's RMS — 11 operation(s) for treatyv1.

Operations 18

GET /v1/treaties Get treaties #
POST /v1/treaties Create treaty #
GET /v1/treaties/count Count treaties #
GET /v1/treaties/getbytype Get treaties by type #
GET /v1/treaties/{id} Get treaty #
PUT /v1/treaties/{id} Update treaty #
DELETE /v1/treaties/{id} Delete treaty #
POST /v1/treaties/{id}/convertcurrency Convert currency by treaty #
POST /v1/treaties/{id}/copy Copy treaty #
POST /v1/treaties/{id}/lob Create LOB by treaty #
GET /v1/treaties/{id}/lob/{lobid} Get LOB by treaty #
DELETE /v1/treaties/{id}/lob/{lobid} Delete treaty LOB #
POST /v1/treaties/lob/batch Manage treaty LOBs in batch #
GET /v1/treaties/{treatyId}/lossoccurrences Get loss occurrences by treaty #
POST /v1/treaties/{treatyId}/lossoccurrences Create loss occurrence #
GET /v1/treaties/{treatyId}/lossoccurrences/{lossOccurrenceId} Get loss occurrence by treaty #
PUT /v1/treaties/{treatyId}/lossoccurrences/{lossOccurrenceId} Update loss occurrence #
DELETE /v1/treaties/{treatyId}/lossoccurrences/{lossOccurrenceId} Delete loss occurrence #

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-treatyv1-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-treatyv1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Risk Modeler Treaty 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: TreatyV1
paths:
  /v1/treaties:
    get:
      operationId: getTreatiesByFilters
      summary: Get treaties
      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 returned per page.
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: Number of pages offset before the first page returned records. By default, _0_.
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: List of treaties retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreatySearchResult'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
    post:
      operationId: createTreaty
      summary: Create treaty
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Treaty'
        required: true
      responses:
        '201':
          description: Treaty created.
          headers:
            Location:
              description: Treaty
              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 is denied or not authorized to perform the "Edit Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/count:
    get:
      operationId: getExposureCountTreaty
      summary: Count treaties
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Treaty count successfully retrieved.
          content:
            application/json:
              schema:
                type: integer
                format: int64
        '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 is denied or not authorized to perform the "View Treaties" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - TreatyV1
  /v1/treaties/getbytype:
    get:
      operationId: getTreaties
      summary: Get treaties by type
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      - name: type
        in: query
        description: Type of treaty.
        required: true
        schema:
          type: string
      - name: exposuretype
        in: query
        description: Type of exposure. Specify 'POL' for policy abd 'LOC' for location.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of treaties retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Treaty'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/{id}:
    get:
      operationId: getTreaty
      summary: Get treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: Treaty Id.
        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: Treaty retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Treaty'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
    put:
      operationId: updateTreaty
      summary: Update treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the treaty.
        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/Treaty'
        required: true
      responses:
        '204':
          description: Treaty 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 is denied or not authorized to perform the "Edit Treaties" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - TreatyV1
    delete:
      operationId: deleteTreaty
      summary: Delete treaty
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Treaty Id.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      responses:
        '204':
          description: Treaty 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 is denied or not authorized to perform the "Edit Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/{id}/convertcurrency:
    post:
      operationId: convertCurrencyTreaty
      summary: Convert currency by treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the treaty.
        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:
          '*/*':
            schema:
              $ref: '#/components/schemas/Currency'
        required: true
      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).'
          headers:
            Location:
              description: workflowId
              style: simple
              schema:
                type: string
                format: URI
        '400':
          description: Bad Request. The input data is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource is denied or not authorized to perform the "Edit Treaties" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - TreatyV1
  /v1/treaties/{id}/copy:
    post:
      operationId: copyTreaty
      summary: Copy treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the treaty.
        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/CopyTreatyInfo'
        required: true
      responses:
        '201':
          description: Treaty copied.
          headers:
            Location:
              description: Treaty
              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 is denied or not authorized to perform the "Edit Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/{id}/lob:
    post:
      operationId: createTreatyLob
      summary: Create LOB by treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the location.
        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/LineOfBusiness'
        required: true
      responses:
        '201':
          description: Treaty line of business 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 is denied or not authorized to perform the "Edit Treaties" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - TreatyV1
  /v1/treaties/{id}/lob/{lobid}:
    get:
      operationId: getTreatyLob
      summary: Get LOB by treaty
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the treaty.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: lobid
        in: path
        description: ID number of the lob.
        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: Treaty line of business retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LineOfBusiness'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
    delete:
      operationId: deleteTreatyLob
      summary: Delete treaty LOB
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of the treaty.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: lobid
        in: path
        description: ID number of the lob.
        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: Treaty line of business 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 is denied or not authorized to perform the "Edit Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/lob/batch:
    post:
      operationId: batchProcessTreatyLobs
      summary: Manage treaty LOBs in batch
      description: ''
      parameters:
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/BatchRequest'
        required: true
      responses:
        '200':
          description: Treaty batch executed.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    metadata:
                      type: object
                      additionalProperties:
                        type: array
                        items:
                          type: object
                    status:
                      type: integer
                      format: int32
                    length:
                      type: integer
                      format: int32
                    location:
                      type: string
                      format: uri
                    language:
                      type: object
                      properties:
                        language:
                          type: string
                        script:
                          type: string
                        country:
                          type: string
                        variant:
                          type: string
                        extensionKeys:
                          type: array
                          items:
                            type: string
                          uniqueItems: true
                        unicodeLocaleAttributes:
                          type: array
                          items:
                            type: string
                          uniqueItems: true
                        unicodeLocaleKeys:
                          type: array
                          items:
                            type: string
                          uniqueItems: true
                        iso3Language:
                          type: string
                        iso3Country:
                          type: string
                        displayLanguage:
                          type: string
                        displayScript:
                          type: string
                        displayCountry:
                          type: string
                        displayVariant:
                          type: string
                        displayName:
                          type: string
                    statusInfo:
                      type: object
                      properties:
                        family:
                          type: string
                          enum:
                          - INFORMATIONAL
                          - SUCCESSFUL
                          - REDIRECTION
                          - CLIENT_ERROR
                          - SERVER_ERROR
                          - OTHER
                        statusCode:
                          type: integer
                          format: int32
                        reasonPhrase:
                          type: string
                    mediaType:
                      type: object
                      properties:
                        type:
                          type: string
                        subtype:
                          type: string
                        parameters:
                          additionalProperties:
                            type: string
                          type: object
                        wildcardType:
                          type: boolean
                        wildcardSubtype:
                          type: boolean
                    allowedMethods:
                      type: array
                      items:
                        type: string
                      uniqueItems: true
                    cookies:
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          name:
                            type: string
                          value:
                            type: string
                          version:
                            type: integer
                            format: int32
                          path:
                            type: string
                          domain:
                            type: string
                          comment:
                            type: string
                          maxAge:
                            type: integer
                            format: int32
                          expiry:
                            type: string
                            format: date-time
                          secure:
                            type: boolean
                          httpOnly:
                            type: boolean
                    entityTag:
                      type: object
                      properties:
                        value:
                          type: string
                        weak:
                          type: boolean
                    stringHeaders:
                      type: object
                      additionalProperties:
                        type: array
                        items:
                          type: string
                    lastModified:
                      type: string
                      format: date-time
                    date:
                      type: string
                      format: date-time
                    headers:
                      type: object
                      additionalProperties:
                        type: array
                        items:
                          type: object
                    entity:
                      type: object
                    links:
                      type: array
                      items:
                        type: object
                        properties:
                          type:
                            type: string
                          params:
                            type: object
                            additionalProperties:
                              type: string
                          uri:
                            type: string
                            format: uri
                          title:
                            type: string
                          uriBuilder:
                            type: object
                          rel:
                            type: string
                          rels:
                            type: array
                            items:
                              type: string
                      uniqueItems: true
        '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 is denied or not authorized to perform the "Edit Treaties" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - TreatyV1
  /v1/treaties/{treatyId}/lossoccurrences:
    get:
      operationId: getLossOccurrences
      summary: Get loss occurrences by treaty
      description: ''
      parameters:
      - name: treatyId
        in: path
        description: Treaty Id.
        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: List of treaty loss occurrences retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LossOccurrence'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
    post:
      operationId: createLossOccurrence
      summary: Create loss occurrence
      description: ''
      parameters:
      - name: treatyId
        in: path
        description: Treaty Id.
        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/LossOccurrence'
        required: true
      responses:
        '201':
          description: treaty loss occurrence created.
          headers:
            Location:
              description: treaty loss occurrence
              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 is denied or not authorized to perform the "Edit Treaties" action.'
          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:
      - TreatyV1
  /v1/treaties/{treatyId}/lossoccurrences/{lossOccurrenceId}:
    get:
      operationId: getLossOccurrence
      summary: Get loss occurrence by treaty
      description: ''
      parameters:
      - name: treatyId
        in: path
        description: Treaty Id.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: lossOccurrenceId
        in: path
        description: Treaty loss occurrence Id.
        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: Treaty loss occurrences retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LossOccurrence'
        '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 is denied or not authorized to perform the "View Treaties" action.'
          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:
      - TreatyV1
    put:
      operationId: updateLossOccurrence
      summary: Update loss occurrence
      description: ''
      parameters:
      - name: treatyId
        in: path
        description: Treaty Id.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: lossOccurrenceId
        in: path
        description: Treaty loss occurrence Id.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: datasource
        in: query
        description: Name of the EDM.
        required: true
        schema:
          type: string
      requestBody:
        conte

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