openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOBJS_GET_NODES:
    post:
      tags:
      - RSOBJS_RFC_INTERFACE
      operationId: /rfc/RSOBJS_GET_NODES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_S_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
                I_S_SEARCH_PARAMS:
                  type: object
                  properties:
                    SEARCH_STRING:
                      type: string
                      maxLength: 60
                      description: 'Object Services: Search Srtring'
                    SEARCH_IN_KEY:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    SEARCH_IN_TEXT:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                I_T_SEARCH_ATTR:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: 'Object Services: Object Type'
                      SEARCH_ATR:
                        type: string
                        maxLength: 60
                        description: Long description
                      NAME:
                        type: string
                        maxLength: 60
                        description: Long description
                      VALUE:
                        type: string
                        maxLength: 60
                        description: Long description
                      ATR_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
              required:
              - I_S_PARAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Rückgabewert, Rückgabewert nach ABAP-Anweisungen
                  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'
                  E_T_NODE_PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROP_KEY:
                          type: string
                          maxLength: 30
                          description: Field Name
                        PROP_NAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        PROP_VALUE:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
