openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_TERM_IDS:
    post:
      tags:
      - TREX_RFC_TM
      summary: Get term ids
      operationId: /rfc/TREX_RFC_GET_TERM_IDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                TERM_NAME:
                  type: string
                  format: byte
                  description: Term name
                COMPLETE_TERM:
                  type: array
                  items:
                    type: object
                    properties:
                      TERM_ID:
                        type: string
                        format: byte
                        description: ''
                      TERM_NAME:
                        type: string
                        format: byte
                        description: ''
                      DESCRIPTION:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEX_ID
              - TERM_NAME
      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
                  COMPLETE_TERM:
                    type: array
                    items:
                      type: object
                      properties:
                        TERM_ID:
                          type: string
                          format: byte
                          description: ''
                        TERM_NAME:
                          type: string
                          format: byte
                          description: ''
                        DESCRIPTION:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
