openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GEN_XUSER_ENTRY_SDB:
    post:
      tags:
      - SADH
      operationId: /rfc/GEN_XUSER_ENTRY_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LC_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                LC_SERVER:
                  type: string
                  maxLength: 1024
                  description: Name of target host
                PASSWORD:
                  type: string
                  maxLength: 255
                  description: Password for setting up the connection to the database
                USER_NAME:
                  type: string
                  maxLength: 30
                  description: Database user
                ACTION_PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 255
                        description: Log line
              required:
              - LC_NAME
              - LC_SERVER
              - PASSWORD
              - USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXITCODE:
                    type: integer
                    format: int32
                    description: Exit code of an external program
                  STATUS:
                    type: string
                    maxLength: 1
                    description: Start or exit status of an external program
                  ACTION_PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 255
                          description: Log line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
