openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_STRUCTURE_READ:
    post:
      tags:
      - SHI6
      summary: Read structure data
      operationId: /rfc/STREE_STRUCTURE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STRUCTURE_ID:
                  type: string
                  maxLength: 32
                ACTIVE_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      COMPLETE:
                        type: string
                        maxLength: 1
                        description: 'Checkbox  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                DESCRIPTION:
                  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
                DOUBLE_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      COUNTER:
                        type: integer
                        format: int64
                        description: Position in a repetition group
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      UPARENT_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      CHECKBOXST:
                        type: string
                        maxLength: 1
                        description: 'Status of a checkbox in a tree structure; values:  A, I, P  enumValues: A=Active,I=inactive,P=partly active'
                        enum:
                        - A
                        - I
                        - P
                      MANUAL_SET:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                EXTENSION_SEQUENCE:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      SEQUENCE:
                        type: integer
                        format: int32
                        description: Counter
                      ORDER_NO:
                        type: integer
                        format: int64
                        description: Enhancement Status Number
                POSSIBLE_NODE_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      TREE_TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                VISIBLE_NODE_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
              required:
              - STRUCTURE_ID
      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
                  STRUCTURE_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
                  ACTIVE_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        COMPLETE:
                          type: string
                          maxLength: 1
                          description: 'Checkbox  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  DESCRIPTION:
                    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
                  DOUBLE_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        COUNTER:
                          type: integer
                          format: int64
                          description: Position in a repetition group
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        UPARENT_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        CHECKBOXST:
                          type: string
                          maxLength: 1
                          description: 'Status of a checkbox in a tree structure; values:  A, I, P  enumValues: A=Active,I=inactive,P=partly active'
                          enum:
                          - A
                          - I
                          - P
                        MANUAL_SET:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                  EXTENSION_SEQUENCE:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        EXTENSION:
                          type: string
                          maxLength: 15
                          description: Structure enhancement ID
                        SEQUENCE:
                          type: integer
                          format: int32
                          description: Counter
                        ORDER_NO:
                          type: integer
                          format: int64
                          description: Enhancement Status Number
                  POSSIBLE_NODE_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        TREE_TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                  VISIBLE_NODE_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
