openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ST04_DB4_GET_DBMON_ACTIVITY:
    post:
      tags:
      - STU4_ST04
      summary: Get DBMonitor status of all DB shadow jobs of all servers
      operationId: /rfc/ST04_DB4_GET_DBMON_ACTIVITY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                JOB_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTANCE:
                        type: string
                        maxLength: 20
                        description: Server Name
                      JOBNUM:
                        type: string
                        maxLength: 6
                        description: 'iSeries: Job Number (Database Monitor)'
                      JOBUSER:
                        type: string
                        maxLength: 10
                        description: 'iSeries: Job User (Database Monitor)'
                      JOBNAME:
                        type: string
                        maxLength: 10
                        description: 'iSeries: Job Name (Database Monitor)'
                      DBMONACT:
                        type: integer
                        format: int32
                        description: 'iSeries: Active Database Monitor for a Database Shadow Job  enumValues: 2=Memory based DB Monitor is active,1=File based DB Monitor (STRDBMON/ENDDBMON) is active,0=Job is not monitored,3=File based AND memory based DB Monitor active'
                        enum:
                        - '2'
                        - '1'
                        - '0'
                        - '3'
                      DBMHANDLE:
                        type: string
                        maxLength: 6
                        description: 'iSeries: Memory Handle Used for Memory ResidnetnDBMonitor'
                      STGUSED:
                        type: integer
                        format: int32
                        description: 'iSeries: Storage Used for Memory Based Database Monitor'
                JOB_TAB_PARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTANCE:
                        type: string
                        maxLength: 20
                        description: Server Name
                      JOBNUM:
                        type: string
                        maxLength: 6
                        description: 'iSeries: Job Number (Database Monitor)'
                      JOBUSER:
                        type: string
                        maxLength: 10
                        description: 'iSeries: Job User (Database Monitor)'
                      JOBNAME:
                        type: string
                        maxLength: 10
                        description: 'iSeries: Job Name (Database Monitor)'
                      DBMONACT:
                        type: integer
                        format: int32
                        description: 'iSeries: Active Database Monitor for a Database Shadow Job  enumValues: 2=Memory based DB Monitor is active,1=File based DB Monitor (STRDBMON/ENDDBMON) is active,0=Job is not monitored,3=File based AND memory based DB Monitor active'
                        enum:
                        - '2'
                        - '1'
                        - '0'
                        - '3'
                      DBMHANDLE:
                        type: string
                        maxLength: 6
                        description: 'iSeries: Memory Handle Used for Memory ResidnetnDBMonitor'
                      STGUSED:
                        type: integer
                        format: int32
                        description: 'iSeries: Storage Used for Memory Based Database Monitor'
                      PARM_SHM:
                        type: string
                        maxLength: 25
                        description: 'iSeries: Value of Profile Parameter as4/dbmon/enable'
                      PARM_IFS:
                        type: string
                        maxLength: 25
                        description: 'iSeries: Value of Profile Parameter as4/dbmon/enable'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOB_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTANCE:
                          type: string
                          maxLength: 20
                          description: Server Name
                        JOBNUM:
                          type: string
                          maxLength: 6
                          description: 'iSeries: Job Number (Database Monitor)'
                        JOBUSER:
                          type: string
                          maxLength: 10
                          description: 'iSeries: Job User (Database Monitor)'
                        JOBNAME:
                          type: string
                          maxLength: 10
                          description: 'iSeries: Job Name (Database Monitor)'
                        DBMONACT:
                          type: integer
                          format: int32
                          description: 'iSeries: Active Database Monitor for a Database Shadow Job  enumValues: 2=Memory based DB Monitor is active,1=File based DB Monitor (STRDBMON/ENDDBMON) is active,0=Job is not monitored,3=File based AND memory based DB Monitor active'
                          enum:
                          - '2'
                          - '1'
                          - '0'
                          - '3'
                        DBMHANDLE:
                          type: string
                          maxLength: 6
                          description: 'iSeries: Memory Handle Used for Memory ResidnetnDBMonitor'
                        STGUSED:
                          type: integer
                          format: int32
                          description: 'iSeries: Storage Used for Memory Based Database Monitor'
                  JOB_TAB_PARAM:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTANCE:
                          type: string
                          maxLength: 20
                          description: Server Name
                        JOBNUM:
                          type: string
                          maxLength: 6
                          description: 'iSeries: Job Number (Database Monitor)'
                        JOBUSER:
                          type: string
                          maxLength: 10
                          description: 'iSeries: Job User (Database Monitor)'
                        JOBNAME:
                          type: string
                          maxLength: 10
                          description: 'iSeries: Job Name (Database Monitor)'
                        DBMONACT:
                          type: integer
                          format: int32
                          description: 'iSeries: Active Database Monitor for a Database Shadow Job  enumValues: 2=Memory based DB Monitor is active,1=File based DB Monitor (STRDBMON/ENDDBMON) is active,0=Job is not monitored,3=File based AND memory based DB Monitor active'
                          enum:
                          - '2'
                          - '1'
                          - '0'
                          - '3'
                        DBMHANDLE:
                          type: string
                          maxLength: 6
                          description: 'iSeries: Memory Handle Used for Memory ResidnetnDBMonitor'
                        STGUSED:
                          type: integer
                          format: int32
                          description: 'iSeries: Storage Used for Memory Based Database Monitor'
                        PARM_SHM:
                          type: string
                          maxLength: 25
                          description: 'iSeries: Value of Profile Parameter as4/dbmon/enable'
                        PARM_IFS:
                          type: string
                          maxLength: 25
                          description: 'iSeries: Value of Profile Parameter as4/dbmon/enable'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
