openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_ASTAT_READ_REMOTE:
    post:
      tags:
      - SAPWL_STAT
      operationId: /rfc/SAPWL_ASTAT_READ_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NO_BUFFER_FLUSH:
                  type: string
                  maxLength: 1
                NO_OF_RECORDS:
                  type: integer
                  format: int32
                  default: -1
                READ_CLIENT:
                  type: string
                  maxLength: 3
                READ_END_DATE:
                  type: string
                  format: date
                READ_END_TIME:
                  type: string
                  maxLength: 6
                READ_EXCLUDE_USERNAME:
                  type: string
                  maxLength: 12
                READ_START_DATE:
                  type: string
                  format: date
                READ_START_TIME:
                  type: string
                  maxLength: 6
                READ_USERNAME:
                  type: string
                  maxLength: 12
                READ_WORKPROCESS:
                  type: string
                  format: byte
                  default: FFFF
              required:
              - NO_OF_RECORDS
              - READ_END_DATE
              - READ_END_TIME
              - READ_START_DATE
              - READ_START_TIME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASTAT_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        RECNO:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Workload: No. of records (main + sub records)'
                        DISPCNT:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: short integer'
                        DATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        STARTDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        ENDDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        ENDTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        RESPTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Response time in micro seconds'
                        CPUTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: CPU Time in Microseconds (Float Value from C)'
                        QUEUETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        WPID:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: short integer'
                        TASKTYPE:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        TABLOAD:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        DYNPRONR:
                          type: string
                          maxLength: 4
                          description: 'SAP Workload: Workload: Screen number'
                        REPORT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload: Workload: Report name'
                        ACCOUNT:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        ROLLKEY:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: roll key'
                        INPUTLEN:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXROLL:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXPAGE:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLINCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLINTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLOUTCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLOUTTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LOCKCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LOCKTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRBUF:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: DB Times in Microseconds (Float Value from C)'
                        READSEQREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQBUF:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYREADCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYINSCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYUPDCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYDELCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        COMMITTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        GENERATETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        REPLOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        CUALOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DYNPLOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DSQLCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        QUECNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        QUETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DDICTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        RFCCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        RFCTI:
                          type: number
                          description: 'SAP Workload: Workload: Floating point number'
                        MEMSUM:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PRIVSUM:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        USEDBYTES:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXBYTES:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXBYTESDI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PRIVMODE:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        WPRESTART:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        TRANSID:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: Workload: Transaction ID'
                        ROLLED_OUT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Wait time in status "Rolled out"'
                        DBPROCCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DBPROCTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LUW_INFO:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        SLI_CNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        TERMINALID:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload: Workload: presentation server'
                        IKEY:
                          type: string
                          maxLength: 30
                          description: 'SAP Workload: Workload: Init/Open key of application stats.'
                        OKEY:
                          type: string
                          maxLength: 30
                          description: 'SAP Workload: Workload: Init/Open key of application stats.'
                        STATE:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Workload: Status of application statistic recs'
                        TCODE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload: Workload: transaction code'
                        APPL_INFO:
                          type: string
                          maxLength: 50
                          description: 'SAP Workload: Appl. Info in the Appl Statistical Data Record'
                        GUITIME:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        GUICNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                  ASTAT_RECORDS_KB:
                    type: array
                    items:
                      type: object
                      properties:
                        RECNO:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Workload: No. of records (main + sub records)'
                        DISPCNT:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: short integer'
                        DATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        STARTDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        ENDDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        ENDTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        RESPTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Response time in micro seconds'
                        CPUTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: CPU Time in Microseconds (Float Value from C)'
                        QUEUETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        WPID:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: short integer'
                        TASKTYPE:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        TABLOAD:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        DYNPRONR:
                          type: string
                          maxLength: 4
                          description: 'SAP Workload: Workload: Screen number'
                        REPORT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload: Workload: Report name'
                        ACCOUNT:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        ROLLKEY:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: roll key'
                        INPUTLEN:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXROLL:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXPAGE:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLINCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLINTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLOUTCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        ROLLOUTTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LOCKCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LOCKTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READDIRBUF:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: DB Times in Microseconds (Float Value from C)'
                        READSEQREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        READSEQBUF:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYREADCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        INSREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYINSCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        UPDREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYUPDCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DELREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PHYDELCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        COMMITTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        GENERATETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        REPLOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        CUALOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DYNPLOADTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DSQLCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        QUECNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        QUETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DDICTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        RFCCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        RFCTI:
                          type: number
                          description: 'SAP Workload: Workload: Floating point number'
                        MEMSUM:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PRIVSUM:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        USEDBYTES:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXBYTES:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        MAXBYTESDI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        PRIVMODE:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        WPRESTART:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        TRANSID:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: Workload: Transaction ID'
                        ROLLED_OUT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Wait time in status "Rolled out"'
                        DBPROCCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        DBPROCTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        LUW_INFO:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: Byte'
                        SLI_CNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        TERMINALID:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload: Workload: presentation server'
                        IKEY:
                          type: string
                          maxLength: 30
                          description: 'SAP Workload: Workload: Init/Open key of application stats.'
                        OKEY:
                          type: string
                          maxLength: 30
                          description: 'SAP Workload: Workload: Init/Open key of application stats.'
                        STATE:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Workload: Status of application statistic recs'
                        TCODE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload: Workload: transaction code'
                        APPL_INFO:
                          type: string
                          maxLength: 50
                          description: 'SAP Workload: Appl. Info in the Appl Statistical Data Record'
                        GUITIME:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                        GUICNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: integer without a leading sign'
                  EOF_REACHED:
                    type: string
                    maxLength: 1
                  RECORDS_READ:
                    type: integer
                    format: int32
                    description: Number of records read
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
