openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_ADMIN_GET_DB_CON_SYSWIDE:
    post:
      tags:
      - STU3_ADMIN
      summary: Gets database connections of entire SAP systems
      operationId: /rfc/STU3_ADMIN_GET_DB_CON_SYSWIDE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB_CONNECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPSERVER:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      WP:
                        type: integer
                        format: int32
                        description: Work process number
                      DBHANDLE:
                        type: integer
                        format: int32
                        description: Database handle
                      CONNNAME:
                        type: string
                        maxLength: 18
                        description: Database connection name
                      LOG_DBNAME:
                        type: string
                        maxLength: 32
                        description: Logical database server name
                      DB2MEMBER:
                        type: string
                        maxLength: 8
                        description: DB2 member name in data sharing environment
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_CONNECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPSERVER:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        WP:
                          type: integer
                          format: int32
                          description: Work process number
                        DBHANDLE:
                          type: integer
                          format: int32
                          description: Database handle
                        CONNNAME:
                          type: string
                          maxLength: 18
                          description: Database connection name
                        LOG_DBNAME:
                          type: string
                          maxLength: 32
                          description: Logical database server name
                        DB2MEMBER:
                          type: string
                          maxLength: 8
                          description: DB2 member name in data sharing environment
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
