openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_CREATE_LANGUAGE_INDEX:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: Create language index
      operationId: /rfc/TREX_RFC_CREATE_LANGUAGE_INDEX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_ATTRS_FREESTYLE:
                  type: integer
                  format: int64
                  description: '0: false, 1: true'
                DESCRIPTION:
                  type: string
                  format: byte
                  description: Description
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                ONE_PHYSICAL_INDEX:
                  type: integer
                  format: int64
                  description: Kennzeichen
                UPDATE_FLAG:
                  type: integer
                  format: int64
                  description: '0: false, 1: true'
                FREESTYLE_SEARCH_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                JOIN_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                LANGUAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        format: byte
                        description: ''
                LANG_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                LANG_INDEP_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
              required:
              - ALL_ATTRS_FREESTYLE
              - DESCRIPTION
              - INDEX_ID
              - ONE_PHYSICAL_INDEX
              - UPDATE_FLAG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  FREESTYLE_SEARCH_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  JOIN_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  LANGUAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          format: byte
                          description: ''
                  LANG_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                  LANG_INDEP_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
