openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_NETWORK_SCHEDULE_JOB:
    post:
      tags:
      - STU3_NETWORK
      summary: Schedule a report for immediate start
      operationId: /rfc/STU3_NETWORK_SCHEDULE_JOB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                JOBNAME:
                  type: string
                  maxLength: 32
                  description: Background job name
                REPORT:
                  type: string
                  maxLength: 40
                  description: 'Program: Name of ABAP program'
                START_DATE:
                  type: string
                  format: date
                  description: Planned Start Date for Background Job
                START_TIME:
                  type: string
                  maxLength: 6
                  description: Planned Start Date for Background Job
                TARGETSERVER:
                  type: string
                  maxLength: 20
                  description: Server name
              required:
              - JOBNAME
              - REPORT
              - START_DATE
              - START_TIME
              - TARGETSERVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBNUMBER:
                    type: string
                    maxLength: 8
                    description: Job ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
