openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPC_API_PROCESS_GET_JOBS:
    post:
      tags:
      - RSPC_API
      operationId: /rfc/RSPC_API_PROCESS_GET_JOBS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ALL:
                  type: string
                  maxLength: 1
                I_CHAIN:
                  type: string
                  maxLength: 25
                I_EVENT:
                  type: string
                  maxLength: 32
                I_EVENTNO:
                  type: integer
                  format: int64
                I_EVENTP:
                  type: string
                  maxLength: 64
                I_TYPE:
                  type: string
                  maxLength: 10
                I_VARIANT:
                  type: string
                  maxLength: 30
                E_T_JOBLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
                      JOBGROUP:
                        type: string
                        maxLength: 12
                        description: Summary of jobs for a group
                      INTREPORT:
                        type: string
                        maxLength: 40
                        description: Name of internal report for batch job
                      STEPCOUNT:
                        type: integer
                        format: int32
                        description: Job step ID number.
                      SDLSTRTDT:
                        type: string
                        format: date
                        description: Planned Start Date for Background Job
                      SDLSTRTTM:
                        type: string
                        maxLength: 6
                        description: Planned start time for background Job
                      BTCSYSTEM:
                        type: string
                        maxLength: 32
                        description: Target System to Run Background Job
                      SDLDATE:
                        type: string
                        format: date
                        description: Date of job/step scheduling
                      SDLTIME:
                        type: string
                        maxLength: 6
                        description: Time of a scheduled job/step
                      SDLUNAME:
                        type: string
                        maxLength: 12
                        description: Initiator of job/step scheduling
                      LASTCHDATE:
                        type: string
                        format: date
                        description: Date of last job change
                      LASTCHTIME:
                        type: string
                        maxLength: 6
                        description: Time of last job change
                      LASTCHNAME:
                        type: string
                        maxLength: 12
                        description: Last job change made by
                      RELDATE:
                        type: string
                        format: date
                        description: Release Date for Background Scheduling
                      RELTIME:
                        type: string
                        maxLength: 6
                        description: Release time of scheduled background job
                      RELUNAME:
                        type: string
                        maxLength: 12
                        description: User that released scheduled batch job
                      STRTDATE:
                        type: string
                        format: date
                        description: Job start date
                      STRTTIME:
                        type: string
                        maxLength: 6
                        description: Batch job start time
                      ENDDATE:
                        type: string
                        format: date
                        description: Job start date
                      ENDTIME:
                        type: string
                        maxLength: 6
                        description: Batch job start time
                      PRDMINS:
                        type: integer
                        format: int64
                        description: Duration period (in minutes) for a batch job
                      PRDHOURS:
                        type: integer
                        format: int64
                        description: Duration period (in hours) for a batch job
                      PRDDAYS:
                        type: integer
                        format: int64
                        description: Duration (in days) of DBA action
                      PRDWEEKS:
                        type: integer
                        format: int64
                        description: Duration period (in weeks) for a batch job
                      PRDMONTHS:
                        type: integer
                        format: int64
                        description: Duration period (in months) for a batch job
                      PERIODIC:
                        type: string
                        maxLength: 1
                        description: Periodic jobs indicator ('X')
                      DELANFREP:
                        type: string
                        maxLength: 1
                        description: Job deletion indicator after processing
                      EMERGMODE:
                        type: string
                        maxLength: 1
                        description: Emergency Job operation indicator (content 'X')
                      STATUS:
                        type: string
                        maxLength: 1
                        description: State of Background Job
                      NEWFLAG:
                        type: string
                        maxLength: 1
                        description: New job ID creation flag
                      AUTHCKNAM:
                        type: string
                        maxLength: 12
                        description: Background User Name for Authorization Check
                      AUTHCKMAN:
                        type: string
                        maxLength: 3
                        description: Background client for authorization check
                      SUCCNUM:
                        type: integer
                        format: int32
                        description: Number of successor job(s)
                      PREDNUM:
                        type: integer
                        format: int32
                        description: Number of previous jobs
                      JOBLOG:
                        type: string
                        maxLength: 20
                        description: TemSe object name
                      LASTSTRTDT:
                        type: string
                        format: date
                        description: Latest Execution Date for a Background Job
                      LASTSTRTTM:
                        type: string
                        maxLength: 6
                        description: Latest Execution Time for Background Job
                      WPNUMBER:
                        type: integer
                        format: int32
                        description: Work process number
                      WPPROCID:
                        type: integer
                        format: int32
                        description: Work process ID
                      EVENTID:
                        type: string
                        maxLength: 32
                        description: Background Processing Event
                      EVENTPARM:
                        type: string
                        maxLength: 64
                        description: Background Event Parameters (Such as, Jobname/Jobcount)
                      BTCSYSREAX:
                        type: string
                        maxLength: 32
                        description: Target System to Run Background Job
                      JOBCLASS:
                        type: string
                        maxLength: 1
                        description: Job classification
                      PRIORITY:
                        type: integer
                        format: int32
                        description: Job priority
                      EVENTCOUNT:
                        type: string
                        maxLength: 8
                        description: Event number
                      CHECKSTAT:
                        type: string
                        maxLength: 1
                        description: Job status check indicator for subsequent job start
                      CALENDARID:
                        type: string
                        maxLength: 2
                        description: Factory calendar ID for background processing
                      PRDBEHAV:
                        type: string
                        maxLength: 1
                        description: Period behavior of jobs on non-workdays
                      EXECSERVER:
                        type: string
                        maxLength: 20
                        description: Server name
                      EOMCORRECT:
                        type: integer
                        format: int32
                        description: Correction field for calc. job execution (end-of-mth, cal.)
                      CALCORRECT:
                        type: integer
                        format: int32
                        description: Correction field for calc. job execution (end-of-mth, cal.)
                      REAXSERVER:
                        type: string
                        maxLength: 20
                        description: Server name
                      RECLOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      RECOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      RECOBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      RECDESCRIB:
                        type: string
                        maxLength: 10
                        description: Describe flag
                      TGTSRVGRP:
                        type: string
                        maxLength: 40
                        description: Server Group Name Background Processing
              required:
              - I_CHAIN
              - I_EVENT
              - I_EVENTP
              - I_TYPE
              - I_VARIANT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_JOBLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
                        JOBGROUP:
                          type: string
                          maxLength: 12
                          description: Summary of jobs for a group
                        INTREPORT:
                          type: string
                          maxLength: 40
                          description: Name of internal report for batch job
                        STEPCOUNT:
                          type: integer
                          format: int32
                          description: Job step ID number.
                        SDLSTRTDT:
                          type: string
                          format: date
                          description: Planned Start Date for Background Job
                        SDLSTRTTM:
                          type: string
                          maxLength: 6
                          description: Planned start time for background Job
                        BTCSYSTEM:
                          type: string
                          maxLength: 32
                          description: Target System to Run Background Job
                        SDLDATE:
                          type: string
                          format: date
                          description: Date of job/step scheduling
                        SDLTIME:
                          type: string
                          maxLength: 6
                          description: Time of a scheduled job/step
                        SDLUNAME:
                          type: string
                          maxLength: 12
                          description: Initiator of job/step scheduling
                        LASTCHDATE:
                          type: string
                          format: date
                          description: Date of last job change
                        LASTCHTIME:
                          type: string
                          maxLength: 6
                          description: Time of last job change
                        LASTCHNAME:
                          type: string
                          maxLength: 12
                          description: Last job change made by
                        RELDATE:
                          type: string
                          format: date
                          description: Release Date for Background Scheduling
                        RELTIME:
                          type: string
                          maxLength: 6
                          description: Release time of scheduled background job
                        RELUNAME:
                          type: string
                          maxLength: 12
                          description: User that released scheduled batch job
                        STRTDATE:
                          type: string
                          format: date
                          description: Job start date
                        STRTTIME:
                          type: string
                          maxLength: 6
                          description: Batch job start time
                        ENDDATE:
                          type: string
                          format: date
                          description: Job start date
                        ENDTIME:
                          type: string
                          maxLength: 6
                          description: Batch job start time
                        PRDMINS:
                          type: integer
                          format: int64
                          description: Duration period (in minutes) for a batch job
                        PRDHOURS:
                          type: integer
                          format: int64
                          description: Duration period (in hours) for a batch job
                        PRDDAYS:
                          type: integer
                          format: int64
                          description: Duration (in days) of DBA action
                        PRDWEEKS:
                          type: integer
                          format: int64
                          description: Duration period (in weeks) for a batch job
                        PRDMONTHS:
                          type: integer
                          format: int64
                          description: Duration period (in months) for a batch job
                        PERIODIC:
                          type: string
                          maxLength: 1
                          description: Periodic jobs indicator ('X')
                        DELANFREP:
                          type: string
                          maxLength: 1
                          description: Job deletion indicator after processing
                        EMERGMODE:
                          type: string
                          maxLength: 1
                          description: Emergency Job operation indicator (content 'X')
                        STATUS:
                          type: string
                          maxLength: 1
                          description: State of Background Job
                        NEWFLAG:
                          type: string
                          maxLength: 1
                          description: New job ID creation flag
                        AUTHCKNAM:
                          type: string
                          maxLength: 12
                          description: Background User Name for Authorization Check
                        AUTHCKMAN:
                          type: string
                          maxLength: 3
                          description: Background client for authorization check
                        SUCCNUM:
                          type: integer
                          format: int32
                          description: Number of successor job(s)
                        PREDNUM:
                          type: integer
                          format: int32
                          description: Number of previous jobs
                        JOBLOG:
                          type: string
                          maxLength: 20
                          description: TemSe object name
                        LASTSTRTDT:
                          type: string
                          format: date
                          description: Latest Execution Date for a Background Job
                        LASTSTRTTM:
                          type: string
                          maxLength: 6
                          description: Latest Execution Time for Background Job
                        WPNUMBER:
                          type: integer
                          format: int32
                          description: Work process number
                        WPPROCID:
                          type: integer
                          format: int32
                          description: Work process ID
                        EVENTID:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTPARM:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        BTCSYSREAX:
                          type: string
                          maxLength: 32
                          description: Target System to Run Background Job
                        JOBCLASS:
                          type: string
                          maxLength: 1
                          description: Job classification
                        PRIORITY:
                          type: integer
                          format: int32
                          description: Job priority
                        EVENTCOUNT:
                          type: string
                          maxLength: 8
                          description: Event number
                        CHECKSTAT:
                          type: string
                          maxLength: 1
                          description: Job status check indicator for subsequent job start
                        CALENDARID:
                          type: string
                          maxLength: 2
                          description: Factory calendar ID for background processing
                        PRDBEHAV:
                          type: string
                          maxLength: 1
                          description: Period behavior of jobs on non-workdays
                        EXECSERVER:
                          type: string
                          maxLength: 20
                          description: Server name
                        EOMCORRECT:
                          type: integer
                          format: int32
                          description: Correction field for calc. job execution (end-of-mth, cal.)
                        CALCORRECT:
                          type: integer
                          format: int32
                          description: Correction field for calc. job execution (end-of-mth, cal.)
                        REAXSERVER:
                          type: string
                          maxLength: 20
                          description: Server name
                        RECLOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        RECOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        RECOBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        RECDESCRIB:
                          type: string
                          maxLength: 10
                          description: Describe flag
                        TGTSRVGRP:
                          type: string
                          maxLength: 40
                          description: Server Group Name Background Processing
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
