openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWE_BATCHJOB_MAINTAIN:
    post:
      tags:
      - SWEP
      operationId: /rfc/SWE_BATCHJOB_MAINTAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DELANFREP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Delete Job After Successful Execution
                FIRST_EX_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date and Time, Current (Application Server) Date
                FIRST_EX_TIME:
                  type: string
                  default: SY-UZEIT
                  maxLength: 6
                  description: Date and Time, Current Application Server Time
                INTERVAL:
                  type: integer
                  format: int64
                INTERVAL_DAYS:
                  type: integer
                  format: int64
                  description: Duration (in days) of DBA action
                INTERVAL_HOURS:
                  type: integer
                  format: int64
                  description: Duration period (in hours) for a batch job
                JOBCLASS:
                  type: string
                  maxLength: 1
                  description: Date and Time, Current Application Server Time
                JOBNAME:
                  type: string
                  maxLength: 32
                REPORTNAME:
                  type: string
                  maxLength: 40
                  description: 'ABAP Program: Current Main Program'
                START_AT_ONCE_PERIODICALLY:
                  type: string
                  maxLength: 1
                START_ONCE_AT_ONCE:
                  type: string
                  maxLength: 1
                START_ONCE_IN_INTVAL_MINUTES:
                  type: string
                  maxLength: 1
                VARIANT:
                  type: string
                  maxLength: 14
                  description: Date and Time, Current Application Server Time
              required:
              - JOBNAME
              - REPORTNAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
