openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_INDEX_TABLE:
    post:
      tags:
      - TREX_RFC_INDEX
      summary: Indiziert Dokumente
      operationId: /rfc/TREX_RFC_INDEX_TABLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTO_OPTIMIZE:
                  type: integer
                  format: int64
                  description: Numeric 1-character
                BIG_ENDIAN:
                  type: integer
                  format: int64
                  description: '1: Big endian, 0: Little endian'
                DEINDEX:
                  type: string
                  format: byte
                  description: Numeric 1-character
                IGNORE_LOGICAL_INDEX:
                  type: integer
                  format: int64
                  description: Numeric 1-character
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                TRANSACTION_ID:
                  type: string
                  format: byte
                  description: Numeric 1-character
                USE_QUEUESERVER:
                  type: string
                  format: byte
                  description: allgemeines flag
                COMP_DESCR:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD_LENGTH:
                        type: integer
                        format: int64
                        description: Field length in character
                      BYTE_LENGTH:
                        type: integer
                        format: int64
                        description: Field length in bytes
                      BYTE_OFFSET:
                        type: integer
                        format: int64
                        description: Offset length in bytes
                      DECIMALS:
                        type: integer
                        format: int64
                        description: ''
                      FIELD_NAME:
                        type: string
                        format: byte
                        description: Fieldname in aggregation result (ETDATA)
                      FIELD_TYPE:
                        type: string
                        format: byte
                        description: ABAP Type of field in aggregation result
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: Attribute name
                      IGNORE_COLUMN:
                        type: string
                        format: byte
                        description: 'X: This column is ignored (no indexing)'
              required:
              - INDEX_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMPONENT_RUNTIME:
                    type: object
                    properties:
                      RFC_SERVER_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_CLIENT_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_KERNEL_TIME:
                        type: integer
                        format: int64
                        description: ''
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  COMP_DESCR:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD_LENGTH:
                          type: integer
                          format: int64
                          description: Field length in character
                        BYTE_LENGTH:
                          type: integer
                          format: int64
                          description: Field length in bytes
                        BYTE_OFFSET:
                          type: integer
                          format: int64
                          description: Offset length in bytes
                        DECIMALS:
                          type: integer
                          format: int64
                          description: ''
                        FIELD_NAME:
                          type: string
                          format: byte
                          description: Fieldname in aggregation result (ETDATA)
                        FIELD_TYPE:
                          type: string
                          format: byte
                          description: ABAP Type of field in aggregation result
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: Attribute name
                        IGNORE_COLUMN:
                          type: string
                          format: byte
                          description: 'X: This column is ignored (no indexing)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
