openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_ADM_GET_DATACLASSES:
    post:
      tags:
      - SDB6ADM
      summary: 'DB6: read dataclasses'
      operationId: /rfc/DB6_ADM_GET_DATACLASSES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language key
                DATA_CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      STATUSICON:
                        type: string
                        maxLength: 132
                        description: Carrier field for icons
                      STATUSTEXT:
                        type: string
                        maxLength: 255
                        description: 'DB6: Error text'
                      TABART:
                        type: string
                        maxLength: 5
                        description: Data class in technical settings
                      DDCLASS:
                        type: string
                        maxLength: 3
                        description: 'DD: Data class/size category (system, customer, standard)  enumValues: INT=Data class used internally,SYS=System data class,USR=User-defined data class,CPT=Pool/cluster data class,STD=Standard data class'
                        enum:
                        - INT
                        - SYS
                        - USR
                        - CPT
                        - STD
                      DESCR:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      CATEGORY:
                        type: string
                        maxLength: 60
                        description: Short Text for Fixed Values
                      TABLECNT:
                        type: integer
                        format: int32
                        description: 'DB6: number of related tables'
                      INDEXCNT:
                        type: integer
                        format: int32
                        description: 'DB6: number of related indexes'
                      DATASPACE:
                        type: string
                        maxLength: 30
                        description: 'DB6: Tablespace Name'
                      INDEXSPACE:
                        type: string
                        maxLength: 30
                        description: 'DB6: Tablespace Name'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATA_CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        STATUSICON:
                          type: string
                          maxLength: 132
                          description: Carrier field for icons
                        STATUSTEXT:
                          type: string
                          maxLength: 255
                          description: 'DB6: Error text'
                        TABART:
                          type: string
                          maxLength: 5
                          description: Data class in technical settings
                        DDCLASS:
                          type: string
                          maxLength: 3
                          description: 'DD: Data class/size category (system, customer, standard)  enumValues: INT=Data class used internally,SYS=System data class,USR=User-defined data class,CPT=Pool/cluster data class,STD=Standard data class'
                          enum:
                          - INT
                          - SYS
                          - USR
                          - CPT
                          - STD
                        DESCR:
                          type: string
                          maxLength: 60
                          description: Explanatory short text
                        CATEGORY:
                          type: string
                          maxLength: 60
                          description: Short Text for Fixed Values
                        TABLECNT:
                          type: integer
                          format: int32
                          description: 'DB6: number of related tables'
                        INDEXCNT:
                          type: integer
                          format: int32
                          description: 'DB6: number of related indexes'
                        DATASPACE:
                          type: string
                          maxLength: 30
                          description: 'DB6: Tablespace Name'
                        INDEXSPACE:
                          type: string
                          maxLength: 30
                          description: 'DB6: Tablespace Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
