openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_POOL_SINGLE:
    post:
      tags:
      - SMON
      operationId: /rfc/GET_POOL_SINGLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOCAL_REMOTE:
                  type: string
                  default: LOCAL
                  maxLength: 6
                LOGICAL_DESTINATION:
                  type: string
                  maxLength: 32
                TF_POOL_SINGLE:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: integer
                        format: int32
                        description: Type in saposcol result structure
                      SUBTYPE:
                        type: integer
                        format: int32
                        description: Subtype in saposcol result structure
                      SERIALNR:
                        type: integer
                        format: int32
                        description: Serial number in saposcol result structure
                      POOL_NBR:
                        type: integer
                        format: int32
                        description: AS/400 Number of Pools
                      MAX_ACTIVE:
                        type: integer
                        format: int32
                        description: maximum number of active
                      POOL_SIZE:
                        type: integer
                        format: int32
                        description: size of as/400 pool
                      MACHINE_RE:
                        type: integer
                        format: int32
                        description: 'as/400 pool: machine reserved space'
                      DB_FLT:
                        type: integer
                        format: int32
                        description: as/400 page faults
                      NON_DB_FLT:
                        type: integer
                        format: int32
                        description: as/400 page faults
                      DB_PG:
                        type: integer
                        format: int32
                        description: as/400 pool:page faults
                      NON_DB_PG:
                        type: integer
                        format: int32
                        description: as/400 pool:page faults
                      ACT_2_WAIT:
                        type: integer
                        format: int32
                        description: 'as/400 pool: job transitions'
                      ACT_2_INL:
                        type: integer
                        format: int32
                        description: 'as/400 pool: job transitions'
                      WAIT_2_INL:
                        type: integer
                        format: int32
                        description: 'as/400 pool: job transitions'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIVEFLAG:
                    type: integer
                    format: int32
                  DETAILSCOLL:
                    type: integer
                    format: int32
                  DETAILSMODE:
                    type: integer
                    format: int32
                  DETAILSREQI:
                    type: integer
                    format: int32
                  F_POOL_SINGLE_READ:
                    type: string
                    maxLength: 3
                  INTERVAL:
                    type: integer
                    format: int32
                  LASTCOLLINT:
                    type: integer
                    format: int32
                  LASTCOLLWRT:
                    type: string
                    maxLength: 25
                  NORMCOLLINT:
                    type: integer
                    format: int32
                  TF_POOL_SINGLE:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: integer
                          format: int32
                          description: Type in saposcol result structure
                        SUBTYPE:
                          type: integer
                          format: int32
                          description: Subtype in saposcol result structure
                        SERIALNR:
                          type: integer
                          format: int32
                          description: Serial number in saposcol result structure
                        POOL_NBR:
                          type: integer
                          format: int32
                          description: AS/400 Number of Pools
                        MAX_ACTIVE:
                          type: integer
                          format: int32
                          description: maximum number of active
                        POOL_SIZE:
                          type: integer
                          format: int32
                          description: size of as/400 pool
                        MACHINE_RE:
                          type: integer
                          format: int32
                          description: 'as/400 pool: machine reserved space'
                        DB_FLT:
                          type: integer
                          format: int32
                          description: as/400 page faults
                        NON_DB_FLT:
                          type: integer
                          format: int32
                          description: as/400 page faults
                        DB_PG:
                          type: integer
                          format: int32
                          description: as/400 pool:page faults
                        NON_DB_PG:
                          type: integer
                          format: int32
                          description: as/400 pool:page faults
                        ACT_2_WAIT:
                          type: integer
                          format: int32
                          description: 'as/400 pool: job transitions'
                        ACT_2_INL:
                          type: integer
                          format: int32
                          description: 'as/400 pool: job transitions'
                        WAIT_2_INL:
                          type: integer
                          format: int32
                          description: 'as/400 pool: job transitions'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
