openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_JS_RFC_CALL_METHOD:
    post:
      tags:
      - CRM_IC_JSERVER
      summary: rfc call method
      operationId: /rfc/CRM_IC_JS_RFC_CALL_METHOD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PARAM_IN:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: 'O2: Data Element Type String'
                      VALUE:
                        type: string
                        description: 'O2: Data Element Type String'
                PARAM_METHODNAME:
                  type: string
                PARAM_OBJECT_HANDLE:
                  type: string
                PARAM_SESSIONID:
                  type: string
                  description: Name value pair table
                USERNAME:
                  type: string
                  description: Name value pair table
              required:
              - PARAM_IN
              - PARAM_METHODNAME
              - PARAM_OBJECT_HANDLE
              - PARAM_SESSIONID
              - USERNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXCEPTION_INFO:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        description: ''
                      ID:
                        type: string
                        description: ''
                      DESCR:
                        type: string
                        description: ''
                      MWTYPE:
                        type: string
                        description: ''
                      INTERNALID:
                        type: string
                        description: ''
                      RC:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      CODE:
                        type: integer
                        format: int32
                        description: ''
                      INFO1:
                        type: string
                        description: ''
                      INFO2:
                        type: string
                        description: ''
                      INFO3:
                        type: string
                        description: ''
                  PARAM_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          description: 'O2: Data Element Type String'
                        VALUE:
                          type: string
                          description: 'O2: Data Element Type String'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
