openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_SELECT_ALL_MSSDEADLCK:
    post:
      tags:
      - STUS
      summary: MS SQL Server select total deadlocks from MSSDEADLCK
      operationId: /rfc/MSS_SELECT_ALL_MSSDEADLCK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABAP_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                DEADLOCK_COUNT:
                  type: array
                  items:
                    type: object
                    properties:
                      OCCURTSTMP:
                        type: string
                        maxLength: 14
                        description: Timestamp for deadlock tracking
                      SPID:
                        type: integer
                        format: int32
                        description: MS SQL Server process ID
                      SPNAME:
                        type: string
                        maxLength: 128
                        description: Stored procedure name
                      ABAPREPORT:
                        type: string
                        maxLength: 40
                        description: Name of the ABAP report
                      ABAPLOCAT:
                        type: integer
                        format: int32
                        description: Offset of a Processing Control Block
                      HOSTNAME:
                        type: string
                        maxLength: 32
                        description: Name of Application Server
                      HOSTPID:
                        type: integer
                        format: int32
                        description: Process ID on app. server
                      WP_NUM:
                        type: integer
                        format: int32
                        description: Work process number
                      WP_TYPE:
                        type: string
                        maxLength: 2
                        description: Work process type
                      WINNER:
                        type: string
                        maxLength: 1
                        description: Survivor of deadlock flag
                      SEQ:
                        type: integer
                        format: int32
                        description: Deadlock sequence number
                      TNAME:
                        type: string
                        maxLength: 128
                        description: Table name
                      MESSAGE:
                        type: string
                        maxLength: 255
                        description: Deadlock message
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction code
                HOSTNAME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                LOCK_WINNER:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                SP_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                TAB_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                TIME_STAMP:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
                WP__TYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 128
                        description: ''
                      HIGH:
                        type: string
                        maxLength: 128
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABAP_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  DEADLOCK_COUNT:
                    type: array
                    items:
                      type: object
                      properties:
                        OCCURTSTMP:
                          type: string
                          maxLength: 14
                          description: Timestamp for deadlock tracking
                        SPID:
                          type: integer
                          format: int32
                          description: MS SQL Server process ID
                        SPNAME:
                          type: string
                          maxLength: 128
                          description: Stored procedure name
                        ABAPREPORT:
                          type: string
                          maxLength: 40
                          description: Name of the ABAP report
                        ABAPLOCAT:
                          type: integer
                          format: int32
                          description: Offset of a Processing Control Block
                        HOSTNAME:
                          type: string
                          maxLength: 32
                          description: Name of Application Server
                        HOSTPID:
                          type: integer
                          format: int32
                          description: Process ID on app. server
                        WP_NUM:
                          type: integer
                          format: int32
                          description: Work process number
                        WP_TYPE:
                          type: string
                          maxLength: 2
                          description: Work process type
                        WINNER:
                          type: string
                          maxLength: 1
                          description: Survivor of deadlock flag
                        SEQ:
                          type: integer
                          format: int32
                          description: Deadlock sequence number
                        TNAME:
                          type: string
                          maxLength: 128
                          description: Table name
                        MESSAGE:
                          type: string
                          maxLength: 255
                          description: Deadlock message
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction code
                  HOSTNAME:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  LOCK_WINNER:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  SP_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  TAB_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  TIME_STAMP:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
                  WP__TYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 128
                          description: ''
                        HIGH:
                          type: string
                          maxLength: 128
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
