openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_BEX_MIME_GET_FOLDERS_FILES:
    post:
      tags:
      - RS_MIME_BROWSER
      summary: Returns Subfolders and Mimes in given Folder
      operationId: /rfc/RS_BEX_MIME_GET_FOLDERS_FILES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHECK_AUTHORITY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Boolean
                I_FOLDER_NAME:
                  type: string
                  maxLength: 4096
                  description: Folder that contains mimes and subfolders
                E_T_FILES:
                  type: array
                  items:
                    type: object
                    properties:
                      URL:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      TYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LOIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                E_T_FOLDERS:
                  type: array
                  items:
                    type: object
                    properties:
                      URL:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      TYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LOIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
              required:
              - I_CHECK_AUTHORITY
              - I_FOLDER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                    description: Message Type
                  E_T_FILES:
                    type: array
                    items:
                      type: object
                      properties:
                        URL:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        TYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LOIO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                  E_T_FOLDERS:
                    type: array
                    items:
                      type: object
                      properties:
                        URL:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        TYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LOIO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
