openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDTM_DELETE_IM_FILES:
    post:
      tags:
      - RSDTM
      operationId: /rfc/RSDTM_DELETE_IM_FILES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_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
                T_FILELIST:
                  type: array
                  items:
                    type: object
                    properties:
                      FILENAME:
                        type: string
                        maxLength: 512
                        description: File Names (Data Mining Folder)
                      DIR:
                        type: string
                        maxLength: 128
                        description: Directory for IBM Intelligent Miner files
                      MNBNAME:
                        type: string
                        maxLength: 128
                        description: Data Mining Project Name
                      DOBJNAME:
                        type: string
                        maxLength: 128
                        description: Name of IBM Intelligent Miner Data Object
                      DOBJCMT:
                        type: string
                        maxLength: 512
                        description: IBM Intelligent Miner DataObject comment
                      MOD_DATE:
                        type: string
                        format: date
                        description: Date of Last Modification
                      MOD_TIME:
                        type: string
                        maxLength: 8
                        description: Time of Last Modification
                      DELETE_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator for File: To Be Deleted (X) or Not ( )'
                      SERVER_FLAG:
                        type: string
                        maxLength: 2
                        description: Location of File ("IM" or "BW")
              required:
              - I_AUTH
      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
                  T_FILELIST:
                    type: array
                    items:
                      type: object
                      properties:
                        FILENAME:
                          type: string
                          maxLength: 512
                          description: File Names (Data Mining Folder)
                        DIR:
                          type: string
                          maxLength: 128
                          description: Directory for IBM Intelligent Miner files
                        MNBNAME:
                          type: string
                          maxLength: 128
                          description: Data Mining Project Name
                        DOBJNAME:
                          type: string
                          maxLength: 128
                          description: Name of IBM Intelligent Miner Data Object
                        DOBJCMT:
                          type: string
                          maxLength: 512
                          description: IBM Intelligent Miner DataObject comment
                        MOD_DATE:
                          type: string
                          format: date
                          description: Date of Last Modification
                        MOD_TIME:
                          type: string
                          maxLength: 8
                          description: Time of Last Modification
                        DELETE_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator for File: To Be Deleted (X) or Not ( )'
                        SERVER_FLAG:
                          type: string
                          maxLength: 2
                          description: Location of File ("IM" or "BW")
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
