openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TMW_NET_PREPROCESS:
    post:
      tags:
      - LXE_TMW_PREPROCESS
      summary: Preprocess interface for .NET server generation
      operationId: /rfc/TMW_NET_PREPROCESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MIN_MATCH_VALUE:
                  type: integer
                  format: int32
                  description: Translation Midleware Counter
                OBJINFO:
                  type: object
                  properties:
                    CUSTMNR:
                      type: string
                      maxLength: 6
                      description: Translation Area
                    TLANG:
                      type: string
                      maxLength: 4
                      description: ISO Language ID
                    SLANG:
                      type: string
                      maxLength: 4
                      description: ISO Language ID
                    OBJTYPE:
                      type: string
                      maxLength: 4
                      description: Type of Translation Object
                    OBJNAME:
                      type: string
                      maxLength: 70
                      description: Name of Translation Object
                    SYSID:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                SOURCE:
                  type: string
                  format: byte
                  description: Translation Memory System Information
                TMSINFO:
                  type: object
                  properties:
                    TARGET_LCID:
                      type: integer
                      format: int32
                      description: Translation Memory Middleware Locale
                    TM_URI:
                      type: string
                      description: Translation Middleware Parameter (Previously CHAR255)
                    TM_USER_ID:
                      type: string
                      description: Translation Middleware Parameter (Previously CHAR255)
                    MARKUP:
                      type: string
                      maxLength: 1
                      description: Translation Memory Middleware Markup
                    UNAME:
                      type: string
                      description: Translation Middleware Parameter (Previously CHAR255)
                TTX:
                  type: string
                  format: byte
                  description: Translation Memory System Information
              required:
              - MIN_MATCH_VALUE
              - OBJINFO
              - SOURCE
              - TMSINFO
              - TTX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_TTX:
                    type: string
                    format: byte
                    description: Translation Memory Middleware Pretranslation Statistics
                  STATS:
                    type: object
                    properties:
                      SEGMENTS_100:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_100:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_50TO74:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_50TO74:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_75TO84:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_75TO84:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_85TO94:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_85TO94:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_95TO99:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_95TO99:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_NOMATCH:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_NOMATCH:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_REPEATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_REPEATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_TOTAL:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_TOTAL:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_XTRANSLATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_XTRANSLATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      SEGMENTS_PRETRANSLATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                      WORDS_PRETRANSLATED:
                        type: integer
                        format: int32
                        description: Translation Midleware Counter
                  TARGET:
                    type: string
                    format: byte
                    description: Translation Memory Middleware Pretranslation Statistics
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
