openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OSCOL_GET_STATISTIC:
    post:
      tags:
      - STUH
      operationId: /rfc/OSCOL_GET_STATISTIC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOSTID:
                  type: string
                  maxLength: 32
                PERIODTYPE:
                  type: string
                  maxLength: 1
                STARTDATE:
                  type: string
                  format: date
                TF_CPU_SUM:
                  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
                      USER_CPU:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      SYS_CPU:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      IDLE_CPU:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      INT_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      SYSC_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      CS_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      LD_AVG_MAX:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      LD_AVG_MIN:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      IDLE_TRUE:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      WAIT_TRUE:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                TF_DISK_SUM:
                  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
                      DISKNAME:
                        type: string
                        maxLength: 36
                        description: Name of a disk (for "SAPOSCOL")
                      AVG_UTIL:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_QUEUEL:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_WAIT:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_SERVIC:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MB_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      OP_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      RESPONSE:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                TF_FSYS_SUM:
                  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
                      FSYSNAME:
                        type: string
                        maxLength: 36
                        description: Name of a File System (for "SAPOSCOL")
                      CAPACITY:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      FREE:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                TF_HOUR_OK:
                  type: array
                  items:
                    type: object
                    properties:
                      TAGEPROSTU:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                TF_LAN_SUM:
                  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
                      LANNAME:
                        type: string
                        maxLength: 8
                        description: Name of a LAN (for "SAPOSCOL")
                      IN_PACKETS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      OUT_PACKET:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      IN_ERRORS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      OUT_ERRORS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      COLLISIONS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      PACKETS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      ERRORS:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                TF_MEM_SUM:
                  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
                      IN_PG_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      OUT_PG_HOU:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      IN_KB_HOUR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      OUT_KB_HOU:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MIN_FR_MEM:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MAX_FR_MEM:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_FR_MEM:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MIN_SWAPSZ:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MAX_SWAPSZ:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_SWAPSZ:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MIN_SWAPFR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      MAX_SWAPFR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
                      AVG_SWAPFR:
                        type: integer
                        format: int32
                        description: Data for tables to call "SAPOSCOL"
              required:
              - HOSTID
              - PERIODTYPE
              - STARTDATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SPEICHERD:
                    type: string
                    format: date
                  TF_CPU_SUM:
                    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
                        USER_CPU:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        SYS_CPU:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        IDLE_CPU:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        INT_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        SYSC_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        CS_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        LD_AVG_MAX:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        LD_AVG_MIN:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        IDLE_TRUE:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        WAIT_TRUE:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                  TF_DISK_SUM:
                    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
                        DISKNAME:
                          type: string
                          maxLength: 36
                          description: Name of a disk (for "SAPOSCOL")
                        AVG_UTIL:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_QUEUEL:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_WAIT:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_SERVIC:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MB_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        OP_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        RESPONSE:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                  TF_FSYS_SUM:
                    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
                        FSYSNAME:
                          type: string
                          maxLength: 36
                          description: Name of a File System (for "SAPOSCOL")
                        CAPACITY:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        FREE:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                  TF_HOUR_OK:
                    type: array
                    items:
                      type: object
                      properties:
                        TAGEPROSTU:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                  TF_LAN_SUM:
                    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
                        LANNAME:
                          type: string
                          maxLength: 8
                          description: Name of a LAN (for "SAPOSCOL")
                        IN_PACKETS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        OUT_PACKET:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        IN_ERRORS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        OUT_ERRORS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        COLLISIONS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        PACKETS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        ERRORS:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                  TF_MEM_SUM:
                    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
                        IN_PG_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        OUT_PG_HOU:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        IN_KB_HOUR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        OUT_KB_HOU:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MIN_FR_MEM:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MAX_FR_MEM:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_FR_MEM:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MIN_SWAPSZ:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MAX_SWAPSZ:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_SWAPSZ:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MIN_SWAPFR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        MAX_SWAPFR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
                        AVG_SWAPFR:
                          type: integer
                          format: int32
                          description: Data for tables to call "SAPOSCOL"
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
