openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_CREATE_INDEX:
    post:
      tags:
      - TREX_ARW_ADMINISTRATION
      summary: Create Index
      operationId: /rfc/TREX_ARW_CREATE_INDEX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_ATTRS_FREESTYLE:
                  type: string
                  format: byte
                  description: Indicator
                AUTO_CREATE_LANGUAGES:
                  type: string
                  format: byte
                  description: Language indexes are created automatically
                DESCRIPTION:
                  type: string
                  format: byte
                  description: Description
                DIRECT_USE:
                  type: string
                  format: byte
                  description: Indicator
                DOCS_CHANGE_LANGUAGE:
                  type: string
                  format: byte
                  description: Indicator
                DUPLICATE_DETECTION:
                  type: string
                  format: byte
                  description: Flag
                ESTIMATED_SIZE:
                  type: integer
                  format: int64
                  description: NUMC10 e.g.for estimated_size
                FAST_PREPROCESSING:
                  type: string
                  format: byte
                  description: Indicator
                IMPORT_PATH:
                  type: string
                  format: byte
                  description: Import Path
                IMPORT_WRITABLE:
                  type: string
                  format: byte
                  description: Indicator
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host and Port of the index server
                INDEX_ID:
                  type: string
                  format: byte
                  description: Index Id
                INDEX_TYPE:
                  type: string
                  format: byte
                  description: Flag
                INSERT_ONLY:
                  type: string
                  format: byte
                  description: Indicator
                IS_PUBLIC:
                  type: string
                  format: byte
                  description: '''X'': Index is published'
                IS_SEARCHABLE:
                  type: string
                  format: byte
                  description: Index can be used for searching
                KEEP_CONTENT:
                  type: string
                  format: byte
                  description: Content is stored on disk
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                LOGICAL_INDEX_TYPE:
                  type: string
                  format: byte
                  description: Flag
                MEMORY_INDEX:
                  type: string
                  format: byte
                  description: Memory index
                MULTILANG_DOCS:
                  type: string
                  format: byte
                  description: Flag
                NO_PHYSICAL_INDEXES:
                  type: integer
                  format: int64
                  description: Indicator
                NUMBER_SEPARATOR:
                  type: string
                  format: byte
                  description: Indicator
                PRECALCULATE_FEATURES:
                  type: string
                  format: byte
                  description: Document features are calculated and stored on disk
                QUEUESERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host and Port of the queue server
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                SIZE_FOR_DELTA_INDEX:
                  type: integer
                  format: int64
                  description: numc Feld
                TEXTMINING_RELEVANT:
                  type: string
                  format: byte
                  description: Text mining relevant
                TOKEN_SEPARATOR:
                  type: string
                  format: byte
                  description: Indicator
                USE_EXTERNAL_KEY:
                  type: string
                  format: byte
                  description: Indicator
                USE_QUEUESERVER:
                  type: string
                  format: byte
                  description: '''X'': Queue server is used'
                USE_TEMPORARY_DELTA_INDEXES:
                  type: string
                  format: byte
                  description: Indicator
                ATTRIBUTE_DEFINITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRNAME:
                        type: string
                        format: byte
                        description: ''
                      ATTRTYPE:
                        type: string
                        format: byte
                        description: ''
                      IMPLFLAGS:
                        type: integer
                        format: int64
                        description: ''
                      TMRELEVANT:
                        type: string
                        format: byte
                        description: ''
                      GROUP:
                        type: string
                        format: byte
                        description: ''
                EXTENSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        format: byte
                        description: ''
                FREESTYLE_SEARCH_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                KEY_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                LANGUAGE_INDEXES:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_NAME:
                        type: string
                        format: byte
                        description: ''
                      LOCATION:
                        type: string
                        format: byte
                        description: ''
                PARTITION_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                PHYSICAL_INDEXES:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_NAME:
                        type: string
                        format: byte
                        description: ''
                      LOCATION:
                        type: string
                        format: byte
                        description: ''
                PRELOAD_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                PRELOAD_LANGUAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEX_ID
              - RFC_DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return text
                  ATTRIBUTE_DEFINITIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRNAME:
                          type: string
                          format: byte
                          description: ''
                        ATTRTYPE:
                          type: string
                          format: byte
                          description: ''
                        IMPLFLAGS:
                          type: integer
                          format: int64
                          description: ''
                        TMRELEVANT:
                          type: string
                          format: byte
                          description: ''
                        GROUP:
                          type: string
                          format: byte
                          description: ''
                  EXTENSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          format: byte
                          description: ''
                  FREESTYLE_SEARCH_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  KEY_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  LANGUAGE_INDEXES:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_NAME:
                          type: string
                          format: byte
                          description: ''
                        LOCATION:
                          type: string
                          format: byte
                          description: ''
                  PARTITION_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  PHYSICAL_INDEXES:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_NAME:
                          type: string
                          format: byte
                          description: ''
                        LOCATION:
                          type: string
                          format: byte
                          description: ''
                  PRELOAD_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  PRELOAD_LANGUAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
