openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_PLAN_ATTRIBUTES:
    post:
      tags:
      - SFMSS_PERF
      summary: MS SQL server function to get statistics, showplan for SQL stmt execution.
      operationId: /rfc/MSS_PLAN_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a Database Connection
                PLAN_HANDLE:
                  type: string
                  maxLength: 128
                  description: handle pointing to plan used in execution of sql stmt/proc
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                PLAN_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 128
                        description: Plan attribute name
                      IS_CACHE_KEY:
                        type: string
                        maxLength: 6
                        description: Is cache key flag
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Plan attribute value
              required:
              - PLAN_HANDLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PLAN_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 128
                          description: Plan attribute name
                        IS_CACHE_KEY:
                          type: string
                          maxLength: 6
                          description: Is cache key flag
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Plan attribute value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
