openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_STRUCTURE_DELETE_REFS:
    post:
      tags:
      - SHI6
      operationId: /rfc/STREE_STRUCTURE_DELETE_REFS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STRUCTURE_ID:
                  type: string
                  maxLength: 32
                LIST_OF_REFERENCES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      REF_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Reference Types in Structure Repository
                      REF_OBJECT:
                        type: string
                        maxLength: 70
                        description: Referenced object for node
                      EXTENSION:
                        type: string
                        maxLength: 15
                        description: Structure enhancement ID
                      DEL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      FROM_RNODE:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      R_SEQUEN:
                        type: integer
                        format: int64
                        description: Numerical Character 10
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Technical Description of Logical Components
                      SYSTEMINST:
                        type: string
                        maxLength: 20
                        description: Code for an Assigned System Landscape in Project
                      COMPRELFR:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      COMPRELTO:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      DEFAULTREF:
                        type: string
                        maxLength: 1
                        description: 'Checkbox  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      IN_SCOPE:
                        type: string
                        maxLength: 1
                        description: 'Checkbox  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PRDVERSFR:
                        type: string
                        maxLength: 20
                        description: Component Release
                      PRDVERSTO:
                        type: string
                        maxLength: 20
                        description: Component Release
                      APPL_FLAG1:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG2:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
                      APPL_FLAG3:
                        type: string
                        maxLength: 1
                        description: 'Flag: Use by application only'
              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
                  LIST_OF_REFERENCES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        REF_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Reference Types in Structure Repository
                        REF_OBJECT:
                          type: string
                          maxLength: 70
                          description: Referenced object for node
                        EXTENSION:
                          type: string
                          maxLength: 15
                          description: Structure enhancement ID
                        DEL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        FROM_RNODE:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        R_SEQUEN:
                          type: integer
                          format: int64
                          description: Numerical Character 10
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Technical Description of Logical Components
                        SYSTEMINST:
                          type: string
                          maxLength: 20
                          description: Code for an Assigned System Landscape in Project
                        COMPRELFR:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        COMPRELTO:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        DEFAULTREF:
                          type: string
                          maxLength: 1
                          description: 'Checkbox  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        IN_SCOPE:
                          type: string
                          maxLength: 1
                          description: 'Checkbox  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        PRDVERSFR:
                          type: string
                          maxLength: 20
                          description: Component Release
                        PRDVERSTO:
                          type: string
                          maxLength: 20
                          description: Component Release
                        APPL_FLAG1:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG2:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
                        APPL_FLAG3:
                          type: string
                          maxLength: 1
                          description: 'Flag: Use by application only'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
