openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_REFERENCE_TYPE_CHECK:
    post:
      tags:
      - SHI3
      operationId: /rfc/STREE_REFERENCE_TYPE_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REFERENCE_TYPE:
                  type: object
                  properties:
                    REF_TYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Flag whether active or inactive  enumValues: X=Active,""=Inactive'
                      enum:
                      - X
                      - ''
                    PROPERTY:
                      type: string
                      maxLength: 1
                      description: 'Attribute of a link type  enumValues: F=Functional link,S=Symbol,D=Dynamic field,I=Icon'
                      enum:
                      - F
                      - S
                      - D
                      - I
                    ICONNAME:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    ICONNAME2:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    ICONNAME3:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    ICONNAME4:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    ICONNAME5:
                      type: string
                      maxLength: 30
                      description: Name of an Icon
                    NO_READ:
                      type: string
                      maxLength: 1
                      description: 'Do not read link with tool  enumValues: ""=Link read by tool,X=Link not read by tool'
                      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
                REFERENCE_TYPE_TEXT:
                  type: object
                  properties:
                    SPRAS:
                      type: string
                      maxLength: 1
                      description: Documentation language
                    REF_TYPE:
                      type: string
                      maxLength: 4
                      description: Valid Reference Types in Structure Repository
                    TEXT:
                      type: string
                      maxLength: 75
                      description: Explanatory text
              required:
              - REFERENCE_TYPE
              - REFERENCE_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
