openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_STATICSERVER_MSS:
    post:
      tags:
      - SFMSS_CONFIG
      summary: get data on the Server and SQL Server system is on
      operationId: /rfc/GET_STATICSERVER_MSS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                SERVERDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      HOSTNAME:
                        type: string
                        maxLength: 30
                        description: Hostname of the application server logged into SQL Server
                      SQLVERSION:
                        type: string
                        maxLength: 50
                        description: Version of the database management system.
                      SQLBUILDNM:
                        type: integer
                        format: int32
                        description: SQL Server build number (corresponding to a Service Pack).
                      PRODLEVEL:
                        type: string
                        maxLength: 12
                        description: Date the executable sqlservr.exe was created.
                      SQLSTARTTM:
                        type: string
                        maxLength: 20
                        description: Date and time of last SQL Server start.
                      SQLEE:
                        type: string
                        maxLength: 1
                        description: 'SQL Server edition: ''X'' = Enterprise Ed., ''C'' Cluster in use'
                      NTVER:
                        type: string
                        maxLength: 1
                        description: 'OS edition: A=Advanced Server, S=Server, D=Datacenter.'
                      PARAMDIFF:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DISKPERF:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ISCLUSTER:
                        type: string
                        maxLength: 1
                        description: Is SQL Server clustered 'Y' or 'N'
                      IS3GB:
                        type: string
                        maxLength: 1
                        description: Is SQL Server on machine with /3GB switch on 'Y' or 'N'
                      ISPAE:
                        type: string
                        maxLength: 1
                        description: Is SQL Server on machine with PAE 'Y' or 'N'
                      ISAWE:
                        type: string
                        maxLength: 1
                        description: Is SQL Server  AWE enabled Y' or 'N'
                      CHIP:
                        type: string
                        maxLength: 20
                        description: Processor type being used on the host running SQL Server.
                      WINVER:
                        type: string
                        maxLength: 80
                        description: Operating system version running on SQL Server host.
                      NUMCPUS:
                        type: integer
                        format: int32
                        description: Number of CPUs on the host which runs SQL Server.
                      SQLCPUS:
                        type: integer
                        format: int32
                        description: Maximum number of CPUs SQL Server is configured to use.
                      MASK:
                        type: string
                        maxLength: 8
                        description: Bitmask representing the CPUs available to Windows.
                      PHYMEM:
                        type: integer
                        format: int32
                        description: Amount of RAM on the server running SQL Server
                      TRACEFLAGS:
                        type: string
                        maxLength: 255
                        description: Trace flags which are currently set for SQL Server.
                      MEMSETTING:
                        type: string
                        maxLength: 10
                        description: Specifies how SQL Server memory parameters have been set
                      AGTLOGLOC:
                        type: string
                        maxLength: 255
                        description: UNC path to a file used by SQL Server
                      ERRLOGLOC:
                        type: string
                        maxLength: 255
                        description: UNC path to a file used by SQL Server
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SERVERDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        HOSTNAME:
                          type: string
                          maxLength: 30
                          description: Hostname of the application server logged into SQL Server
                        SQLVERSION:
                          type: string
                          maxLength: 50
                          description: Version of the database management system.
                        SQLBUILDNM:
                          type: integer
                          format: int32
                          description: SQL Server build number (corresponding to a Service Pack).
                        PRODLEVEL:
                          type: string
                          maxLength: 12
                          description: Date the executable sqlservr.exe was created.
                        SQLSTARTTM:
                          type: string
                          maxLength: 20
                          description: Date and time of last SQL Server start.
                        SQLEE:
                          type: string
                          maxLength: 1
                          description: 'SQL Server edition: ''X'' = Enterprise Ed., ''C'' Cluster in use'
                        NTVER:
                          type: string
                          maxLength: 1
                          description: 'OS edition: A=Advanced Server, S=Server, D=Datacenter.'
                        PARAMDIFF:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DISKPERF:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        ISCLUSTER:
                          type: string
                          maxLength: 1
                          description: Is SQL Server clustered 'Y' or 'N'
                        IS3GB:
                          type: string
                          maxLength: 1
                          description: Is SQL Server on machine with /3GB switch on 'Y' or 'N'
                        ISPAE:
                          type: string
                          maxLength: 1
                          description: Is SQL Server on machine with PAE 'Y' or 'N'
                        ISAWE:
                          type: string
                          maxLength: 1
                          description: Is SQL Server  AWE enabled Y' or 'N'
                        CHIP:
                          type: string
                          maxLength: 20
                          description: Processor type being used on the host running SQL Server.
                        WINVER:
                          type: string
                          maxLength: 80
                          description: Operating system version running on SQL Server host.
                        NUMCPUS:
                          type: integer
                          format: int32
                          description: Number of CPUs on the host which runs SQL Server.
                        SQLCPUS:
                          type: integer
                          format: int32
                          description: Maximum number of CPUs SQL Server is configured to use.
                        MASK:
                          type: string
                          maxLength: 8
                          description: Bitmask representing the CPUs available to Windows.
                        PHYMEM:
                          type: integer
                          format: int32
                          description: Amount of RAM on the server running SQL Server
                        TRACEFLAGS:
                          type: string
                          maxLength: 255
                          description: Trace flags which are currently set for SQL Server.
                        MEMSETTING:
                          type: string
                          maxLength: 10
                          description: Specifies how SQL Server memory parameters have been set
                        AGTLOGLOC:
                          type: string
                          maxLength: 255
                          description: UNC path to a file used by SQL Server
                        ERRLOGLOC:
                          type: string
                          maxLength: 255
                          description: UNC path to a file used by SQL Server
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
