openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BGRFC_PREPARE_EXT_DEBUGGING:
    post:
      tags:
      - BGRFC_EXTERN
      operationId: /rfc/BGRFC_PREPARE_EXT_DEBUGGING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLER_SYSTEM_ID:
                  type: string
                  maxLength: 8
                EXT_DEBUGGING_ACTIVATE:
                  type: string
                  maxLength: 1
                RFC_CLIENT:
                  type: string
                  maxLength: 3
                RFC_FUNCTION_NAME:
                  type: string
                  maxLength: 30
                RFC_USERNAME:
                  type: string
                  maxLength: 12
              required:
              - CALLER_SYSTEM_ID
              - EXT_DEBUGGING_ACTIVATE
              - RFC_CLIENT
              - RFC_FUNCTION_NAME
              - RFC_USERNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CALLBACK_DESTINATION_EXISTS:
                    type: string
                    maxLength: 1
                  CONTEXT_ID:
                    type: string
                    maxLength: 40
                  DP_SERVER_NAME:
                    type: string
                    maxLength: 40
                  MS_SERVER_INFO:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      HOST:
                        type: string
                        maxLength: 32
                        description: Name of Application Server
                      SERV:
                        type: string
                        maxLength: 20
                        description: Service
                      MSGTYPES:
                        type: string
                        format: byte
                        description: Services
                      HOSTADR:
                        type: string
                        format: byte
                        description: Host IP address
                      SERVNO:
                        type: string
                        format: byte
                        description: Service port number
                      STATE:
                        type: string
                        format: byte
                        description: Server Status
                      HOSTNAMELONG:
                        type: string
                        maxLength: 64
                        description: Host Name
                      HOSTADDR_V4_STR:
                        type: string
                        maxLength: 15
                        description: IPv4 Address
                      HOSTADDR_V6_STR:
                        type: string
                        maxLength: 45
                        description: IP Address
                      SYSSERVICE0:
                        type: string
                        format: byte
                        description: System Services Registered on Message Server
                      SYSSERVICE1:
                        type: string
                        format: byte
                        description: System Services Registered on Message Server
                      SYSSERVICE2:
                        type: string
                        format: byte
                        description: System Services Registered on Message Server
                      SYSSERVICE3:
                        type: string
                        format: byte
                        description: System Services Registered on Message Server
                  RFC_SERVER_NAME:
                    type: string
                    maxLength: 32
                  RFC_SI:
                    type: object
                    properties:
                      RFCPROTO:
                        type: string
                        maxLength: 3
                        description: RFC log version
                      RFCCHARTYP:
                        type: string
                        maxLength: 4
                        description: Character set (SAP name)
                      RFCINTTYP:
                        type: string
                        maxLength: 3
                        description: Integer format (1 / 2 = little / big endian)
                      RFCFLOTYP:
                        type: string
                        maxLength: 3
                        description: Floating point format (1=IEEE, 2=IBM/370 format)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCHOST:
                        type: string
                        maxLength: 8
                        description: Character field of length 8
                      RFCSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      RFCDATABS:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      RFCDBHOST:
                        type: string
                        maxLength: 32
                        description: Database host name
                      RFCDBSYS:
                        type: string
                        maxLength: 10
                        description: Central Database System
                      RFCSAPRL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      RFCMACH:
                        type: string
                        maxLength: 5
                        description: 'RFC: SAP machine ID'
                      RFCOPSYS:
                        type: string
                        maxLength: 10
                        description: Operating System of Application Server
                      RFCTZONE:
                        type: string
                        maxLength: 6
                        description: Time zone (difference from UTC in seconds)
                      RFCDAYST:
                        type: string
                        maxLength: 1
                        description: Daylight Saving Time Selection
                      RFCIPADDR:
                        type: string
                        maxLength: 15
                        description: IP Address
                      RFCKERNRL:
                        type: string
                        maxLength: 4
                        description: Kernel Release
                      RFCHOST2:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      RFCSI_RESV:
                        type: string
                        maxLength: 12
                        description: Reserve field in RFCSI
                      RFCIPV6ADDR:
                        type: string
                        maxLength: 45
                        description: IP Address in IPv6 Format
                  SYSTEM_IDENTITY:
                    type: object
                    properties:
                      SYSTEM_NAME:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYSTEM_UUID:
                        type: string
                        maxLength: 32
                        description: System ID (e.g. Installation Number)
                  USE_RFC_DEST_LOOKUP:
                    type: string
                    maxLength: 32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
