openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_INFO_DEVICES_INF:
    post:
      tags:
      - SDBI
      operationId: /rfc/GET_INFO_DEVICES_INF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TAB_DEV:
                  type: array
                  items:
                    type: object
                    properties:
                      DEVICE:
                        type: string
                        maxLength: 5
                        description: Last no. in '.../sapdata/physdev1' or drive ID (WinNT)
                      RAWDEVNAME:
                        type: string
                        maxLength: 25
                        description: 'INFORMIX: ''basename'' of a (chunk) ''raw device'''
                      DBSNAME:
                        type: string
                        maxLength: 18
                        description: DBSpace Name
                      DBSNO:
                        type: integer
                        format: int32
                        description: 'INFORMIX: (Internal) ''dbspace'' number'
                      CHUNKNO:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Chunk number'
                      OFFSET:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Offset of a ''chunk'' in the ''raw device'' (in KB)'
                      CHUNK_SZ:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Total size of a ''chunk'' (in KB)'
                      FREE_SZ:
                        type: integer
                        format: int32
                        description: 'INFORMIX: Freespace in a ''chunk'' (in KB)'
                      CHUNK_FL:
                        type: string
                        maxLength: 15
                        description: 'INFORMIX: ''Chunk'' status (online, offline,...)'
                      MIRROR:
                        type: string
                        maxLength: 1
                        description: Mirrored Chunk
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TAB_DEV:
                    type: array
                    items:
                      type: object
                      properties:
                        DEVICE:
                          type: string
                          maxLength: 5
                          description: Last no. in '.../sapdata/physdev1' or drive ID (WinNT)
                        RAWDEVNAME:
                          type: string
                          maxLength: 25
                          description: 'INFORMIX: ''basename'' of a (chunk) ''raw device'''
                        DBSNAME:
                          type: string
                          maxLength: 18
                          description: DBSpace Name
                        DBSNO:
                          type: integer
                          format: int32
                          description: 'INFORMIX: (Internal) ''dbspace'' number'
                        CHUNKNO:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Chunk number'
                        OFFSET:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Offset of a ''chunk'' in the ''raw device'' (in KB)'
                        CHUNK_SZ:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Total size of a ''chunk'' (in KB)'
                        FREE_SZ:
                          type: integer
                          format: int32
                          description: 'INFORMIX: Freespace in a ''chunk'' (in KB)'
                        CHUNK_FL:
                          type: string
                          maxLength: 15
                          description: 'INFORMIX: ''Chunk'' status (online, offline,...)'
                        MIRROR:
                          type: string
                          maxLength: 1
                          description: Mirrored Chunk
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
