openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSR_CACHE_COLLECT_ELEMENTS:
    post:
      tags:
      - RSR_CACHE
      operationId: /rfc/RSR_CACHE_COLLECT_ELEMENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_GLOBAL_CACHE:
                  type: string
                  maxLength: 1
                I_T_CACHE_TYPES:
                  type: array
                  items:
                    type: string
                    maxLength: 1
                    description: Cache Type
                E_T_CACHE_ELEMENTS_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      CACHE_TYPE:
                        type: string
                        maxLength: 1
                        description: Cache Type
                      ICON:
                        type: string
                        maxLength: 4
                        description: Icon Without Text
                      MEM_ID:
                        type: integer
                        format: int32
                        description: Memory ID
                      SWAPPED:
                        type: string
                        maxLength: 1
                        description: 'OLAP: Cache Swapped'
                      READ_FLAG:
                        type: string
                        maxLength: 1
                        description: 'OLAP: Cache Read Flag'
                      WRITE_FLAG:
                        type: string
                        maxLength: 1
                        description: 'OLAP: Cache Write Flag'
                      DIRTY_FLAG:
                        type: string
                        maxLength: 1
                        description: 'OLAP: Cache Dirty Flag'
                      DIRECTORY:
                        type: string
                        maxLength: 1
                        description: 'OLAP: Cache Directory'
                      SIZE_B:
                        type: integer
                        format: int64
                        description: 'OLAP: Cache Size in Bytes'
                      BUFFER_ID:
                        type: string
                        maxLength: 8
                        description: Buffer ID
                      LOG_ID:
                        type: string
                        format: byte
                        description: Logical ID
                      PARENT_MEM_ID:
                        type: integer
                        format: int32
                        description: Parent Memory ID
                      PARENT_LOG_ID:
                        type: string
                        format: byte
                        description: Parent Logical ID
                      CREATE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      READ_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      UPDATE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREATE_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      READ_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      UPDATE_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      COMPUTE_TIME:
                        type: integer
                        format: int64
                        description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                      READ_CNT:
                        type: integer
                        format: int32
                        description: Integer
                      SWAP_CNT:
                        type: integer
                        format: int32
                        description: Integer
                      MEM_ID_EXT:
                        type: string
                        maxLength: 70
                        description: External Memory ID
                      PARENT_MEM_ID_EXT:
                        type: string
                        maxLength: 70
                        description: External Parent Memory
                E_T_CACHE_MEDIUM_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      SERV:
                        type: string
                        maxLength: 20
                        description: Service
                      CACHE_TYPE:
                        type: string
                        maxLength: 1
                        description: Cache Type
                      MAX_SIZE_CACHE_KB:
                        type: integer
                        format: int64
                        description: Long Integer
                      ACT_SIZE_CACHE_KB:
                        type: integer
                        format: int64
                        description: Long Integer
                      ACT_SIZE_SWAP_KB:
                        type: integer
                        format: int64
                        description: Long Integer
                      ACT_SIZE_CACHE_CMP_KB:
                        type: integer
                        format: int64
                        description: Long Integer
                      ACT_SIZE_SWAP_CMP_KB:
                        type: integer
                        format: int64
                        description: Long Integer
                      ACT_ENTRY:
                        type: integer
                        format: int32
                        description: Integer
                      CACHE_ENTRY:
                        type: integer
                        format: int32
                        description: Integer
                      SWAP_ENTRY:
                        type: integer
                        format: int32
                        description: Integer
                      RING_ENTRY:
                        type: integer
                        format: int32
                        description: Integer
                      RING_POINTER:
                        type: integer
                        format: int32
                        description: Integer
                      POLLSTMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      USAGE:
                        type: integer
                        format: int32
                        description: Dummy for B20 int1 (Local Everywhere)
                      SHARED_QUOTA:
                        type: integer
                        format: int32
                        description: Integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_CACHE_TYPES:
                    type: array
                    items:
                      type: string
                      maxLength: 1
                      description: Cache Type
                  E_T_CACHE_ELEMENTS_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_NAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        CACHE_TYPE:
                          type: string
                          maxLength: 1
                          description: Cache Type
                        ICON:
                          type: string
                          maxLength: 4
                          description: Icon Without Text
                        MEM_ID:
                          type: integer
                          format: int32
                          description: Memory ID
                        SWAPPED:
                          type: string
                          maxLength: 1
                          description: 'OLAP: Cache Swapped'
                        READ_FLAG:
                          type: string
                          maxLength: 1
                          description: 'OLAP: Cache Read Flag'
                        WRITE_FLAG:
                          type: string
                          maxLength: 1
                          description: 'OLAP: Cache Write Flag'
                        DIRTY_FLAG:
                          type: string
                          maxLength: 1
                          description: 'OLAP: Cache Dirty Flag'
                        DIRECTORY:
                          type: string
                          maxLength: 1
                          description: 'OLAP: Cache Directory'
                        SIZE_B:
                          type: integer
                          format: int64
                          description: 'OLAP: Cache Size in Bytes'
                        BUFFER_ID:
                          type: string
                          maxLength: 8
                          description: Buffer ID
                        LOG_ID:
                          type: string
                          format: byte
                          description: Logical ID
                        PARENT_MEM_ID:
                          type: integer
                          format: int32
                          description: Parent Memory ID
                        PARENT_LOG_ID:
                          type: string
                          format: byte
                          description: Parent Logical ID
                        CREATE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        READ_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        UPDATE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CREATE_STMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        READ_STMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        UPDATE_STMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        COMPUTE_TIME:
                          type: integer
                          format: int64
                          description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                        READ_CNT:
                          type: integer
                          format: int32
                          description: Integer
                        SWAP_CNT:
                          type: integer
                          format: int32
                          description: Integer
                        MEM_ID_EXT:
                          type: string
                          maxLength: 70
                          description: External Memory ID
                        PARENT_MEM_ID_EXT:
                          type: string
                          maxLength: 70
                          description: External Parent Memory
                  E_T_CACHE_MEDIUM_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_NAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        SERV:
                          type: string
                          maxLength: 20
                          description: Service
                        CACHE_TYPE:
                          type: string
                          maxLength: 1
                          description: Cache Type
                        MAX_SIZE_CACHE_KB:
                          type: integer
                          format: int64
                          description: Long Integer
                        ACT_SIZE_CACHE_KB:
                          type: integer
                          format: int64
                          description: Long Integer
                        ACT_SIZE_SWAP_KB:
                          type: integer
                          format: int64
                          description: Long Integer
                        ACT_SIZE_CACHE_CMP_KB:
                          type: integer
                          format: int64
                          description: Long Integer
                        ACT_SIZE_SWAP_CMP_KB:
                          type: integer
                          format: int64
                          description: Long Integer
                        ACT_ENTRY:
                          type: integer
                          format: int32
                          description: Integer
                        CACHE_ENTRY:
                          type: integer
                          format: int32
                          description: Integer
                        SWAP_ENTRY:
                          type: integer
                          format: int32
                          description: Integer
                        RING_ENTRY:
                          type: integer
                          format: int32
                          description: Integer
                        RING_POINTER:
                          type: integer
                          format: int32
                          description: Integer
                        POLLSTMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        USAGE:
                          type: integer
                          format: int32
                          description: Dummy for B20 int1 (Local Everywhere)
                        SHARED_QUOTA:
                          type: integer
                          format: int32
                          description: Integer
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
