openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEND_LCAALERT_SDB:
    post:
      tags:
      - SADB
      operationId: /rfc/SEND_LCAALERT_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                IT_LCAALERTS:
                  type: array
                  items:
                    type: object
                    properties:
                      AL_NAME:
                        type: string
                        maxLength: 40
                        description: Name of the Alert (Node Name in RZ20 Tree)
                      AL_VALUE:
                        type: string
                        maxLength: 3
                        description: Text Icon for the Current Value
                      AL_VPAR1:
                        type: string
                        maxLength: 30
                        description: Placeholder 1
                      AL_VPAR2:
                        type: string
                        maxLength: 30
                        description: Placeholder 2
                      AL_VPAR3:
                        type: string
                        maxLength: 30
                        description: Placeholder 3
                      AL_COLOR:
                        type: string
                        maxLength: 1
                        description: 'Value: (I-Info, R-Red, Y-Yellow, G-Green)'
                      AL_DESCR:
                        type: string
                        maxLength: 80
                        description: Reserve
              required:
              - IV_CON_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_LCAALERTS:
                    type: array
                    items:
                      type: object
                      properties:
                        AL_NAME:
                          type: string
                          maxLength: 40
                          description: Name of the Alert (Node Name in RZ20 Tree)
                        AL_VALUE:
                          type: string
                          maxLength: 3
                          description: Text Icon for the Current Value
                        AL_VPAR1:
                          type: string
                          maxLength: 30
                          description: Placeholder 1
                        AL_VPAR2:
                          type: string
                          maxLength: 30
                          description: Placeholder 2
                        AL_VPAR3:
                          type: string
                          maxLength: 30
                          description: Placeholder 3
                        AL_COLOR:
                          type: string
                          maxLength: 1
                          description: 'Value: (I-Info, R-Red, Y-Yellow, G-Green)'
                        AL_DESCR:
                          type: string
                          maxLength: 80
                          description: Reserve
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
