openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TRM_FUZZY_SEARCH:
    post:
      tags:
      - STQ4
      operationId: /rfc/TRM_FUZZY_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENT_TYPE:
                  type: string
                  default: N
                  maxLength: 1
                  description: 'ID: Translation conflict exists'
                FIRST_DOCUMENT:
                  type: integer
                  format: int32
                  default: 1
                  description: Internal Tables, Current Row Index
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                LAST_DOCUMENT:
                  type: integer
                  format: int32
                  default: 300
                  description: Internal Tables, Current Row Index
                RANK_VALUE:
                  type: integer
                  format: int64
                  default: 5000
                  description: Internal Tables, Current Row Index
                SEARCH_STRING:
                  type: string
                  maxLength: 255
                  description: Text, 255 Characters
                SEARCH_TYPE:
                  type: string
                  default: F
                  maxLength: 1
                  description: 'ID: Translation conflict exists'
                LT_TRMFUZ:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language ID
                      HASH:
                        type: string
                        maxLength: 20
                        description: Hash key in Proposal Pool
                      TABID:
                        type: integer
                        format: int64
                        description: ID of source lang. text table of Proposal Pool
                      HASHCNFL:
                        type: integer
                        format: int64
                        description: Hash conflict counter for Proposal Pool
                      RANKV:
                        type: integer
                        format: int64
                        description: Rank in the hit list
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
              required:
              - FIRST_DOCUMENT
              - LANGUAGE
              - LAST_DOCUMENT
              - RANK_VALUE
              - SEARCH_STRING
              - SEARCH_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LT_TRMFUZ:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language ID
                        HASH:
                          type: string
                          maxLength: 20
                          description: Hash key in Proposal Pool
                        TABID:
                          type: integer
                          format: int64
                          description: ID of source lang. text table of Proposal Pool
                        HASHCNFL:
                          type: integer
                          format: int64
                          description: Hash conflict counter for Proposal Pool
                        RANKV:
                          type: integer
                          format: int64
                          description: Rank in the hit list
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
