openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_SPID_ACTIVITY:
    post:
      tags:
      - SFMSS_MISC
      summary: Get name of stored procedure being executed on a spid.
      operationId: /rfc/MSS_GET_SPID_ACTIVITY
      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: Schema name
                SPID:
                  type: integer
                  format: int32
                  description: MS SQL server process id
              required:
              - SPID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SPIDTEXT:
                    type: string
                    description: SQL definition statement text
                  SPIDTEXT_LEN:
                    type: integer
                    format: int32
                    description: Natural number
                  SPNAME:
                    type: string
                    maxLength: 128
                    description: Stored procedure name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
