openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAF_SE_JOB_EXECUTE:
    post:
      tags:
      - SAF_SE_JOB
      summary: Execute SAF Job
      operationId: /rfc/SAF_SE_JOB_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_JOB:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    KB_NAME:
                      type: string
                      maxLength: 30
                      description: Name of Knowledge Base
                    LANG:
                      type: string
                      maxLength: 1
                      description: Language Key
                    TASK_ID:
                      type: string
                      maxLength: 1
                      description: 'SAF Task ID  enumValues: C=Create Index,D=Delta Compile,Z=Dummy Task - Test Process,R=Resume Full Compilation,F=Full Compile,E=Delete Index,G=Cluster Index'
                      enum:
                      - C
                      - D
                      - Z
                      - R
                      - F
                      - E
                      - G
                    APP_NAME:
                      type: string
                      maxLength: 20
                      description: ' Application Name'
                    LOCK_KEY:
                      type: string
                      maxLength: 128
                      description: Lock Key for SAF Tasks
                    USER_NAME:
                      type: string
                      maxLength: 12
                      description: SAF - User
                    TIME_QUEUED:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                    TIME_CHANGED:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                    STATUS:
                      type: string
                      maxLength: 1
                      description: 'SAF Job Status  enumValues: B=In Process,""=,A=Queued'
                      enum:
                      - B
                      - ''
                      - A
                    VARI:
                      type: string
                      maxLength: 14
                      description: Variant name
              required:
              - IS_JOB
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
