openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_R3REPORT_USER:
    post:
      tags:
      - SFMSS_LM
      summary: MS SQL server to get column density for a given table
      operationId: /rfc/MSS_GET_R3REPORT_USER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOSTNAME:
                  type: string
                  maxLength: 30
                  description: MS SQL server table or index name
                PROGNAME:
                  type: string
                  maxLength: 30
                  description: MS SQL Server program name
                SERVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      HOST:
                        type: string
                        maxLength: 32
                        description: Name of Application Server
                      SERV:
                        type: string
                        maxLength: 20
                        description: Service
                      MSGTYPES:
                        type: string
                        format: byte
                        description: Services
                      HOSTADR:
                        type: string
                        format: byte
                        description: Host IP address
                      SERVNO:
                        type: string
                        format: byte
                        description: Service port number
                      STATE:
                        type: string
                        format: byte
                        description: Server Status
              required:
              - HOSTNAME
              - PROGNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REPORTNAME:
                    type: string
                    maxLength: 40
                    description: Report now running
                  USERNAME:
                    type: string
                    maxLength: 12
                    description: Table density information
                  SERVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        HOST:
                          type: string
                          maxLength: 32
                          description: Name of Application Server
                        SERV:
                          type: string
                          maxLength: 20
                          description: Service
                        MSGTYPES:
                          type: string
                          format: byte
                          description: Services
                        HOSTADR:
                          type: string
                          format: byte
                          description: Host IP address
                        SERVNO:
                          type: string
                          format: byte
                          description: Service port number
                        STATE:
                          type: string
                          format: byte
                          description: Server Status
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
