openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_SQLPERFLOCKS_MSS:
    post:
      tags:
      - SFMSS_PERF
      summary: 'retrieve data from the counter objects: LOCKS'
      operationId: /rfc/GET_SQLPERFLOCKS_MSS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                LOCKTYPE:
                  type: string
                  maxLength: 15
                  description: DATABASE,EXTENT,KEY,PAGE,RID,or TABLE
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                SQLLOCKS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOCKTYPE:
                        type: string
                        maxLength: 15
                        description: The type of lock object being monitored
                      AVGWAITTIM:
                        type: integer
                        format: int64
                        description: Number of SQL batch requests received by server.
                      LCKREQUEST:
                        type: integer
                        format: int64
                        description: Number of new lock requests or lock conversion requests.
                      LCKTIMEOUT:
                        type: integer
                        format: int64
                        description: Number of lock requests that have timed out
                      LCKWAITTIM:
                        type: integer
                        format: int64
                        description: Total wait time in seconds for locks (up to last second).
                      NUMLOCKWTS:
                        type: integer
                        format: int64
                        description: Number of lock requests that resulted in a wait
                      NUMDEADLCK:
                        type: integer
                        format: int64
                        description: Number of lock requests that resulted in a deadlock.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SQLLOCKS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOCKTYPE:
                          type: string
                          maxLength: 15
                          description: The type of lock object being monitored
                        AVGWAITTIM:
                          type: integer
                          format: int64
                          description: Number of SQL batch requests received by server.
                        LCKREQUEST:
                          type: integer
                          format: int64
                          description: Number of new lock requests or lock conversion requests.
                        LCKTIMEOUT:
                          type: integer
                          format: int64
                          description: Number of lock requests that have timed out
                        LCKWAITTIM:
                          type: integer
                          format: int64
                          description: Total wait time in seconds for locks (up to last second).
                        NUMLOCKWTS:
                          type: integer
                          format: int64
                          description: Number of lock requests that resulted in a wait
                        NUMDEADLCK:
                          type: integer
                          format: int64
                          description: Number of lock requests that resulted in a deadlock.
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
