openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TH_READ_USER_TRACE:
    post:
      tags:
      - THFB
      operationId: /rfc/TH_READ_USER_TRACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONV_ID:
                  type: string
                  default: '        '
                  maxLength: 8
                  description: User whose trace is to be read
                DATE:
                  type: string
                  format: date
                  default: '00000000'
                  description: User whose trace is to be read
                MODE:
                  type: string
                  default: '   '
                  maxLength: 3
                  description: User whose trace is to be read
                TIME:
                  type: string
                  default: '000000'
                  maxLength: 6
                  description: User whose trace is to be read
                TRACECOMPS:
                  type: string
                  default: All
                  maxLength: 20
                  description: User whose trace is to be read
                USER:
                  type: string
                  maxLength: 12
                  description: User whose trace is to be read
                WP_TYPE:
                  type: string
                  default: ALL
                  maxLength: 3
                  description: User whose trace is to be read
                USER_TRACE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 132
                        description: User trace line
                      USER:
                        type: string
                        maxLength: 12
                        description: User name
                      MODE:
                        type: string
                        maxLength: 3
                        description: User trace mode
                      STEP:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      UID:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      LINE_NO:
                        type: integer
                        format: int32
                        description: Statistics, counter field in raw statistical record
                      TIME:
                        type: string
                        maxLength: 6
                        description: User trace time
                      DATE:
                        type: string
                        format: date
                        description: Date in User trace
              required:
              - USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_TRACE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 132
                          description: User trace line
                        USER:
                          type: string
                          maxLength: 12
                          description: User name
                        MODE:
                          type: string
                          maxLength: 3
                          description: User trace mode
                        STEP:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        UID:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        LINE_NO:
                          type: integer
                          format: int32
                          description: Statistics, counter field in raw statistical record
                        TIME:
                          type: string
                          maxLength: 6
                          description: User trace time
                        DATE:
                          type: string
                          format: date
                          description: Date in User trace
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
