openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_USER_FOLDERS_GET:
    post:
      tags:
      - SI16
      operationId: /rfc/SIW_USER_FOLDERS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  maxLength: 10
                  description: Area
                GET_FOLDER:
                  type: string
                  default: C_YES
                  maxLength: 1
                  description: 'IWB: Function module parameter reference structure'
                GET_STRUCT:
                  type: string
                  default: C_YES
                  maxLength: 1
                  description: Single-Character Flag
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                FOLDER_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Char255
                      IS_FOLDER:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - AREA
              - GET_FOLDER
              - GET_STRUCT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  FOLDER_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Char255
                        IS_FOLDER:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
