openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_COLL_LIST:
    post:
      tags:
      - SMSSDBCOLL
      operationId: /rfc/MSS_COLL_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CCLASS:
                  type: string
                  default: E
                  maxLength: 1
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical Name for a Database Connection
                CURRENT:
                  type: string
                  default: X
                  maxLength: 1
                FROM_DATE:
                  type: string
                  format: date
                  default: SPACE
                FROM_TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                GRIDLINE:
                  type: integer
                  format: int32
                  default: 60
                SAMPLE_ID:
                  type: integer
                  format: int32
                  default: 0
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Template description
                TIMEUNIT:
                  type: string
                  default: M
                  maxLength: 1
                UNTIL_DATE:
                  type: string
                  format: date
                  default: SPACE
                UNTIL_TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      DATUM:
                        type: string
                        format: date
                        description: Measurement Time
                      UZEIT:
                        type: string
                        maxLength: 6
                        description: Measurement Time
                      OBJ_NAME:
                        type: string
                        maxLength: 128
                        description: Statistics Object
                      CNTR_NAME:
                        type: string
                        maxLength: 128
                        description: Statistics Counter
                      INST_NAME:
                        type: string
                        maxLength: 128
                        description: Statistics Instance
                      CNTR_VALUE:
                        type: integer
                        format: int64
                        description: Counter value
                      SLOPE:
                        type: integer
                        format: int64
                        description: Slope
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        DATUM:
                          type: string
                          format: date
                          description: Measurement Time
                        UZEIT:
                          type: string
                          maxLength: 6
                          description: Measurement Time
                        OBJ_NAME:
                          type: string
                          maxLength: 128
                          description: Statistics Object
                        CNTR_NAME:
                          type: string
                          maxLength: 128
                          description: Statistics Counter
                        INST_NAME:
                          type: string
                          maxLength: 128
                          description: Statistics Instance
                        CNTR_VALUE:
                          type: integer
                          format: int64
                          description: Counter value
                        SLOPE:
                          type: integer
                          format: int64
                          description: Slope
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
