openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_ALM_UPDATE_CONFIGURATION:
    post:
      tags:
      - SDB6ALCFG
      summary: 'DB6: update configuration entry'
      operationId: /rfc/DB6_ALM_UPDATE_CONFIGURATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALERT_CFG:
                  type: object
                  properties:
                    COLLECTOR:
                      type: string
                      maxLength: 40
                      description: 'Alert: Logical Name of Tool'
                    OBJECT:
                      type: string
                      maxLength: 40
                      description: 'Alert: Short Name of Monitoring Type'
                    ATTRIBUTE:
                      type: string
                      maxLength: 40
                      description: 'Alert: Short Name of Monitoring Type'
                    ALRTVALUE:
                      type: integer
                      format: int32
                      description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                    ALRTMSGNO:
                      type: integer
                      format: int64
                      description: Message Number
                    REACTMSGNO:
                      type: integer
                      format: int64
                      description: Message Number
                    OPERATOR:
                      type: string
                      maxLength: 2
                      description: 'Operator for Comparison: EQ,GE,LE,GT,LT,NE,BT,NB,IN,NI'
                    PARAMLIST:
                      type: string
                      maxLength: 100
                      description: Value for Comparison(List Separator = ; Range Separator = :)
                    PARAMUNIT:
                      type: string
                      maxLength: 4
                      description: 'ALert: Unit for Perfomance Values'
                    ATTRTYPE:
                      type: string
                      maxLength: 3
                      description: 'Alert: monitoring type class (perf., single msg.,...)'
                    COMPONENT:
                      type: string
                      maxLength: 5
                      description: ''
                    PARTITN:
                      type: integer
                      format: int32
                      description: Partition Number
                    PATH:
                      type: string
                      maxLength: 100
                      description: Path to Object Within Monitoring Tree
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: Entry Activated (Y/N)
                    CUSTOMIZE:
                      type: string
                      maxLength: 1
                      description: Entry May Be Changed by Customer (Y/N)
                    REACT:
                      type: string
                      maxLength: 1
                      description: Type of Alert Reaction
                    MODDATE:
                      type: string
                      maxLength: 14
                      description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                    MODUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    MODCOMMENT:
                      type: string
                      maxLength: 255
                      description: Comment
                    MSGID:
                      type: string
                      maxLength: 20
                      description: Message Class
                    COCKPIT_ACTION:
                      type: integer
                      format: int32
                      description: Identification of Analysis Action within DBA Cockpit
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
              required:
              - ALERT_CFG
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
