openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MONI_CALL_TRANSACTION:
    post:
      tags:
      - MOF1
      operationId: /rfc/MONI_CALL_TRANSACTION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LS_OUTPUT:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    ID:
                      type: integer
                      format: int64
                      description: ID of Processed Object (see SCHEDMAN_TYPE for Category)
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    IDTYPE:
                      type: string
                      maxLength: 1
                      description: 'Object Category of the ID  enumValues: 2=Flow ID (workflow),3=Single job from the Scheduler,1=Time stamp (for manually started jobs)'
                      enum:
                      - '2'
                      - '3'
                      - '1'
                    SDATE:
                      type: string
                      format: date
                      description: Start date of processing
                    EDATE:
                      type: string
                      format: date
                      description: End Date for Processing
                    STIME:
                      type: string
                      maxLength: 6
                      description: Start Time of Processing
                    ETIME:
                      type: string
                      maxLength: 6
                      description: End Time of Processing
                    UNAME:
                      type: string
                      maxLength: 12
                      description: User Name
                    APLSTAT:
                      type: string
                      maxLength: 1
                      description: 'Job Status from a Business View  enumValues: A=Processing was canceled,4=Processing completed, but has errors,2=Processing completed, but with warnings,R=Processing is active,0=Processing completed without errors'
                      enum:
                      - A
                      - '4'
                      - '2'
                      - R
                      - '0'
                    TIMESTAMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    MASTERID:
                      type: integer
                      format: int64
                      description: ID of the higher level node in the flow
                    WF_WITEM:
                      type: string
                      maxLength: 12
                      description: Transfer of a workflow ID
                    FUNCTION:
                      type: string
                      maxLength: 4
                      description: Business Transaction Written by the Transation
                    TCODE:
                      type: string
                      maxLength: 20
                      description: Transaction Code
                    ACTIVITY:
                      type: string
                      maxLength: 2
                      description: Activity
                    VARIANTE:
                      type: string
                      maxLength: 14
                      description: 'ABAP: Name of variant (without program name)'
                    REPID:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    APPLICATION:
                      type: string
                      maxLength: 30
                      description: 'Schedule Manager: Application'
                    TESTFLAG:
                      type: string
                      maxLength: 1
                      description: Test Run
                    NR_OF_OBJECTS:
                      type: integer
                      format: int32
                      description: Number of Objects Processed
                    MASTERAPPL:
                      type: string
                      maxLength: 30
                      description: 'Schedule Manager: Application'
                    BATCHFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Batch data exist'
                    SELKRITFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Selection criteria exist'
                    MESSAGEFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Data from the Message Handler exists'
                    PARAMETERFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Processing parameters exist'
                    RESULTLISTFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Results list exists'
                    STATUSFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Information on changing the status is available'
                    SPECIFICFLAG:
                      type: string
                      maxLength: 1
                      description: Data that is specific to the application is available
                    SPOOLLISTFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Spool list data defined by the user exists'
                    EXTFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: Saved Results Lists Are Available'
                    WFFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag: The job is part of a work flow'
                    WORKLISTFLAG:
                      type: string
                      maxLength: 1
                      description: The work item is part of a worklist
                    POSTING_FINISHED:
                      type: string
                      maxLength: 1
                      description: Job Update Is Complete
                    ERROR_IN_POSTING:
                      type: string
                      maxLength: 1
                      description: 'Flag: Error occurred during update'
                    ONELISTFLAG:
                      type: string
                      maxLength: 1
                      description: A short (one page) results list (basic) is available.
                    APLSTAT_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for Job Status
                    APLSTAT_TEXT:
                      type: string
                      maxLength: 50
                      description: Schedule Manager 50 Char
                    USERSTAT:
                      type: string
                      maxLength: 1
                      description: 'The status that the user has defined  enumValues: 4=Processing completed, but has errors,2=Processing completed, but with warnings,C=Processing was checked and is OK,0=Processing completed without errors'
                      enum:
                      - '4'
                      - '2'
                      - C
                      - '0'
                    USERSTAT_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for the status that the user has set
                    USERSTAT_TEXT:
                      type: string
                      maxLength: 50
                      description: Schedule Manager 50 Char
                    TEST_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for the Test Run
                    DURATION:
                      type: string
                      maxLength: 17
                      description: Runtime for one process
                    NODE_KEY:
                      type: string
                      maxLength: 12
                      description: 'Tree Control: Node Key'
                    JOBTEXT:
                      type: string
                      maxLength: 70
                      description: Error message text - long text of the error
                    DEP:
                      type: integer
                      format: int32
                      description: Depth of the level in workflow
                    TOP_NODE:
                      type: integer
                      format: int64
                      description: Work item ID
                    NODE_NUMBER:
                      type: integer
                      format: int64
                      description: Node Number
                    WORKLISTID:
                      type: string
                      maxLength: 12
                      description: Description of a Worklist in the Schedule Manager
                    WORKLISTNODE:
                      type: string
                      maxLength: 1
                      description: Node is part of a worklist
                    CHILD_WORKLISTID:
                      type: string
                      maxLength: 12
                      description: Description of a Worklist in the Schedule Manager
                    CHILD_NODE_NUMBER:
                      type: integer
                      format: int64
                      description: Node Number
                    POSTING_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for Job Status
                    POSTING:
                      type: string
                      maxLength: 50
                      description: Icon for Job Status
                    OBJECTS_FAULTY:
                      type: integer
                      format: int64
                      description: Number of Objects in Worklist with Errors
                    OBJECTS_FINISHED:
                      type: integer
                      format: int64
                      description: Number of Worklist Objects Without Errors
                    OBJECTS_TOTAL:
                      type: integer
                      format: int64
                      description: Number of Objects in Worklist
                    OUT_APLSTAT_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for Job Status
                    OUT_USERSTAT_ICON:
                      type: string
                      maxLength: 50
                      description: Icon for the status that the user has set
                    TASK_OWNER:
                      type: string
                      maxLength: 12
                      description: 'Schedule Manager: Task Owner'
                    OFFICE_DOC:
                      type: string
                      maxLength: 1
                      description: 'Schedule Manager: Office document exists'
                    LONGTEXT:
                      type: string
                      maxLength: 1
                      description: 'Schedule Manager: Long text exists'
                    PROFILE:
                      type: string
                      maxLength: 10
                      description: 'Schedule Manager: Task List'
                    NODE_ID:
                      type: string
                      maxLength: 12
                      description: Character Field of Length 12
                    WL_SUBNODE:
                      type: string
                      maxLength: 1
                      description: Row is a Worklist Step
                    ORG_JOBTEXT:
                      type: string
                      maxLength: 70
                      description: Error message text - long text of the error
                    JOBNAME:
                      type: string
                      maxLength: 32
                      description: Background job name
                    JOBCOUNT:
                      type: string
                      maxLength: 8
                      description: Job ID
                TCODE:
                  type: string
                  maxLength: 20
              required:
              - LS_OUTPUT
              - TCODE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
