openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_FOLDER_UPDATE_API1:
    post:
      tags:
      - SOI1
      operationId: /rfc/SO_FOLDER_UPDATE_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FOLDER_ID:
                  type: string
                  maxLength: 17
                  description: ID of folder to be changed
                FOLDER_UPDATE_DATA:
                  type: object
                  properties:
                    OBJ_NAME:
                      type: string
                      maxLength: 12
                      description: Name of document, folder or distribution list
                    OBJ_DESCR:
                      type: string
                      maxLength: 50
                      description: Short description of contents
                    OBJ_LANGU:
                      type: string
                      maxLength: 1
                      description: Language in Which Document Is Created
                    OBJ_SORT:
                      type: string
                      maxLength: 10
                      description: Sort field
                    OBJ_EXPDAT:
                      type: string
                      format: date
                      description: Expiration date of object
                    SENSITIVTY:
                      type: string
                      maxLength: 1
                      description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                      enum:
                      - F
                      - O
                      - P
                    OBJ_PRIO:
                      type: string
                      maxLength: 1
                      description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    NO_CHANGE:
                      type: string
                      maxLength: 1
                      description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FOLSECTION:
                      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
                    AUTHORITY:
                      type: string
                      maxLength: 1
                      description: 'Private folder class  enumValues: 1=Folder classes (hierarchy does not exist),""=A class was not selected (=0)'
                      enum:
                      - '1'
                      - ''
              required:
              - FOLDER_ID
              - FOLDER_UPDATE_DATA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FOLDER_INFO:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of a SAPoffice object'
                      OBJ_TYPE:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      OBJ_NAME:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      OBJ_DESCR:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      OBJ_LANGU:
                        type: string
                        maxLength: 1
                        description: Language in Which Document Is Created
                      OBJ_SORT:
                        type: string
                        maxLength: 10
                        description: Sort field
                      CREATOR_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the creator of an object or user'
                      CREAT_NAME:
                        type: string
                        maxLength: 12
                        description: Creator Name
                      CREAT_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Full name of creator'
                      CREAT_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date when object/user was created'
                      CREAT_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was created'
                      CHANGER_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: Last changed by: ID'
                      CHANG_NAME:
                        type: string
                        maxLength: 12
                        description: Changed by
                      CHANG_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Last changed by: Full name'
                      CHANG_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date object/user was last changed'
                      CHANG_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was last changed'
                      OWNER_ID:
                        type: string
                        maxLength: 17
                        description: ID of the owner of the document
                      OWNER_NAM:
                        type: string
                        maxLength: 12
                        description: Name of document owner
                      OWNER_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of the owner
                      LAST_ACCES:
                        type: string
                        format: date
                        description: Date of last access
                      OBJ_EXPDAT:
                        type: string
                        format: date
                        description: Expiration date of object
                      SENSITIVTY:
                        type: string
                        maxLength: 1
                        description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                        enum:
                        - F
                        - O
                        - P
                      OBJ_PRIO:
                        type: string
                        maxLength: 1
                        description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      NO_CHANGE:
                        type: string
                        maxLength: 1
                        description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FOLREGION:
                        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
                      FOLSECTION:
                        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
                      PARENTFOL:
                        type: string
                        maxLength: 17
                        description: ID of the parent folder of this folder
                      NO_ENTRIES:
                        type: integer
                        format: int64
                        description: Number of folders in this folder
                      NO_DOC:
                        type: integer
                        format: int64
                        description: Number of documents stored in this folder
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
