openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREX_LOG_INDEX_CREATE:
    post:
      tags:
      - STREX_ADMINISTRATION
      operationId: /rfc/STREX_LOG_INDEX_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOC_CLASSIFY_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        maxLength: 64
                        description: Attribute Name
                      ATTR_TYPE:
                        type: string
                        maxLength: 1
                        description: Content Type of Documents or Attributes
                DOC_IDX_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        maxLength: 64
                        description: Attribute Name
                      ATTR_TYPE:
                        type: string
                        maxLength: 1
                        description: Content Type of Documents or Attributes
                IDX_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        maxLength: 64
                        description: Attribute Name
                      VALUE:
                        type: string
                        description: Attribute Value
                      ATTR_TYPE:
                        type: string
                        maxLength: 1
                        description: Content Type of Documents or Attributes
                INDEX:
                  type: object
                  properties:
                    INDEX_ID:
                      type: string
                      maxLength: 32
                      description: GUID in 'CHAR' Format in Uppercase
                    TM_ENGINE:
                      type: string
                      description: Optional, Text Mining Engine Used
                    X_NO_TRAINING:
                      type: string
                      maxLength: 1
                      description: 'Checkbox  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    X_USE_FILTER:
                      type: string
                      maxLength: 1
                      description: 'Checkbox  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    INDEX_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Index type  enumValues: T=Text mining index (full text and classification text index),F=Full text index only,C=Classification index only'
                      enum:
                      - T
                      - F
                      - C
                    APPLICATION:
                      type: string
                      description: Optional, Calling Application
                    DESCRIPTION:
                      type: string
                      description: Optional, Description/Purpose of Index
                    QUEUE_SERVERLOC:
                      type: string
                      maxLength: 64
                      description: Optional, Alias for Assigned Queue Server
                    INDEX_SERVERLOC:
                      type: string
                      maxLength: 64
                      description: Optional, Alias for Assigned Index Server
                TECH_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        maxLength: 64
                        description: Attribute Name
                      VALUE:
                        type: string
                        description: Attribute Value
                      ATTR_TYPE:
                        type: string
                        maxLength: 1
                        description: Content Type of Documents or Attributes
                      TECH_TYPE:
                        type: string
                        maxLength: 1
                        description: Technical Property of Index
              required:
              - INDEX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INDEX_ID:
                    type: string
                    maxLength: 32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
