openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDTM_DOBJ_COPY:
    post:
      tags:
      - RSDTM
      operationId: /rfc/RSDTM_DOBJ_COPY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AUTH_IN:
                  type: object
                  properties:
                    MINER_HOST:
                      type: string
                      maxLength: 100
                      description: Name of target host
                    MINER_USER:
                      type: string
                      maxLength: 12
                      description: Explicit user ID
                    MINER_AUTH:
                      type: string
                      maxLength: 40
                      description: Explicit password
                I_AUTH_OUT:
                  type: object
                  properties:
                    MINER_HOST:
                      type: string
                      maxLength: 100
                      description: Name of target host
                    MINER_USER:
                      type: string
                      maxLength: 12
                      description: Explicit user ID
                    MINER_AUTH:
                      type: string
                      maxLength: 40
                      description: Explicit password
                I_DOBJDATA_IN:
                  type: object
                  properties:
                    RSDTM_DOBJNAME:
                      type: string
                      maxLength: 128
                      description: Name of IBM Intelligent Miner Data Object
                    RSDTM_DOBJCOMMENT:
                      type: string
                      maxLength: 512
                      description: IBM Intelligent Miner DataObject comment
                    RSDTM_DIR:
                      type: string
                      maxLength: 128
                      description: Directory for IBM Intelligent Miner files
                    RSDTM_FILE:
                      type: string
                      maxLength: 64
                      description: File name for IBM Intelligent Miner files
                    RSDTM_EXT:
                      type: string
                      maxLength: 16
                      description: Ending for IBM Intelligent Miner files
                I_DOBJDATA_OUT:
                  type: object
                  properties:
                    RSDTM_DOBJNAME:
                      type: string
                      maxLength: 128
                      description: Name of IBM Intelligent Miner Data Object
                    RSDTM_DOBJCOMMENT:
                      type: string
                      maxLength: 512
                      description: IBM Intelligent Miner DataObject comment
                    RSDTM_DIR:
                      type: string
                      maxLength: 128
                      description: Directory for IBM Intelligent Miner files
                    RSDTM_FILE:
                      type: string
                      maxLength: 64
                      description: File name for IBM Intelligent Miner files
                    RSDTM_EXT:
                      type: string
                      maxLength: 16
                      description: Ending for IBM Intelligent Miner files
                I_MNBDATA_IN:
                  type: object
                  properties:
                    MNBNAME:
                      type: string
                      maxLength: 128
                      description: Data Mining Project Name
                    MNBCOMMENT:
                      type: string
                      maxLength: 512
                      description: Comment for a Data Mining Project
                I_MNBDATA_OUT:
                  type: object
                  properties:
                    MNBNAME:
                      type: string
                      maxLength: 128
                      description: Data Mining Project Name
                    MNBCOMMENT:
                      type: string
                      maxLength: 512
                      description: Comment for a Data Mining Project
              required:
              - I_AUTH_IN
              - I_AUTH_OUT
              - I_DOBJDATA_IN
              - I_DOBJDATA_OUT
              - I_MNBDATA_IN
              - I_MNBDATA_OUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RETURN:
                    type: object
                    properties:
                      SUBRC:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      ERROR_MESSAGE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
                      ERROR_NO:
                        type: integer
                        format: int32
                        description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
