openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/APPLICATION_DATA_GET:
    post:
      tags:
      - STDT
      operationId: /rfc/APPLICATION_DATA_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEG_DATE:
                  type: string
                  format: date
                  description: Start Date
                END_DATE:
                  type: string
                  format: date
                  description: End Date
                DB_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      TNAME:
                        type: string
                        maxLength: 30
                        description: Table name
                      ANDAT:
                        type: string
                        maxLength: 12
                        description: Analysis date (yyyymmddhhmm)
                      NROWS:
                        type: integer
                        format: int64
                        description: Number of records in a table
                      OCCTB:
                        type: integer
                        format: int64
                        description: Used storage space of a table (in KB)
                      OCCIX:
                        type: integer
                        format: int64
                        description: Used storage space for the indexes of a table (in KB)
                      SIGNI:
                        type: integer
                        format: int32
                        description: 'Significance for Collection of Statistics  enumValues: 2=INFORMIX: HIGH for leading, MEDIUM for other index columns,1=INFORMIX: HIGH for all index columns'
                        enum:
                        - '2'
                        - '1'
                      AMETH:
                        type: string
                        maxLength: 4
                        description: 'Analysis Method for Collecting Statistics  enumValues: DB6B=DB2/UDB: Statistics Basis for Tables and Indexes (Standard),DB6Y=DB2/UDB: Basis for Tables, Distribution Frequency Indexes,CI=Create Exact Statistics and Evaluate Structure of Indexes,DB6A=DB2/UDB: Distribution Frequency for Tables and Indexes,DB6X=DB2/UDB: Distribution Frequency for Indexes,DB6E=DB2/UDB: Distribution Frequency: Tables, Basis for Indexes,EH=Estimate Statistics and Generate Histograms,AH=Generate
                          Statistics with Auto Sample Size and Histograms,DB6T=DB2/UDB: Basis Statistics for Tables,CH=Create Exact Statistics and Generate Histograms,EX=Estimate Statistics/Generate Histograms/Evaluate Structure,E=Estimate Statistics (Standard),EI=Estimate Statistics and Evaluate Structure of Indexes,DB6D=DB2/UDB: Distribution Frequency for Tables,A=Estimate Statistics with Auto Sample Size,AI=Statistics with Auto Sample + Structure Eval. of Indexes,CX=Create Exact Statistics/Generate
                          Histograms/Eval. Structure,C=Create Exact Statistics,AX=Statistics with Auto Sample + Histograms + Structure Eval.,DB6I=DB2/UDB: Basis Statistics for Indexes'
                        enum:
                        - DB6B
                        - DB6Y
                        - CI
                        - DB6A
                        - DB6X
                        - DB6E
                        - EH
                        - AH
                        - DB6T
                        - CH
                        - EX
                        - E
                        - EI
                        - DB6D
                        - A
                        - AI
                        - CX
                        - C
                        - AX
                        - DB6I
                      OPTIO:
                        type: string
                        maxLength: 5
                        description: Sample Size for Collection of Statistics
                MONI_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      RELID:
                        type: string
                        maxLength: 2
                        description: CHAR02 data element for SYST
                      SRTFD:
                        type: string
                        maxLength: 22
                        description: Character 22
                      SRTF2:
                        type: integer
                        format: int32
                        description: BIN4 data element for SYST
                      FILLER:
                        type: string
                        maxLength: 2
                        description: CHAR02 data element for SYST
                      CLUSTR:
                        type: integer
                        format: int32
                        description: BIN2 data element for SYST
                      CLUSTD:
                        type: string
                        format: byte
                        description: 'Data cluster MONI: Long raw'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        TNAME:
                          type: string
                          maxLength: 30
                          description: Table name
                        ANDAT:
                          type: string
                          maxLength: 12
                          description: Analysis date (yyyymmddhhmm)
                        NROWS:
                          type: integer
                          format: int64
                          description: Number of records in a table
                        OCCTB:
                          type: integer
                          format: int64
                          description: Used storage space of a table (in KB)
                        OCCIX:
                          type: integer
                          format: int64
                          description: Used storage space for the indexes of a table (in KB)
                        SIGNI:
                          type: integer
                          format: int32
                          description: 'Significance for Collection of Statistics  enumValues: 2=INFORMIX: HIGH for leading, MEDIUM for other index columns,1=INFORMIX: HIGH for all index columns'
                          enum:
                          - '2'
                          - '1'
                        AMETH:
                          type: string
                          maxLength: 4
                          description: 'Analysis Method for Collecting Statistics  enumValues: DB6B=DB2/UDB: Statistics Basis for Tables and Indexes (Standard),DB6Y=DB2/UDB: Basis for Tables, Distribution Frequency Indexes,CI=Create Exact Statistics and Evaluate Structure of Indexes,DB6A=DB2/UDB: Distribution Frequency for Tables and Indexes,DB6X=DB2/UDB: Distribution Frequency for Indexes,DB6E=DB2/UDB: Distribution Frequency: Tables, Basis for Indexes,EH=Estimate Statistics and Generate Histograms,AH=Generate
                            Statistics with Auto Sample Size and Histograms,DB6T=DB2/UDB: Basis Statistics for Tables,CH=Create Exact Statistics and Generate Histograms,EX=Estimate Statistics/Generate Histograms/Evaluate Structure,E=Estimate Statistics (Standard),EI=Estimate Statistics and Evaluate Structure of Indexes,DB6D=DB2/UDB: Distribution Frequency for Tables,A=Estimate Statistics with Auto Sample Size,AI=Statistics with Auto Sample + Structure Eval. of Indexes,CX=Create Exact Statistics/Generate
                            Histograms/Eval. Structure,C=Create Exact Statistics,AX=Statistics with Auto Sample + Histograms + Structure Eval.,DB6I=DB2/UDB: Basis Statistics for Indexes'
                          enum:
                          - DB6B
                          - DB6Y
                          - CI
                          - DB6A
                          - DB6X
                          - DB6E
                          - EH
                          - AH
                          - DB6T
                          - CH
                          - EX
                          - E
                          - EI
                          - DB6D
                          - A
                          - AI
                          - CX
                          - C
                          - AX
                          - DB6I
                        OPTIO:
                          type: string
                          maxLength: 5
                          description: Sample Size for Collection of Statistics
                  MONI_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        RELID:
                          type: string
                          maxLength: 2
                          description: CHAR02 data element for SYST
                        SRTFD:
                          type: string
                          maxLength: 22
                          description: Character 22
                        SRTF2:
                          type: integer
                          format: int32
                          description: BIN4 data element for SYST
                        FILLER:
                          type: string
                          maxLength: 2
                          description: CHAR02 data element for SYST
                        CLUSTR:
                          type: integer
                          format: int32
                          description: BIN2 data element for SYST
                        CLUSTD:
                          type: string
                          format: byte
                          description: 'Data cluster MONI: Long raw'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
