openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSFO_HTML_REQUEST2:
    post:
      tags:
      - RSFO_HTML
      operationId: /rfc/RSFO_HTML_REQUEST2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_MODE:
                  type: string
                  default: V
                  maxLength: 1
                I_PREURL:
                  type: object
                  properties:
                    LINE:
                      type: string
                      maxLength: 1022
                      description: Text table
                I_URL:
                  type: object
                  properties:
                    LINE:
                      type: string
                      maxLength: 1022
                      description: Text table
                E_T_FILES:
                  type: array
                  items:
                    type: object
                    properties:
                      FILENAME:
                        type: string
                        maxLength: 255
                        description: Char255
                      SIZE:
                        type: integer
                        format: int32
                        description: Natural number
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: 128 character
                      PRIMARY:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      BINARY:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                I_T_POSTDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                QUERY_STRING:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_FILES:
                    type: array
                    items:
                      type: object
                      properties:
                        FILENAME:
                          type: string
                          maxLength: 255
                          description: Char255
                        SIZE:
                          type: integer
                          format: int32
                          description: Natural number
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: 128 character
                        PRIMARY:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        BINARY:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  I_T_POSTDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  QUERY_STRING:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: Name for WWW query string name/value pair
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Value for WWW query string name/value pair
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
