openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_MEMORY_HISTORY:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_MEMORY_HISTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  format: date
                HOST:
                  type: string
                  maxLength: 32
                SYSTEM:
                  type: string
                  maxLength: 2
                ALLOCATION_PROC_DIALOG:
                  type: array
                  items:
                    type: object
                    properties:
                      MEMTYPE:
                        type: integer
                        format: int32
                        description: 'Memory type  enumValues: 2=Heap memory,1=Extended memory storage,0=Roll storage'
                        enum:
                        - '2'
                        - '1'
                        - '0'
                      AMOUNT:
                        type: integer
                        format: int64
                        description: Memory (bytes)
                ALLOCATION_PROC_NONDIALOG:
                  type: array
                  items:
                    type: object
                    properties:
                      MEMTYPE:
                        type: integer
                        format: int32
                        description: 'Memory type  enumValues: 2=Heap memory,1=Extended memory storage,0=Roll storage'
                        enum:
                        - '2'
                        - '1'
                        - '0'
                      AMOUNT:
                        type: integer
                        format: int64
                        description: Memory (bytes)
                EM_BLOCKS:
                  type: array
                  items:
                    type: object
                    properties:
                      SRVNAME:
                        type: string
                        maxLength: 20
                        description: Server Name
                      HANDLE:
                        type: integer
                        format: int32
                        description: 'EM-Data: handle'
                      ROLLKEY:
                        type: string
                        maxLength: 16
                        description: 'EM data:  rollkey'
                      ROLLINFO:
                        type: string
                        maxLength: 16
                        description: 'EM data: rollinfo'
                      ATTACHED:
                        type: integer
                        format: int32
                        description: 'EM-Data: attached'
                      WPID:
                        type: integer
                        format: int32
                        description: 'EM data: wpid'
                      ACTIMODE:
                        type: integer
                        format: int32
                        description: 'EM-Data: actimode'
                      MEMSUMKB:
                        type: integer
                        format: int32
                        description: 'EM data: memsumkb'
                      PRIVSUMKB:
                        type: integer
                        format: int32
                        description: 'EM data: privsumkb'
                      PRIVTIME:
                        type: string
                        maxLength: 6
                        description: 'EM data: privtime'
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
                      USEKB:
                        type: integer
                        format: int32
                        description: 'EM data: usedkb'
                      MAXKB:
                        type: integer
                        format: int32
                        description: 'EM data: maxkb'
                      MAXDIAKB:
                        type: integer
                        format: int32
                        description: 'EM-Data: maxdiakb'
                      STACKMODKB:
                        type: integer
                        format: int32
                        description: 'EM data: usedstackedmodeskb'
                      USGLOBALKB:
                        type: integer
                        format: int32
                        description: 'EM data: usedglobalkb'
                      USEHYPERKB:
                        type: integer
                        format: int32
                        description: 'EM data: usedhyperkb'
                      MEMOFREEMB:
                        type: integer
                        format: int32
                        description: 'EM data: esmemoryfreemb'
              required:
              - DATE
              - HOST
              - SYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EM_AND_HEAP:
                    type: object
                    properties:
                      EM_ATTACHD:
                        type: integer
                        format: int32
                        description: 'SAP memory statistik: history: EM attached [MB]'
                      EM_ALLOCTD:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: EM allocated [MB]'
                      EM_MX_USED:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: EM (maximum) used [MB]'
                      EM_TOTAL:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: EM available [MB]'
                      EM_SIZE:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: EM memory requirements [MB]'
                      HEAP_USED:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: heap currently used [bytes]'
                      HEAP_TOTAL:
                        type: integer
                        format: int32
                        description: 'SAP memory statistics: history: heap total [bytes]'
                      BLCKSIZEKB:
                        type: integer
                        format: int32
                        description: 'EM-Data: Block size in KB'
                  SYSID:
                    type: string
                    maxLength: 8
                  TIME:
                    type: string
                    maxLength: 6
                  ALLOCATION_PROC_DIALOG:
                    type: array
                    items:
                      type: object
                      properties:
                        MEMTYPE:
                          type: integer
                          format: int32
                          description: 'Memory type  enumValues: 2=Heap memory,1=Extended memory storage,0=Roll storage'
                          enum:
                          - '2'
                          - '1'
                          - '0'
                        AMOUNT:
                          type: integer
                          format: int64
                          description: Memory (bytes)
                  ALLOCATION_PROC_NONDIALOG:
                    type: array
                    items:
                      type: object
                      properties:
                        MEMTYPE:
                          type: integer
                          format: int32
                          description: 'Memory type  enumValues: 2=Heap memory,1=Extended memory storage,0=Roll storage'
                          enum:
                          - '2'
                          - '1'
                          - '0'
                        AMOUNT:
                          type: integer
                          format: int64
                          description: Memory (bytes)
                  EM_BLOCKS:
                    type: array
                    items:
                      type: object
                      properties:
                        SRVNAME:
                          type: string
                          maxLength: 20
                          description: Server Name
                        HANDLE:
                          type: integer
                          format: int32
                          description: 'EM-Data: handle'
                        ROLLKEY:
                          type: string
                          maxLength: 16
                          description: 'EM data:  rollkey'
                        ROLLINFO:
                          type: string
                          maxLength: 16
                          description: 'EM data: rollinfo'
                        ATTACHED:
                          type: integer
                          format: int32
                          description: 'EM-Data: attached'
                        WPID:
                          type: integer
                          format: int32
                          description: 'EM data: wpid'
                        ACTIMODE:
                          type: integer
                          format: int32
                          description: 'EM-Data: actimode'
                        MEMSUMKB:
                          type: integer
                          format: int32
                          description: 'EM data: memsumkb'
                        PRIVSUMKB:
                          type: integer
                          format: int32
                          description: 'EM data: privsumkb'
                        PRIVTIME:
                          type: string
                          maxLength: 6
                          description: 'EM data: privtime'
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
                        USEKB:
                          type: integer
                          format: int32
                          description: 'EM data: usedkb'
                        MAXKB:
                          type: integer
                          format: int32
                          description: 'EM data: maxkb'
                        MAXDIAKB:
                          type: integer
                          format: int32
                          description: 'EM-Data: maxdiakb'
                        STACKMODKB:
                          type: integer
                          format: int32
                          description: 'EM data: usedstackedmodeskb'
                        USGLOBALKB:
                          type: integer
                          format: int32
                          description: 'EM data: usedglobalkb'
                        USEHYPERKB:
                          type: integer
                          format: int32
                          description: 'EM data: usedhyperkb'
                        MEMOFREEMB:
                          type: integer
                          format: int32
                          description: 'EM data: esmemoryfreemb'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
