openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_CHECK_JOB_EXISTS:
    post:
      tags:
      - SFMSS_JOBS
      summary: Function to check job exists in sql server
      operationId: /rfc/MSS_CHECK_JOB_EXISTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Schema name
                TASKNAME:
                  type: string
                  maxLength: 8192
                  description: MS SQl server - name of the job
                JOBINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      JOBID:
                        type: string
                        format: byte
                        description: MS SQL server job id
                      JOBNAME:
                        type: string
                        maxLength: 128
                        description: MS SQL Server task name
              required:
              - TASKNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        JOBID:
                          type: string
                          format: byte
                          description: MS SQL server job id
                        JOBNAME:
                          type: string
                          maxLength: 128
                          description: MS SQL Server task name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
