openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_TRLIST:
    post:
      tags:
      - SFMSS_ANALYZE
      summary: 'PROF : Read the Trace-List'
      operationId: /rfc/MSS_GET_TRLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a Database Connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
                PROFLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      PERMID:
                        type: integer
                        format: int32
                        description: 'PROF : Unique internal number of  the trace'
                      TRACEID:
                        type: integer
                        format: int32
                        description: 'PROF : Trace ID from SQL Server (not unique)'
                      CRDATEC:
                        type: string
                        maxLength: 26
                        description: 'PROF : Starting timestamp  (SQL Server Format)'
                      SAPUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      ECLASS:
                        type: string
                        maxLength: 1
                        description: 'PROF : Trace-Event class'
                      MAX_MB:
                        type: integer
                        format: int32
                        description: 'PROF : Maximum size of the Tracefile [MB]'
                      ENDTIME:
                        type: string
                        maxLength: 26
                        description: 'PROF :  Time when the trace was closed'
                      STATUS:
                        type: string
                        maxLength: 3
                        description: Trace status
                      TRACEF:
                        type: string
                        maxLength: 320
                        description: 'PROF : Fully specified name of the tracefile'
                      FEXIST:
                        type: integer
                        format: int32
                        description: File exist
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROFLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        PERMID:
                          type: integer
                          format: int32
                          description: 'PROF : Unique internal number of  the trace'
                        TRACEID:
                          type: integer
                          format: int32
                          description: 'PROF : Trace ID from SQL Server (not unique)'
                        CRDATEC:
                          type: string
                          maxLength: 26
                          description: 'PROF : Starting timestamp  (SQL Server Format)'
                        SAPUSER:
                          type: string
                          maxLength: 12
                          description: User Name
                        ECLASS:
                          type: string
                          maxLength: 1
                          description: 'PROF : Trace-Event class'
                        MAX_MB:
                          type: integer
                          format: int32
                          description: 'PROF : Maximum size of the Tracefile [MB]'
                        ENDTIME:
                          type: string
                          maxLength: 26
                          description: 'PROF :  Time when the trace was closed'
                        STATUS:
                          type: string
                          maxLength: 3
                          description: Trace status
                        TRACEF:
                          type: string
                          maxLength: 320
                          description: 'PROF : Fully specified name of the tracefile'
                        FEXIST:
                          type: integer
                          format: int32
                          description: File exist
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
