openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEL_DBPROCEDURES_ADA:
    post:
      tags:
      - SADB
      operationId: /rfc/SEL_DBPROCEDURES_ADA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                OWNER:
                  type: string
                  maxLength: 32
                  description: SAP DB User Name
                PAKET:
                  type: string
                  maxLength: 32
                  description: Name of Package from which Procedure Was Loaded
                TAB_COL:
                  type: string
                  maxLength: 32
                DBPROCEDURES:
                  type: array
                  items:
                    type: object
                    properties:
                      USERNAME:
                        type: string
                        maxLength: 32
                        description: SAP DB User Name
                      DBPROCNAME:
                        type: string
                        maxLength: 32
                        description: 'Database Procedure Name: SAP DB (liveCache)'
                      PACK_DLL:
                        type: string
                        maxLength: 32
                        description: Name of Package from which Procedure Was Loaded
                      PARAM_CNT:
                        type: integer
                        format: int32
                        description: Number of Parameters for a DB Procedure
                      CREATEDATE:
                        type: string
                        format: date
                        description: Date
                      CREATETIME:
                        type: string
                        maxLength: 6
                        description: SAP DB Time (6 Places in SAP Layout)
                      EXEC_KIND:
                        type: string
                        maxLength: 6
                        description: Database Procedure Execution Type (SAP DB/liveCache)
                      SQLSUPPORT:
                        type: string
                        maxLength: 3
                        description: DB Procedure Can Be Executed in SQL (SAP DB/liveCache)
                      WAITCHCKPT:
                        type: string
                        maxLength: 3
                        description: DB Procedure Waiting for Checkpoint ->YES
                      LOCATION:
                        type: string
                        maxLength: 132
                        description: Remote Server
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBPROCEDURES:
                    type: array
                    items:
                      type: object
                      properties:
                        USERNAME:
                          type: string
                          maxLength: 32
                          description: SAP DB User Name
                        DBPROCNAME:
                          type: string
                          maxLength: 32
                          description: 'Database Procedure Name: SAP DB (liveCache)'
                        PACK_DLL:
                          type: string
                          maxLength: 32
                          description: Name of Package from which Procedure Was Loaded
                        PARAM_CNT:
                          type: integer
                          format: int32
                          description: Number of Parameters for a DB Procedure
                        CREATEDATE:
                          type: string
                          format: date
                          description: Date
                        CREATETIME:
                          type: string
                          maxLength: 6
                          description: SAP DB Time (6 Places in SAP Layout)
                        EXEC_KIND:
                          type: string
                          maxLength: 6
                          description: Database Procedure Execution Type (SAP DB/liveCache)
                        SQLSUPPORT:
                          type: string
                          maxLength: 3
                          description: DB Procedure Can Be Executed in SQL (SAP DB/liveCache)
                        WAITCHCKPT:
                          type: string
                          maxLength: 3
                          description: DB Procedure Waiting for Checkpoint ->YES
                        LOCATION:
                          type: string
                          maxLength: 132
                          description: Remote Server
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
