openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PF_READ_INTERVALS:
    post:
      tags:
      - PFFB
      operationId: /rfc/PF_READ_INTERVALS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INTERVALS:
                  type: array
                  items:
                    type: object
                    properties:
                      EYEON:
                        type: string
                        maxLength: 4
                        description: Eye-Catcher in SAP Statistics Record
                      RECLEN:
                        type: integer
                        format: int32
                        description: int2 Value for SAP Statistics
                      RECTYPE:
                        type: string
                        format: byte
                        description: Statistics, hex 1 field
                      NEXTREC:
                        type: string
                        format: byte
                        description: Statistics, hex 1 field
                      PREVREC:
                        type: string
                        format: byte
                        description: Statistics, hex 1 field
                      INDEX:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      F_INDEX:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      NO_SONS:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      DEPTH:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      CLASS:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      STAMP:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      KEY:
                        type: string
                        maxLength: 64
                        description: 'SAP Statistics: Time Interval Key'
                      SUM:
                        type: number
                        description: Double field for statistics
                      SUM_PERC:
                        type: number
                        description: Double field for statistics
                      COUNT:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      MIN:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      MAX:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      FIRST:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      LAST:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      EYEOFF:
                        type: string
                        maxLength: 4
                        description: Statistics, eye catcher
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INTERVALS:
                    type: array
                    items:
                      type: object
                      properties:
                        EYEON:
                          type: string
                          maxLength: 4
                          description: Eye-Catcher in SAP Statistics Record
                        RECLEN:
                          type: integer
                          format: int32
                          description: int2 Value for SAP Statistics
                        RECTYPE:
                          type: string
                          format: byte
                          description: Statistics, hex 1 field
                        NEXTREC:
                          type: string
                          format: byte
                          description: Statistics, hex 1 field
                        PREVREC:
                          type: string
                          format: byte
                          description: Statistics, hex 1 field
                        INDEX:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        F_INDEX:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        NO_SONS:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        DEPTH:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        CLASS:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        STAMP:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        KEY:
                          type: string
                          maxLength: 64
                          description: 'SAP Statistics: Time Interval Key'
                        SUM:
                          type: number
                          description: Double field for statistics
                        SUM_PERC:
                          type: number
                          description: Double field for statistics
                        COUNT:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        MIN:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        MAX:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        FIRST:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        LAST:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        EYEOFF:
                          type: string
                          maxLength: 4
                          description: Statistics, eye catcher
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
