openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOBJS_GET_PORTAL_VIEWS_RFC:
    post:
      tags:
      - RSOBJS_PORTAL_CALLS
      operationId: /rfc/RSOBJS_GET_PORTAL_VIEWS_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BIAUTHEN:
                  type: string
                  default: ' '
                CLASSNAME:
                  type: string
                  maxLength: 120
                INPUT_PARAMS:
                  type: object
                  properties:
                    OBJ_TYPE:
                      type: string
                      maxLength: 4
                      description: 'Object Services: Object Type'
                    OBJ_VIEW:
                      type: string
                      maxLength: 2
                      description: 'Object Services: View of the Objects (History etc...)  enumValues: EA=User-Defined View with Own Implementation Method,FO=Individual Folder View,JA=Views in Java,RO=Roles,HI=History,PR=Properties,SE=Search Result,FA=Favorites'
                      enum:
                      - EA
                      - FO
                      - JA
                      - RO
                      - HI
                      - PR
                      - SE
                      - FA
                    EXPAND_NODE_ID:
                      type: string
                      maxLength: 12
                      description: 'Object Services: Node ID for Transfer Table'
                    OBJ_KEY:
                      type: string
                      maxLength: 30
                      description: 'Object Services: Technical Name'
                    DISP_MODE:
                      type: string
                      maxLength: 1
                      description: 'Object Services: Display Mode O = Open, S = Save  enumValues: S=Save,P=Publish,O=Open'
                      enum:
                      - S
                      - P
                      - O
              required:
              - BIAUTHEN
              - CLASSNAME
              - INPUT_PARAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_ID:
                          type: string
                          maxLength: 12
                          description: 'Object Services: Node ID for Transfer Table'
                        PARENT_ID:
                          type: string
                          maxLength: 12
                          description: 'Object Services: Node ID for Transfer Table'
                        ROLE_KEY:
                          type: string
                          maxLength: 40
                          description: 'Object Services: Key for Role Entries'
                        OBJ_KEY:
                          type: string
                          maxLength: 40
                          description: 'Object Services: Key for Objects'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Object Services: Object Type'
                        OBJ_TEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        OBJ_DESC:
                          type: string
                          maxLength: 255
                          description: 'Object Services: Description'
                        OBJ_TECHNAME:
                          type: string
                          maxLength: 30
                          description: 'Object Services: Technical Name'
                        SUBOBJECT_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Object Services: Object Type'
                        ATTRIB_KEY:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        ATTRIB_TEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: Boolean
                        EXPANDER:
                          type: string
                          maxLength: 1
                          description: Boolean
                        LAST_CHANGED:
                          type: integer
                          format: int64
                          description: Last Changed (Timestamp)
                        LAST_CHANGED_BY:
                          type: string
                          maxLength: 12
                          description: User ID
                        ICON_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Object Services: Object Type'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
