openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SOLAR_RFC_REFOBJ_GET_DATA:
    post:
      tags:
      - S_SOLAR_RFC_00
      operationId: /rfc/SOLAR_RFC_REFOBJ_GET_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ALLOWED_LANGUAGES:
                  type: string
                  default: ' '
                  maxLength: 240
                  description: Data element for Flag - Any use
                I_ALLOWED_LANGUAGES_NEW:
                  type: string
                  description: Data element for Flag - Any use
                I_GET_ALL_LANGUAGES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Data element for Flag - Any use
                I_GET_ATTR_FLAGS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Data element for Flag - Any use
                I_GET_PARAMS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Data element for Flag - Any use
                I_GET_TADIR_DATA:
                  type: string
                  default: X
                  maxLength: 1
                  description: Data element for Flag - Any use
                I_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                I_REF_ID:
                  type: string
                  maxLength: 70
                  description: Deneric Assignment Object ID
                I_REF_TYPE:
                  type: string
                  maxLength: 4
                  description: Object Type
                I_RFC_DESTINATION:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                I_SUBOBJ_ID:
                  type: string
                  default: ' '
                  maxLength: 70
                  description: Deneric Assignment Object ID
                E_REFPARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ID:
                        type: string
                        maxLength: 70
                        description: Deneric Assignment Object ID
                      PARAM_ID:
                        type: string
                        maxLength: 10
                        description: Parameter ID
                      PARAM_VAL:
                        type: string
                        maxLength: 128
                        description: Parameter value 128 characters
                E_REFTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ID:
                        type: string
                        maxLength: 70
                        description: Deneric Assignment Object ID
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Name of object assignments
              required:
              - I_REF_ID
              - I_REF_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_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
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJECTID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      OBJECTTEXT:
                        type: string
                        maxLength: 100
                        description: Name
                      SCRTEXT:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
                  E_REFDATA:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ID:
                        type: string
                        maxLength: 70
                        description: Deneric Assignment Object ID
                      FSTUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FSTDATE:
                        type: string
                        format: date
                        description: Date on which the record was created
                      FSTTIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      LSTUSER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      LSTDATE:
                        type: string
                        format: date
                        description: Changed on
                      LSTTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      FSTRELE:
                        type: string
                        maxLength: 4
                        description: First Release
                      LSTRELE:
                        type: string
                        maxLength: 4
                        description: Last Changed in Release
                      STATUS:
                        type: string
                        maxLength: 2
                        description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                        enum:
                        - '01'
                        - '02'
                        - ''
                      XATTR_CTRY:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Attribute "country" maintained'
                      XATTR_IDRY:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Attribute "Industry" maintained'
                      IS_ORG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ANSTYP_TXT:
                        type: string
                        maxLength: 40
                        description: 'Question: Answer type (text)'
                      ANSGLOBAL:
                        type: string
                        maxLength: 1
                        description: 'Unique answer flag  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Name of object assignments
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      MSTAT_TEXT:
                        type: string
                        maxLength: 40
                        description: Modeling status (text)
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                  E_REFPARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ID:
                          type: string
                          maxLength: 70
                          description: Deneric Assignment Object ID
                        PARAM_ID:
                          type: string
                          maxLength: 10
                          description: Parameter ID
                        PARAM_VAL:
                          type: string
                          maxLength: 128
                          description: Parameter value 128 characters
                  E_REFTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ID:
                          type: string
                          maxLength: 70
                          description: Deneric Assignment Object ID
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Name of object assignments
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
