openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_EX_READ_STRUC_NODES:
    post:
      tags:
      - S_TWB_EXTERNAL
      operationId: /rfc/S_TWB_EX_READ_STRUC_NODES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                ET_STRUCTURE_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                      NODE_LEVEL:
                        type: integer
                        format: int64
                        description: Node level
                      NODE_TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      FOLDER:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      REF_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Reference Types in Structure Repository
                      REF_OBJECT:
                        type: string
                        maxLength: 70
                        description: Referenced object for node
                      CNT_RED:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CNT_YELLOW:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CNT_GREEN:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      P_RED:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      P_YELLOW:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      P_GREEN:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      STATUS_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      STATUS:
                        type: string
                        maxLength: 10
                        description: Processing status
                      STA_ACTION:
                        type: string
                        maxLength: 10
                        description: 'Status: Possible valuations of a status field'
                      STA_TEXT:
                        type: string
                        maxLength: 40
                        description: Explanatory text
                      STA_LUSER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      STA_LDATE:
                        type: string
                        format: date
                        description: Changed On
                      STA_LTIME:
                        type: string
                        maxLength: 6
                        description: Changed At
                      F_STATUS:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      F_MULTI_STATUS:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      F_DOCU:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      F_NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      F_NOTIFICATION:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      REF_STATUS_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      REF_FILTER_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      LDOC_LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      TC_NAME:
                        type: string
                        maxLength: 30
                        description: Test
                      TC_VARIANT:
                        type: string
                        maxLength: 30
                        description: Variant name
                      TC_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Test case attributes: Type  enumValues: L=Referring to,C=CATT,M=Manual Test Case,S=Training Test,X=External application,F=Function module test,R=Remote test R/2'
                        enum:
                        - L
                        - C
                        - M
                        - S
                        - X
                        - F
                        - R
                      TC_PRIO:
                        type: integer
                        format: int64
                        description: 'Priority  enumValues: 2=High,1=Very high,4=Low,3=Medium'
                        enum:
                        - '2'
                        - '1'
                        - '4'
                        - '3'
                      TSTLOGTYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TSTLOGID:
                        type: string
                        maxLength: 20
                        description: Test Tool Log
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Technical Description of Logical Components
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      SYSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYMANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                IT_STRUCTURE_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_STRUCTURE_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                        NODE_LEVEL:
                          type: integer
                          format: int64
                          description: Node level
                        NODE_TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        FOLDER:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        REF_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Reference Types in Structure Repository
                        REF_OBJECT:
                          type: string
                          maxLength: 70
                          description: Referenced object for node
                        CNT_RED:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CNT_YELLOW:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CNT_GREEN:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        P_RED:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        P_YELLOW:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        P_GREEN:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        STATUS_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        STATUS:
                          type: string
                          maxLength: 10
                          description: Processing status
                        STA_ACTION:
                          type: string
                          maxLength: 10
                          description: 'Status: Possible valuations of a status field'
                        STA_TEXT:
                          type: string
                          maxLength: 40
                          description: Explanatory text
                        STA_LUSER:
                          type: string
                          maxLength: 12
                          description: Changed by
                        STA_LDATE:
                          type: string
                          format: date
                          description: Changed On
                        STA_LTIME:
                          type: string
                          maxLength: 6
                          description: Changed At
                        F_STATUS:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        F_MULTI_STATUS:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        F_DOCU:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        F_NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        F_NOTIFICATION:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        REF_STATUS_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        REF_FILTER_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        LDOC_LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        TC_NAME:
                          type: string
                          maxLength: 30
                          description: Test
                        TC_VARIANT:
                          type: string
                          maxLength: 30
                          description: Variant name
                        TC_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Test case attributes: Type  enumValues: L=Referring to,C=CATT,M=Manual Test Case,S=Training Test,X=External application,F=Function module test,R=Remote test R/2'
                          enum:
                          - L
                          - C
                          - M
                          - S
                          - X
                          - F
                          - R
                        TC_PRIO:
                          type: integer
                          format: int64
                          description: 'Priority  enumValues: 2=High,1=Very high,4=Low,3=Medium'
                          enum:
                          - '2'
                          - '1'
                          - '4'
                          - '3'
                        TSTLOGTYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TSTLOGID:
                          type: string
                          maxLength: 20
                          description: Test Tool Log
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Technical Description of Logical Components
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        SYSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        SYMANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                  IT_STRUCTURE_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
