openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_SHOW_EXTENT:
    post:
      tags:
      - STUL
      summary: SQL Server show extent distribution per table
      operationId: /rfc/MSQ_SHOW_EXTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TABLE:
                  type: string
                  default: MONI
                  maxLength: 256
                  description: MS SQL server table or index name
                DISTRIBUTION:
                  type: array
                  items:
                    type: object
                    properties:
                      FILENUMB:
                        type: string
                        maxLength: 11
                        description: SQL Server file number
                      TABLE_ID:
                        type: string
                        maxLength: 12
                        description: SQL Server table object ID
                      INDEX_ID:
                        type: string
                        maxLength: 12
                        description: SQL Server index ID
                      NOALLOCPAG:
                        type: string
                        maxLength: 12
                        description: SQL Server number of allocated pages
                      EXTENTSIZ:
                        type: string
                        maxLength: 12
                        description: SQL Server extent size
                      EXTCOUNT:
                        type: integer
                        format: int32
                        description: SQL Server extent type count
                      LOGFILEN:
                        type: string
                        maxLength: 256
                        description: SQL Server logical filename
                      PHYFILEN:
                        type: string
                        maxLength: 520
                        description: SQL Server physical filename
                      FILEGRPN:
                        type: string
                        maxLength: 256
                        description: SQL Server filegroup name
                DISTSIMPLE:
                  type: array
                  items:
                    type: object
                    properties:
                      FILENUMB:
                        type: string
                        maxLength: 11
                        description: SQL Server file number
                      TABLE_ID:
                        type: string
                        maxLength: 12
                        description: SQL Server table object ID
                      INDEX_ID:
                        type: string
                        maxLength: 12
                        description: SQL Server index ID
                      NOALLOCPAG:
                        type: string
                        maxLength: 12
                        description: SQL Server number of allocated pages
                      EXTENTSIZ:
                        type: string
                        maxLength: 12
                        description: SQL Server extent size
                      EXTCOUNT:
                        type: integer
                        format: int32
                        description: SQL Server extent type count
                      LOGFILEN:
                        type: string
                        maxLength: 256
                        description: SQL Server logical filename
                      PHYFILEN:
                        type: string
                        maxLength: 520
                        description: SQL Server physical filename
                      FILEGRPN:
                        type: string
                        maxLength: 256
                        description: SQL Server filegroup name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DISTRIBUTION:
                    type: array
                    items:
                      type: object
                      properties:
                        FILENUMB:
                          type: string
                          maxLength: 11
                          description: SQL Server file number
                        TABLE_ID:
                          type: string
                          maxLength: 12
                          description: SQL Server table object ID
                        INDEX_ID:
                          type: string
                          maxLength: 12
                          description: SQL Server index ID
                        NOALLOCPAG:
                          type: string
                          maxLength: 12
                          description: SQL Server number of allocated pages
                        EXTENTSIZ:
                          type: string
                          maxLength: 12
                          description: SQL Server extent size
                        EXTCOUNT:
                          type: integer
                          format: int32
                          description: SQL Server extent type count
                        LOGFILEN:
                          type: string
                          maxLength: 256
                          description: SQL Server logical filename
                        PHYFILEN:
                          type: string
                          maxLength: 520
                          description: SQL Server physical filename
                        FILEGRPN:
                          type: string
                          maxLength: 256
                          description: SQL Server filegroup name
                  DISTSIMPLE:
                    type: array
                    items:
                      type: object
                      properties:
                        FILENUMB:
                          type: string
                          maxLength: 11
                          description: SQL Server file number
                        TABLE_ID:
                          type: string
                          maxLength: 12
                          description: SQL Server table object ID
                        INDEX_ID:
                          type: string
                          maxLength: 12
                          description: SQL Server index ID
                        NOALLOCPAG:
                          type: string
                          maxLength: 12
                          description: SQL Server number of allocated pages
                        EXTENTSIZ:
                          type: string
                          maxLength: 12
                          description: SQL Server extent size
                        EXTCOUNT:
                          type: integer
                          format: int32
                          description: SQL Server extent type count
                        LOGFILEN:
                          type: string
                          maxLength: 256
                          description: SQL Server logical filename
                        PHYFILEN:
                          type: string
                          maxLength: 520
                          description: SQL Server physical filename
                        FILEGRPN:
                          type: string
                          maxLength: 256
                          description: SQL Server filegroup name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
