openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_TRUSTING_SERVER_CHAIN:
    post:
      tags:
      - QRFC
      summary: Determine trusting servers which can be connected
      operationId: /rfc/RFC_GET_TRUSTING_SERVER_CHAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ASYNC_PROCESSING:
                  type: string
                  default: ' '
                  maxLength: 1
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                LOOKAHEAD_NUMBER:
                  type: integer
                  format: int32
                  default: -1
                SERVICES:
                  type: string
                  format: byte
                  default: '255'
                SYSTEM_ID:
                  type: string
                  default: '*'
                  maxLength: 8
                SERVER_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      HOST:
                        type: string
                        maxLength: 20
                        description: Host
                      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
                TRUSTED_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCTRUSTID:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCTRUSTSY:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCTSTACTV:
                        type: string
                        maxLength: 1
                        description: No display in the trusting system list
                      RFCMSGSRV:
                        type: string
                        maxLength: 100
                        description: Name of target host
                      RFCGROUP:
                        type: string
                        maxLength: 64
                        description: Logon Group for Load Balancing Mode
                      RFCSNC:
                        type: string
                        maxLength: 1
                        description: RFC Secure Network Communication (HTTP SSL)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCCREDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCREGDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCVERSION:
                        type: string
                        maxLength: 32
                        description: Version ID for table entry
                      RFCATRUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed By
                      RFCATRDATE:
                        type: string
                        format: date
                        description: Changed On
                      RFCCREUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      RFCCREDATE:
                        type: string
                        format: date
                        description: Created on
                      RFCSLOPT:
                        type: string
                        maxLength: 250
                        description: Options for RFC single logon environment
                TRUSTING_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCTRUSTID:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCTRUSTSY:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCTSTACTV:
                        type: string
                        maxLength: 1
                        description: No display in the trusting system list
                      RFCMSGSRV:
                        type: string
                        maxLength: 100
                        description: Name of target host
                      RFCGROUP:
                        type: string
                        maxLength: 64
                        description: Logon Group for Load Balancing Mode
                      RFCSNC:
                        type: string
                        maxLength: 1
                        description: RFC Secure Network Communication (HTTP SSL)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCCREDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCREGDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCVERSION:
                        type: string
                        maxLength: 32
                        description: Version ID for table entry
                      RFCATRUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed By
                      RFCATRDATE:
                        type: string
                        format: date
                        description: Changed On
                      RFCCREUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      RFCCREDATE:
                        type: string
                        format: date
                        description: Created on
                      RFCSLOPT:
                        type: string
                        maxLength: 250
                        description: Options for RFC single logon environment
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SERVER_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        HOST:
                          type: string
                          maxLength: 20
                          description: Host
                        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
                  TRUSTED_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCTRUSTID:
                          type: string
                          maxLength: 32
                          description: Trusted sytsem (for R/3 and external systems)
                        RFCTRUSTSY:
                          type: string
                          maxLength: 32
                          description: Trusted sytsem (for R/3 and external systems)
                        RFCTSTACTV:
                          type: string
                          maxLength: 1
                          description: No display in the trusting system list
                        RFCMSGSRV:
                          type: string
                          maxLength: 100
                          description: Name of target host
                        RFCGROUP:
                          type: string
                          maxLength: 64
                          description: Logon Group for Load Balancing Mode
                        RFCSNC:
                          type: string
                          maxLength: 1
                          description: RFC Secure Network Communication (HTTP SSL)
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCCREDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCREGDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCVERSION:
                          type: string
                          maxLength: 32
                          description: Version ID for table entry
                        RFCATRUSER:
                          type: string
                          maxLength: 12
                          description: Last Changed By
                        RFCATRDATE:
                          type: string
                          format: date
                          description: Changed On
                        RFCCREUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        RFCCREDATE:
                          type: string
                          format: date
                          description: Created on
                        RFCSLOPT:
                          type: string
                          maxLength: 250
                          description: Options for RFC single logon environment
                  TRUSTING_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCTRUSTID:
                          type: string
                          maxLength: 32
                          description: Trusted sytsem (for R/3 and external systems)
                        RFCTRUSTSY:
                          type: string
                          maxLength: 32
                          description: Trusted sytsem (for R/3 and external systems)
                        RFCTSTACTV:
                          type: string
                          maxLength: 1
                          description: No display in the trusting system list
                        RFCMSGSRV:
                          type: string
                          maxLength: 100
                          description: Name of target host
                        RFCGROUP:
                          type: string
                          maxLength: 64
                          description: Logon Group for Load Balancing Mode
                        RFCSNC:
                          type: string
                          maxLength: 1
                          description: RFC Secure Network Communication (HTTP SSL)
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCCREDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCREGDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCVERSION:
                          type: string
                          maxLength: 32
                          description: Version ID for table entry
                        RFCATRUSER:
                          type: string
                          maxLength: 12
                          description: Last Changed By
                        RFCATRDATE:
                          type: string
                          format: date
                          description: Changed On
                        RFCCREUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        RFCCREDATE:
                          type: string
                          format: date
                          description: Created on
                        RFCSLOPT:
                          type: string
                          maxLength: 250
                          description: Options for RFC single logon environment
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
