openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_FOLDER_HEADER_READ:
    post:
      tags:
      - SOA7
      operationId: /rfc/SO_FOLDER_HEADER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FOLDER_ID:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                OWNER:
                  type: string
                  default: ' '
                  maxLength: 12
              required:
              - FOLDER_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FOLDER_DATA:
                    type: object
                    properties:
                      OWNTP:
                        type: string
                        maxLength: 3
                        description: Owner type from ID
                      OWNYR:
                        type: string
                        maxLength: 2
                        description: Owner year from the ID
                      OWNNO:
                        type: string
                        maxLength: 12
                        description: Owner number from the ID
                      OBJLA:
                        type: string
                        maxLength: 1
                        description: Language in Which Document Is Created
                      OBJSRT:
                        type: string
                        maxLength: 10
                        description: Sort field
                      OBJNAM:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      OBJDES:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      CROTP:
                        type: string
                        maxLength: 3
                        description: 'User who created object: Object type from ID'
                      CROYR:
                        type: string
                        maxLength: 2
                        description: 'User that created object: year from the ID'
                      CRONO:
                        type: string
                        maxLength: 12
                        description: 'User that created object: number from the ID'
                      CRDAT:
                        type: string
                        format: date
                        description: Date created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time created
                      CHOTP:
                        type: string
                        maxLength: 3
                        description: 'User that changed the object: Object type from ID'
                      CHOYR:
                        type: string
                        maxLength: 2
                        description: 'User that changed the object: year from the ID'
                      CHONO:
                        type: string
                        maxLength: 12
                        description: 'User that changed the object: number from the ID'
                      CHDAT:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHTIM:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                      NOTTP:
                        type: string
                        maxLength: 3
                        description: Default setting of document class
                      NOTYR:
                        type: string
                        maxLength: 2
                        description: 'Object note: year from the ID'
                      NOTNO:
                        type: string
                        maxLength: 12
                        description: 'Object note: number from the ID'
                      FOLRG:
                        type: string
                        maxLength: 1
                        description: 'Folder: Area (private, shared folders)  enumValues: Y=Workflow folder,Q=Shared folder,T=Private trash,O=Outbox,S=System-wide trash,P=Private folder,I=Inbox'
                        enum:
                        - Y
                        - Q
                        - T
                        - O
                        - S
                        - P
                        - I
                      LADAT:
                        type: string
                        format: date
                        description: Date of last access
                      DLDAT:
                        type: string
                        format: date
                        description: Document Expiration Date
                      DLTIM:
                        type: string
                        maxLength: 6
                        description: Expiry time of object
                      OBJSNS:
                        type: string
                        maxLength: 1
                        description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                        enum:
                        - F
                        - O
                        - P
                      FIXED:
                        type: string
                        maxLength: 1
                        description: 'Check-in/check-out flag  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PARTP:
                        type: string
                        maxLength: 3
                        description: Parent object type from ID
                      PARYR:
                        type: string
                        maxLength: 2
                        description: Parent object year from the ID
                      PARNO:
                        type: string
                        maxLength: 12
                        description: Parent object number from the ID
                      FOLCNT:
                        type: integer
                        format: int64
                        description: Number of documents stored in this folder
                      FOLSIZ:
                        type: integer
                        format: int64
                        description: Number of documents stored in this folder
                      TPONLY:
                        type: string
                        maxLength: 3
                        description: Only this object type can be stored in this folder
                      LIFSP:
                        type: integer
                        format: int64
                        description: Retention period of documents in folder
                      FOLINDEX:
                        type: string
                        maxLength: 1
                        description: 'Index folder and documents contained in it  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PFLCL:
                        type: string
                        maxLength: 1
                        description: 'Private folder class  enumValues: 1=Folder classes (hierarchy does not exist),""=A class was not selected (=0)'
                        enum:
                        - '1'
                        - ''
                      ICLASS:
                        type: string
                        maxLength: 4
                        description: Information class for indexing
                      DLITP:
                        type: string
                        maxLength: 3
                        description: Distribution list type from ID
                      DLIYR:
                        type: string
                        maxLength: 2
                        description: Distribution list year from the ID
                      DLINO:
                        type: string
                        maxLength: 12
                        description: 'Distribution list: number from the ID'
                      FOLSEC:
                        type: string
                        maxLength: 1
                        description: 'Folder area (private, client, group, ...)  enumValues: G=Group folder (shared folders only),P=Private folder (private folders only),M=Client-wide folder (shared folders only)'
                        enum:
                        - G
                        - P
                        - M
                      FOLTYPE:
                        type: string
                        maxLength: 4
                        description: 'SAPoffice: Folder type'
                      LAFDAT:
                        type: string
                        format: date
                        description: Date of last access
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
