openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_WORKLOAD_SAVE_DETAILTCOD:
    post:
      tags:
      - STUW
      operationId: /rfc/SAPWL_WORKLOAD_SAVE_DETAILTCOD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOSTID:
                  type: string
                  maxLength: 8
                PERIODTYPE:
                  type: string
                  maxLength: 1
                STARTDATE:
                  type: string
                  format: date
                DETAILTCODE_STATISTIC:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        format: byte
                        description: 'SAP Workload: Workload: task type (Dia, Btc, Upd, ... )'
                      ENTRY_ID:
                        type: string
                        maxLength: 73
                        description: 'SAP Workload: Workload: Tcode, report or report+jobname'
                      FCODE:
                        type: string
                        maxLength: 20
                        description: 'SAP Workload: Workload: Function code'
                      ACCOUNT:
                        type: string
                        maxLength: 12
                        description: 'SAP Workload: Workload: user name or account'
                      COUNT:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Workload: Number of dialog steps'
                      RESPTI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Response time'
                      CPUTI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: CPU time'
                      QUEUETI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Wait time'
                      READDIRCNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of direct read attempts'
                      READDIRTI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Time for direct read attempts'
                      READDIRBUF:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of direct reads in buffer'
                      READSEQCNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of sequential read operations'
                      READSEQTI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Time for sequential read operations.'
                      PHYREADCNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of physical read operations.'
                      CHNGCNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of modifying accesses'
                      CHNGTI:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Time for modifying accesses'
                      PHYCHNGREC:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Number of modified records in d/bank'
                      BYTES:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: Transfered bytes'
                      GUITIME:
                        type: integer
                        format: int64
                        description: 'SAP Workload: -GUITIME- Zeitverbrauch am Frontend'
                      GUICNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: -GUICNT-  Anzahl Roundtrips zum Fronten'
                      GUINETTIME:
                        type: integer
                        format: int64
                        description: 'SAP Workload: -GUINETTIME- Netzwerkzeit zum Frontend'
                      DBP_COUNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: DB-Procedure Anzahl Zugriffe'
                      DBP_TIME:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Workload: DB-Procedure Zeit für Zugriffe'
                      LUW_COUNT:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Number of LUW Changes/Transaction Steps'
              required:
              - HOSTID
              - PERIODTYPE
              - STARTDATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DETAILTCODE_STATISTIC:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          format: byte
                          description: 'SAP Workload: Workload: task type (Dia, Btc, Upd, ... )'
                        ENTRY_ID:
                          type: string
                          maxLength: 73
                          description: 'SAP Workload: Workload: Tcode, report or report+jobname'
                        FCODE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload: Workload: Function code'
                        ACCOUNT:
                          type: string
                          maxLength: 12
                          description: 'SAP Workload: Workload: user name or account'
                        COUNT:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Workload: Number of dialog steps'
                        RESPTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Response time'
                        CPUTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: CPU time'
                        QUEUETI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Wait time'
                        READDIRCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of direct read attempts'
                        READDIRTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Time for direct read attempts'
                        READDIRBUF:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of direct reads in buffer'
                        READSEQCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of sequential read operations'
                        READSEQTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Time for sequential read operations.'
                        PHYREADCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of physical read operations.'
                        CHNGCNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of modifying accesses'
                        CHNGTI:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Time for modifying accesses'
                        PHYCHNGREC:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Number of modified records in d/bank'
                        BYTES:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: Transfered bytes'
                        GUITIME:
                          type: integer
                          format: int64
                          description: 'SAP Workload: -GUITIME- Zeitverbrauch am Frontend'
                        GUICNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: -GUICNT-  Anzahl Roundtrips zum Fronten'
                        GUINETTIME:
                          type: integer
                          format: int64
                          description: 'SAP Workload: -GUINETTIME- Netzwerkzeit zum Frontend'
                        DBP_COUNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: DB-Procedure Anzahl Zugriffe'
                        DBP_TIME:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Workload: DB-Procedure Zeit für Zugriffe'
                        LUW_COUNT:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Number of LUW Changes/Transaction Steps'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
