openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDTM_DOBJ_OUT_CREATE:
    post:
      tags:
      - RSDTM
      operationId: /rfc/RSDTM_DOBJ_OUT_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_SYHOST:
                  type: string
                  maxLength: 32
                I_SYSID:
                  type: string
                  maxLength: 8
                I_S_RSDTM_AUTH:
                  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_S_RSDTM_MININGBASE:
                  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
                T_DOBJDATA:
                  type: array
                  items:
                    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
              required:
              - I_SYHOST
              - I_SYSID
              - I_S_RSDTM_AUTH
              - I_S_RSDTM_MININGBASE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RETURN_STRUCTURE:
                    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
                  T_DOBJDATA:
                    type: array
                    items:
                      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
