openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_CREATE_SCHEDULER_TASK:
    post:
      tags:
      - TREX_RFC_CRAWLER
      summary: create scheduler task
      operationId: /rfc/TREX_RFC_CREATE_SCHEDULER_TASK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_TEST:
                  type: integer
                  format: int64
                LOGON_USER_NAME:
                  type: string
                  format: byte
                PASSWORD:
                  type: string
                  format: byte
                SAP_SYSTEM_NAME:
                  type: string
                  format: byte
                SCHEDULER_TASK_NAME:
                  type: string
                  format: byte
              required:
              - IS_TEST
              - LOGON_USER_NAME
              - PASSWORD
              - SAP_SYSTEM_NAME
              - SCHEDULER_TASK_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
