openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BWSO_FOLDER_READ:
    post:
      tags:
      - BW03
      operationId: /rfc/BWSO_FOLDER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                UNAME:
                  type: string
                  maxLength: 12
                  description: SAP name of a SAPoffice user
                FOLDER_CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJDES:
                        type: string
                        maxLength: 100
                        description: Name of entry
                      INDAT:
                        type: string
                        format: date
                        description: Date received
                      INTIM:
                        type: string
                        maxLength: 6
                        description: Time received
                      CRADR:
                        type: string
                        maxLength: 35
                        description: Name of author
                      ATTRIBUTE:
                        type: string
                        maxLength: 1
                        description: Flag
                      URL:
                        type: string
                        maxLength: 2048
                        description: URL for a service
                      DOCID:
                        type: string
                        maxLength: 46
                        description: Folder Entry ID (Obj+Fol+Forwarder Name)
                      OBJTYPE:
                        type: string
                        maxLength: 3
                        description: Type
                      FILEEXT:
                        type: string
                        maxLength: 3
                        description: File extension for PC application
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FOLDER_CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJDES:
                          type: string
                          maxLength: 100
                          description: Name of entry
                        INDAT:
                          type: string
                          format: date
                          description: Date received
                        INTIM:
                          type: string
                          maxLength: 6
                          description: Time received
                        CRADR:
                          type: string
                          maxLength: 35
                          description: Name of author
                        ATTRIBUTE:
                          type: string
                          maxLength: 1
                          description: Flag
                        URL:
                          type: string
                          maxLength: 2048
                          description: URL for a service
                        DOCID:
                          type: string
                          maxLength: 46
                          description: Folder Entry ID (Obj+Fol+Forwarder Name)
                        OBJTYPE:
                          type: string
                          maxLength: 3
                          description: Type
                        FILEEXT:
                          type: string
                          maxLength: 3
                          description: File extension for PC application
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
