openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_NODE_TYPE_SAVE:
    post:
      tags:
      - SHI3
      summary: Save the Data for a Node Type
      operationId: /rfc/STREE_NODE_TYPE_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NODE_TYPE:
                  type: object
                  properties:
                    NODE_TYPE:
                      type: string
                      maxLength: 4
                      description: Valid Node Types in Structure Repository
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Flag whether active or inactive  enumValues: X=Active,""=Inactive'
                      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
                NODE_TYPE_DEFINITION:
                  type: object
                  properties:
                    NODE_TYPE:
                      type: string
                      maxLength: 4
                      description: Valid Node Types in Structure Repository
                    TEXT_POS:
                      type: integer
                      format: int32
                      description: Node text item for a node type
                    STXT_RTYPE:
                      type: string
                      maxLength: 4
                      description: Link type for obtaining text
                    LTXT_RTYPE:
                      type: string
                      maxLength: 4
                      description: Link type for obtaining text
                    F1_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F1_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F1_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F1_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F1_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F2_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F2_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F2_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F2_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F2_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F3_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F3_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F3_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F3_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F3_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F4_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F4_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F4_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F4_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F4_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F5_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F5_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F5_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F5_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F5_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F6_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F6_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F6_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F6_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F6_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F7_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F7_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F7_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F7_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F7_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F8_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F8_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F8_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F8_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F8_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F9_RTYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    F9_ICON:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    F9_HOTSPOT:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F9_FIX:
                      type: string
                      maxLength: 1
                      description: 'Display options for output field in node type  enumValues: 2=Only display icons if activated by application,1=Always display icons'
                      enum:
                      - '2'
                      - '1'
                    F9_REF_EX:
                      type: string
                      maxLength: 1
                      description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    F1_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F2_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F3_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F4_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F5_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F6_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F7_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F8_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F9_COLOR:
                      type: integer
                      format: int64
                      description: Color display of a hierarchy node
                    F1_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F2_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F3_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F4_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F5_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F6_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F7_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F8_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F9_NODELN:
                      type: integer
                      format: int64
                      description: Output length of a hierarchy node
                    F1_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F2_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F3_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F4_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F5_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F6_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F7_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F8_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F9_INTENS:
                      type: string
                      maxLength: 1
                      description: Intensity of display
                    F1_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F2_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F3_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F4_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F5_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F6_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F7_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F8_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    F9_POS:
                      type: string
                      maxLength: 3
                      description: 'Hierarchy display: Column position of a text'
                    ATR_COU:
                      type: string
                      maxLength: 1
                      description: 'Use of country attribute  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                    ATR_BRA:
                      type: string
                      maxLength: 1
                      description: 'Use of the industry sector attribute  enumValues: ""=Not valid; not selected,X=Valid; selected'
                      enum:
                      - ''
                      - X
                NODE_TYPE_TEXT:
                  type: object
                  properties:
                    SPRAS:
                      type: string
                      maxLength: 1
                      description: Documentation language
                    NODE_TYPE:
                      type: string
                      maxLength: 4
                      description: Valid Node Types in Structure Repository
                    TEXT:
                      type: string
                      maxLength: 75
                      description: Explanatory text
                ALLOWED_CHILD_NODE_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                      CHILD_NODE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                ASSIGNED_REFERENCE_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                      REF_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Reference Types in Structure Repository
              required:
              - NODE_TYPE
              - NODE_TYPE_DEFINITION
              - NODE_TYPE_TEXT
      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
                  ALLOWED_CHILD_NODE_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                        CHILD_NODE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                  ASSIGNED_REFERENCE_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                        REF_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Reference Types in Structure Repository
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
