openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_SQLAGENT_JOBS:
    post:
      tags:
      - SFMSS_JOBS
      summary: Function to create, delete, modify sql agent jobs
      operationId: /rfc/MSS_SQLAGENT_JOBS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHK_DB:
                  type: string
                  maxLength: 1
                  description: MSQ server - returns whe. the object exists in database
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Schema name
                SIMULATION_MODE:
                  type: string
                  default: N
                  maxLength: 1
                  description: MSQ server - returns whe. the object exists in database
                SQLCOMMAND:
                  type: string
                  maxLength: 8192
                  description: MS SQL server - table column list
                SQLUPDCMD:
                  type: string
                  maxLength: 8192
                  description: MS SQL server - table column list
                ST_IMMED:
                  type: string
                  maxLength: 1
                  description: MSQ server - returns whe. the object exists in database
                BKUP_STMTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTLINE:
                        type: string
                        maxLength: 2000
                        description: ''
              required:
              - SQLCOMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETCODE:
                    type: integer
                    format: int32
                    description: MS SQL server - error number of the last executed sql stmt
                  BKUP_STMTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTLINE:
                          type: string
                          maxLength: 2000
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
