openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_RFC_GET_INTERFACE:
    post:
      tags:
      - INST_RFC
      summary: 'Installation: Technical Information Function Module'
      operationId: /rfc/INST_RFC_GET_INTERFACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Function module name
                PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMCLASS:
                        type: string
                        maxLength: 1
                        description: Parameter type
                      STRUCT:
                        type: string
                        maxLength: 1
                        description: 'Installation: Structure Indicator  enumValues: 0=No structure,1=Structure'
                        enum:
                        - '0'
                        - '1'
                      PARAMNAME:
                        type: string
                        maxLength: 30
                        description: Parameter name
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      POS:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      LENG_B1:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      LENG_B2:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      LENG_B4:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      FOFFSET_B1:
                        type: integer
                        format: int32
                        description: Field offset from beginning of structure (from 0)
                      FOFFSET_B2:
                        type: integer
                        format: int32
                        description: Field offset from beginning of structure (from 0)
                      FOFFSET_B4:
                        type: integer
                        format: int32
                        description: Field offset from beginning of structure (from 0)
                      TABLENG_B1:
                        type: integer
                        format: int32
                        description: Internal Field Length in 1 byte per Character Systems
                      TABLENG_B2:
                        type: integer
                        format: int32
                        description: Internal Field Length in 2 bytes per Character Systems
                      TABLENG_B4:
                        type: integer
                        format: int32
                        description: Internal Field Length in 4 bytes per Character Systems
              required:
              - FUNCNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: string
                    maxLength: 1
                    description: 'SAP Installation: Result Value'
                  RESULT_TEXT:
                    type: string
                    maxLength: 128
                    description: 'SAP Installation: Result Text'
                  PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMCLASS:
                          type: string
                          maxLength: 1
                          description: Parameter type
                        STRUCT:
                          type: string
                          maxLength: 1
                          description: 'Installation: Structure Indicator  enumValues: 0=No structure,1=Structure'
                          enum:
                          - '0'
                          - '1'
                        PARAMNAME:
                          type: string
                          maxLength: 30
                          description: Parameter name
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        POS:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        LENG_B1:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        LENG_B2:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        LENG_B4:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        FOFFSET_B1:
                          type: integer
                          format: int32
                          description: Field offset from beginning of structure (from 0)
                        FOFFSET_B2:
                          type: integer
                          format: int32
                          description: Field offset from beginning of structure (from 0)
                        FOFFSET_B4:
                          type: integer
                          format: int32
                          description: Field offset from beginning of structure (from 0)
                        TABLENG_B1:
                          type: integer
                          format: int32
                          description: Internal Field Length in 1 byte per Character Systems
                        TABLENG_B2:
                          type: integer
                          format: int32
                          description: Internal Field Length in 2 bytes per Character Systems
                        TABLENG_B4:
                          type: integer
                          format: int32
                          description: Internal Field Length in 4 bytes per Character Systems
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
