openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPDB_DBM_GETF_REM:
    post:
      tags:
      - SADAJOB
      operationId: /rfc/SAPDB_DBM_GETF_REM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALL_MODE:
                  type: string
                  default: C
                  maxLength: 1
                CONN:
                  type: string
                  maxLength: 30
                DATE:
                  type: string
                  format: date
                DBMCMD:
                  type: string
                  maxLength: 255
                DBNAME:
                  type: string
                  maxLength: 18
                DBNODE:
                  type: string
                  maxLength: 64
                DBUSER:
                  type: string
                  maxLength: 64
                LINES:
                  type: integer
                  format: int32
                LOCALFILE:
                  type: string
                  maxLength: 512
                PROFILE:
                  type: string
                  maxLength: 300
                SYSID:
                  type: string
                  maxLength: 8
                TIME:
                  type: string
                  maxLength: 6
                XUSER:
                  type: string
                  maxLength: 30
                TANSW:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'SAP DB: Response line from DBM command'
              required:
              - DBMCMD
              - DBNAME
              - DBNODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBMID:
                    type: string
                    maxLength: 10
                  DBMRC:
                    type: string
                    maxLength: 10
                  ERRTXT:
                    type: string
                    maxLength: 255
                  SYSRC:
                    type: string
                    maxLength: 10
                  TANSW:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'SAP DB: Response line from DBM command'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
