openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_EXTERNAL_SEARCH:
    post:
      tags:
      - SHI21
      operationId: /rfc/STREE_EXTERNAL_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEFAULT_VALUE_TEXT:
                  type: string
                  default: ' '
                  maxLength: 75
                DISPLAY_F4_POPUP:
                  type: string
                  default: X
                  maxLength: 1
                MULTIPLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                RESULT_DISPLAY_ALL_SEL_PARAMET:
                  type: string
                  default: ' '
                  maxLength: 1
                RESULT_DISPLAY_DEVCLASS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_FIRST_DATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_FIRST_RELEASE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_FIRST_USER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_LAST_DATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_LAST_RELEASE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_LAST_USER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_RESPONSIBLE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                RESULT_DISPLAY_TREE_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                TITLE_OF_F4_POPUP:
                  type: string
                  default: ' '
                  maxLength: 75
                TITLE_OF_FRAME1:
                  type: string
                  default: ' '
                  maxLength: 75
                TITLE_OF_FRAME2:
                  type: string
                  default: ' '
                  maxLength: 75
                TITLE_OF_WINDOW:
                  type: string
                  default: ' '
                  maxLength: 75
                EXCLUDED_STRUCTURE_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                SELECTED_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SELECTFLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                SELECTED_TREE_HEADERS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      EXT_KEY:
                        type: string
                        maxLength: 12
                        description: External key
                      TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TREE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      RESPONSIBL:
                        type: string
                        maxLength: 12
                        description: User Name
                      BUFFERMODE:
                        type: string
                        maxLength: 1
                        description: 'Buffer mode of structure data  enumValues: 1=Complete buffering of nodes, links, and texts,0=Buffering off'
                        enum:
                        - '1'
                        - '0'
                      BUFFERVAR:
                        type: string
                        maxLength: 10
                        description: Parameters for buffering
                      SINGLENODE:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      SUBTREEONL:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      LOG_STR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Logical or Physical Structure  enumValues: ""=Normal Structure,L=Logical Structure,P=Physical Structure'
                        enum:
                        - ''
                        - L
                        - P
                      FUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FDATE:
                        type: string
                        format: date
                        description: Created on
                      FTIME:
                        type: string
                        maxLength: 6
                        description: Created at
                      FRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      LDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                      LRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                SELECTED_TREE_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      TEXT_CAP:
                        type: string
                        maxLength: 75
                        description: Description - only uppercase
                STRUCTURES_FOUND:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      TYPE_TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      RESPONSIBL:
                        type: string
                        maxLength: 12
                        description: User Name
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      FUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FDATE:
                        type: string
                        format: date
                        description: Created on
                      FRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      LDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      LRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                STRUCTURE_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      TREE_TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Flag whether active or inactive  enumValues: X=Active,""=Inactive'
                        enum:
                        - X
                        - ''
                      DB_IDENT:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      DB_TABLE:
                        type: string
                        maxLength: 15
                        description: General hierarchy tool structure type table name
                      TRANS_OBJ:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OWN_DATA:
                        type: string
                        maxLength: 1
                        description: 'Flag: 0 = negative; 1 = positive  enumValues: 0=Negative,1=Positive'
                        enum:
                        - '0'
                        - '1'
                      CHANGEDOC:
                        type: string
                        maxLength: 1
                        description: 'Use of change documents  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      NO_TEXT:
                        type: string
                        maxLength: 1
                        description: 'Structure Contains No Text  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      FUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FDATE:
                        type: string
                        format: date
                        description: Created on
                      FTIME:
                        type: string
                        maxLength: 6
                        description: Created at
                      FRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      LDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                      LRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      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
                      MSGTXT:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                  SELECTED_TREE_HEADER:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      EXT_KEY:
                        type: string
                        maxLength: 12
                        description: External key
                      TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TREE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      RESPONSIBL:
                        type: string
                        maxLength: 12
                        description: User Name
                      BUFFERMODE:
                        type: string
                        maxLength: 1
                        description: 'Buffer mode of structure data  enumValues: 1=Complete buffering of nodes, links, and texts,0=Buffering off'
                        enum:
                        - '1'
                        - '0'
                      BUFFERVAR:
                        type: string
                        maxLength: 10
                        description: Parameters for buffering
                      SINGLENODE:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      SUBTREEONL:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      LOG_STR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Logical or Physical Structure  enumValues: ""=Normal Structure,L=Logical Structure,P=Physical Structure'
                        enum:
                        - ''
                        - L
                        - P
                      FUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FDATE:
                        type: string
                        format: date
                        description: Created on
                      FTIME:
                        type: string
                        maxLength: 6
                        description: Created at
                      FRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      LDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                      LRELEASE:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                  SELECTED_TREE_TEXT:
                    type: string
                    maxLength: 75
                    description: Single-Character Flag
                  EXCLUDED_STRUCTURE_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                  SELECTED_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        SELECTFLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  SELECTED_TREE_HEADERS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        EXTENSION:
                          type: string
                          maxLength: 15
                          description: Structure enhancement ID
                        EXT_KEY:
                          type: string
                          maxLength: 12
                          description: External key
                        TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        TREE_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        RESPONSIBL:
                          type: string
                          maxLength: 12
                          description: User Name
                        BUFFERMODE:
                          type: string
                          maxLength: 1
                          description: 'Buffer mode of structure data  enumValues: 1=Complete buffering of nodes, links, and texts,0=Buffering off'
                          enum:
                          - '1'
                          - '0'
                        BUFFERVAR:
                          type: string
                          maxLength: 10
                          description: Parameters for buffering
                        SINGLENODE:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        SUBTREEONL:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        LOG_STR:
                          type: string
                          maxLength: 1
                          description: 'Flag: Logical or Physical Structure  enumValues: ""=Normal Structure,L=Logical Structure,P=Physical Structure'
                          enum:
                          - ''
                          - L
                          - P
                        FUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        FDATE:
                          type: string
                          format: date
                          description: Created on
                        FTIME:
                          type: string
                          maxLength: 6
                          description: Created at
                        FRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        LUSER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        LDATE:
                          type: string
                          format: date
                          description: Last Changed On
                        LTIME:
                          type: string
                          maxLength: 6
                          description: Time of Last Change
                        LRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                  SELECTED_TREE_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        TEXT_CAP:
                          type: string
                          maxLength: 75
                          description: Description - only uppercase
                  STRUCTURES_FOUND:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        TYPE_TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        RESPONSIBL:
                          type: string
                          maxLength: 12
                          description: User Name
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        FUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        FDATE:
                          type: string
                          format: date
                          description: Created on
                        FRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        LUSER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        LDATE:
                          type: string
                          format: date
                          description: Last Changed On
                        LRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                  STRUCTURE_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        TREE_TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Flag whether active or inactive  enumValues: X=Active,""=Inactive'
                          enum:
                          - X
                          - ''
                        DB_IDENT:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        DB_TABLE:
                          type: string
                          maxLength: 15
                          description: General hierarchy tool structure type table name
                        TRANS_OBJ:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OWN_DATA:
                          type: string
                          maxLength: 1
                          description: 'Flag: 0 = negative; 1 = positive  enumValues: 0=Negative,1=Positive'
                          enum:
                          - '0'
                          - '1'
                        CHANGEDOC:
                          type: string
                          maxLength: 1
                          description: 'Use of change documents  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        NO_TEXT:
                          type: string
                          maxLength: 1
                          description: 'Structure Contains No Text  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        FUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        FDATE:
                          type: string
                          format: date
                          description: Created on
                        FTIME:
                          type: string
                          maxLength: 6
                          description: Created at
                        FRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        LUSER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        LDATE:
                          type: string
                          format: date
                          description: Last Changed On
                        LTIME:
                          type: string
                          maxLength: 6
                          description: Time of Last Change
                        LRELEASE:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
