openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_DYN_METH_EXECUTE:
    post:
      tags:
      - ECATT_REMOTE_EXECUTE
      operationId: /rfc/ECATT_DYN_METH_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTRAID:
                  type: string
                IM_BREAK:
                  type: string
                  default: ' '
                  maxLength: 1
                IM_LAST_USED_INST_KEY:
                  type: integer
                  format: int64
                IM_METHOD_NAME:
                  type: string
                  description: Method Name
                IM_OBJECT_NAME:
                  type: string
                IM_STATIC:
                  type: string
                  maxLength: 1
                INTERFACE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ARG_LNR:
                        type: integer
                        format: int64
                        description: Sequence Number
                      ARGUMENT:
                        type: string
                        description: Argument Separated by '-'
                      CONTENT:
                        type: string
                        description: Assignment Separated by '-'
                CH_INSTANCE_KEY:
                  type: string
                  description: Key to Identify an Object Instance in Target System
              required:
              - EXTRAID
              - IM_LAST_USED_INST_KEY
              - IM_METHOD_NAME
              - IM_OBJECT_NAME
              - IM_STATIC
              - INTERFACE_TAB
              - CH_INSTANCE_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FUNC_MESSAGE:
                    type: object
                    properties:
                      MSGTEXT:
                        type: string
                        maxLength: 255
                        description: ''
                      MSGSPRA:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGTYP:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGID:
                        type: string
                        maxLength: 20
                        description: ''
                      MSGNR:
                        type: integer
                        format: int64
                        description: ''
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: ''
                  FUNC_SY_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  CH_INSTANCE_KEY:
                    type: string
                    description: Key to Identify an Object Instance in Target System
                required:
                - CH_INSTANCE_KEY
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
