openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_DB6CSTRC_PROG_CONT:
    post:
      tags:
      - SDB6CSTRACE
      summary: 'DB6: Get Summary for Cumulative SQL Trace'
      operationId: /rfc/DB6_PM_DB6CSTRC_PROG_CONT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                OPTLEVEL:
                  type: string
                  maxLength: 1
                  description: Database Optimization Level
                STMT_STR:
                  type: string
                  maxLength: 200
                  description: First 200 Characters of the Statement Text
                STMT_STR_LEN:
                  type: integer
                  format: int32
                  description: Length of SQL Statement
                TABLENAME:
                  type: string
                  maxLength: 16
                  description: Name of the First Table in the SQL Statement
                ABAP:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 40
                        description: ''
                      CONT:
                        type: integer
                        format: int32
                        description: ''
                      LINE:
                        type: integer
                        format: int64
                        description: ''
                      SOURCE:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
              required:
              - OPTLEVEL
              - STMT_STR
              - STMT_STR_LEN
              - TABLENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABAP:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 40
                          description: ''
                        CONT:
                          type: integer
                          format: int32
                          description: ''
                        LINE:
                          type: integer
                          format: int64
                          description: ''
                        SOURCE:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
