openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_BUFFER_SYNCHRONIZATION:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_BUFFER_SYNCHRONIZATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS_SELECT:
                  type: object
                  properties:
                    CLASS_AB:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_DY:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_NT:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_CL:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_TL:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_TP:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_CU:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_SP:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_OT:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_OB:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    CLASS_ES:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                END_STAMP:
                  type: string
                  maxLength: 14
                HOSTNAME:
                  type: string
                  maxLength: 22
                START_STAMP:
                  type: string
                  maxLength: 14
                SYNCMODE:
                  type: integer
                  format: int64
                SYNC_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      HOST_ID:
                        type: string
                        maxLength: 22
                        description: Server name
                      SEQ_NR:
                        type: integer
                        format: int32
                        description: seq_nr
                      WR_TS:
                        type: string
                        maxLength: 14
                        description: Time stamp
                      CLASS:
                        type: integer
                        format: int64
                        description: Buffer class
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table name
                      SYNCMODE:
                        type: integer
                        format: int64
                        description: Synchronization function
                      KEYLEN:
                        type: integer
                        format: int32
                        description: Key length
                      SYNKEY:
                        type: string
                        maxLength: 32
                        description: Synchronization key
              required:
              - CLASS_SELECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYNC_STAT:
                    type: object
                    properties:
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: Start time of the DDLOG records
                      STARTDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ENDTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      ENDDATE:
                        type: string
                        format: date
                        description: END date
                      RECCOUNT:
                        type: integer
                        format: int32
                        description: Number of records read
                      ABTSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      ABLSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      DYTSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      DYLSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      NAMSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      CALSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      RESSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      PARSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      CUASUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      SPESUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      OTRSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      OBJSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      ESMSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                      TOTALSUM:
                        type: integer
                        format: int32
                        description: Number of DDLOG entries of a buffer class
                  SYNC_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        HOST_ID:
                          type: string
                          maxLength: 22
                          description: Server name
                        SEQ_NR:
                          type: integer
                          format: int32
                          description: seq_nr
                        WR_TS:
                          type: string
                          maxLength: 14
                          description: Time stamp
                        CLASS:
                          type: integer
                          format: int64
                          description: Buffer class
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table name
                        SYNCMODE:
                          type: integer
                          format: int64
                          description: Synchronization function
                        KEYLEN:
                          type: integer
                          format: int32
                          description: Key length
                        SYNKEY:
                          type: string
                          maxLength: 32
                          description: Synchronization key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
