openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMSS_WRITE_DBCON:
    post:
      tags:
      - SMSSCONNECT
      summary: 'MSSQL : Insert / Update / Delete MSSQL DBCON entry'
      operationId: /rfc/SMSS_WRITE_DBCON
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_U_OR_D:
                  type: string
                  maxLength: 1
                  description: Single-character flag
                MULTICON:
                  type: object
                  properties:
                    CON_NAME:
                      type: string
                      maxLength: 30
                      description: Logical name for a database connection
                    DBMS:
                      type: string
                      maxLength: 3
                      description: 'Database system  enumValues: DB2=DB2 UDB for OS/390,MSS=Microsoft SQL Server,ADA=SAP DB (ADABAS/D),INF=Informix,ORA=Oracle,DB4=DB2 UDB for AS/400,DB6=DB2 UDB for Unix and Windows'
                      enum:
                      - DB2
                      - MSS
                      - ADA
                      - INF
                      - ORA
                      - DB4
                      - DB6
                    USER_NAME:
                      type: string
                      maxLength: 30
                      description: Database User
                    DB_RECO:
                      type: string
                      maxLength: 1
                      description: 'Availability type for an open database connect  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    HOSTNAME:
                      type: string
                      maxLength: 128
                      description: 'MSSQL Multiconnect : SQL Server name'
                    DBNAME:
                      type: string
                      maxLength: 128
                      description: Database name
                    DBUSER:
                      type: string
                      maxLength: 128
                      description: 'MSSQL Multiconnect : DB user'
                    DBSCHEMA:
                      type: string
                      maxLength: 128
                      description: 'MSSQL Multiconnect : Object source schema'
                    ENV_REST:
                      type: string
                      maxLength: 255
                      description: Database-specific information for a database connection
                    PASSWORD:
                      type: string
                      maxLength: 255
                      description: Password for setting up the connection to the database
              required:
              - I_U_OR_D
              - MULTICON
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
