openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_START_TRACE:
    post:
      tags:
      - SFMSS_ANALYZE
      summary: 'PROF : Trace initialisieren und starten'
      operationId: /rfc/MSS_START_TRACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logischer Name einer Datenbankverbindung
                INITPARA:
                  type: object
                  properties:
                    ECLASS:
                      type: string
                      maxLength: 1
                      description: 'PROF : Trace-Event class'
                    FPATH:
                      type: string
                      maxLength: 256
                      description: ''
                    FNAME:
                      type: string
                      maxLength: 64
                      description: ''
                    MAX_MB:
                      type: integer
                      format: int32
                      description: 'PROF : Maximum size of the Tracefile [MB]'
                    MAX_HR:
                      type: integer
                      format: int32
                      description: ''
                    HOSTNAME:
                      type: string
                      maxLength: 128
                      description: 'PROF : Hostname of the SQL Client'
                    HOSTPID:
                      type: integer
                      format: int32
                      description: 'PROF : Process ID of the SQL Client Process'
                    DURATION:
                      type: integer
                      format: int64
                      description: 'PROF :  Duration in ms'
                    NRREADS:
                      type: integer
                      format: int64
                      description: 'PROF :  Number of logical reads'
                    NRWRITES:
                      type: integer
                      format: int64
                      description: 'PROF : Number of write operations'
                    OBJECT_NAME:
                      type: string
                      maxLength: 128
                      description: Object name
                    DBUSER:
                      type: string
                      maxLength: 128
                      description: Schema name
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schemaname
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
