openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_READ_PROFILE_DEFAULTS:
    post:
      tags:
      - SPF3
      summary: Read default profile parameters of foreign AP server
      operationId: /rfc/PFL_READ_PROFILE_DEFAULTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOST:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Host from which profile paramet. are opened
                PROFILENAME:
                  type: string
                  default: ' '
                  maxLength: 60
                  description: Profile name
                SRVNAME:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Server from which profile param. are opened
                PARLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      PARNAME:
                        type: string
                        maxLength: 60
                        description: Profile parameter name
                      PVALUE:
                        type: string
                        maxLength: 128
                        description: Value of the profile parameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBRC:
                    type: integer
                    format: int32
                    description: Return code
                  PARLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        PARNAME:
                          type: string
                          maxLength: 60
                          description: Profile parameter name
                        PVALUE:
                          type: string
                          maxLength: 128
                          description: Value of the profile parameter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
