openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_ADMIN_GET_DEFINED_DB_CONS:
    post:
      tags:
      - STU3_ADMIN
      summary: Get DB connections defined for SAP app server
      operationId: /rfc/STU3_ADMIN_GET_DEFINED_DB_CONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REMOVE_DUPLICATES:
                  type: integer
                  format: int32
                  description: Natural number
                DEF_DB_CONS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGNAME:
                        type: string
                        maxLength: 32
                        description: Logical connection name
                      SSID:
                        type: string
                        maxLength: 4
                        description: DB2 subsystem ID (SSID)
                      HOST:
                        type: string
                        maxLength: 32
                        description: Host name
                      HOSTTCP:
                        type: string
                        maxLength: 32
                        description: Host TCP name
                      U_ID:
                        type: string
                        maxLength: 8
                        description: ''
                      OID:
                        type: string
                        maxLength: 8
                        description: ''
                      PWD:
                        type: string
                        maxLength: 8
                        description: ''
                      PS:
                        type: string
                        maxLength: 128
                        description: Collection ID
                      PLANNAME:
                        type: string
                        maxLength: 8
                        description: ''
                      LOCATION:
                        type: string
                        maxLength: 16
                        description: ''
                      PORT:
                        type: integer
                        format: int32
                        description: ''
                      RETRY_CNT:
                        type: integer
                        format: int32
                        description: ''
                      SLEEPTIME:
                        type: integer
                        format: int32
                        description: ''
                      SAPSYSTEM:
                        type: string
                        maxLength: 2
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DEF_DB_CONS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGNAME:
                          type: string
                          maxLength: 32
                          description: Logical connection name
                        SSID:
                          type: string
                          maxLength: 4
                          description: DB2 subsystem ID (SSID)
                        HOST:
                          type: string
                          maxLength: 32
                          description: Host name
                        HOSTTCP:
                          type: string
                          maxLength: 32
                          description: Host TCP name
                        U_ID:
                          type: string
                          maxLength: 8
                          description: ''
                        OID:
                          type: string
                          maxLength: 8
                          description: ''
                        PWD:
                          type: string
                          maxLength: 8
                          description: ''
                        PS:
                          type: string
                          maxLength: 128
                          description: Collection ID
                        PLANNAME:
                          type: string
                          maxLength: 8
                          description: ''
                        LOCATION:
                          type: string
                          maxLength: 16
                          description: ''
                        PORT:
                          type: integer
                          format: int32
                          description: ''
                        RETRY_CNT:
                          type: integer
                          format: int32
                          description: ''
                        SLEEPTIME:
                          type: integer
                          format: int32
                          description: ''
                        SAPSYSTEM:
                          type: string
                          maxLength: 2
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
