openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TRM_TEXT_SEARCH:
    post:
      tags:
      - STQ6
      operationId: /rfc/TRM_TEXT_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IDATE1:
                  type: string
                  format: date
                  description: User Name
                IDATE2:
                  type: string
                  format: date
                  description: User Name
                INI_APPL:
                  type: string
                  maxLength: 2
                  description: User Name
                MAX_NUM:
                  type: integer
                  format: int32
                  default: 30
                  description: User Name
                NO_COMM:
                  type: string
                  default: ''
                  maxLength: 1
                  description: User Name
                NO_MARK:
                  type: string
                  default: ''
                  maxLength: 1
                  description: User Name
                SOURCEL:
                  type: string
                  maxLength: 1
                SOURCEMODE:
                  type: string
                  maxLength: 1
                SOURCERANK:
                  type: integer
                  format: int64
                  default: 5000
                  description: Rank in the hit list
                SOURCETEXT:
                  type: string
                  maxLength: 255
                  description: Rank in the hit list
                TARGETL:
                  type: string
                  maxLength: 1
                TARGETMODE:
                  type: string
                  maxLength: 1
                  description: Rank in the hit list
                TARGETRANK:
                  type: integer
                  format: int64
                  default: 5000
                  description: Rank in the hit list
                TARGETTEXT:
                  type: string
                  maxLength: 255
                  description: Rank in the hit list
                UNAME:
                  type: string
                  maxLength: 12
                  description: User Name
                USAGE1:
                  type: integer
                  format: int64
                  default: 0
                  description: Translation usage counter in R/3 Proposal Pool
                USAGE2:
                  type: integer
                  format: int64
                  default: 99
                  description: Translation usage counter in R/3 Proposal Pool
                GT_TRMBIG_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      SLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Source language
                      TLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Target language
                      STEXT:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                      TTEXT:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                      APPLIC:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      APPLIC1:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      ABBEXC:
                        type: string
                        maxLength: 1
                        description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                        enum:
                        - X
                      NODE:
                        type: string
                        maxLength: 1
                        description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                        enum:
                        - X
                      TRMSTATUS:
                        type: integer
                        format: int64
                        description: 'Status of translation pair / translator  enumValues: 1=Beginner,2=Professional,0=Developer,3=Coordinator'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                        - '3'
                      USAGECNT:
                        type: integer
                        format: int64
                        description: Translation usage counter in Proposal Pool
                      APPLCNT:
                        type: integer
                        format: int64
                        description: Application usage counter in Proposal Pool
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      IDATE:
                        type: string
                        format: date
                        description: Date
                      IDATE_SHOW:
                        type: string
                        maxLength: 10
                        description: Purpose of tracus run
                      SRANKV:
                        type: integer
                        format: int64
                        description: Rank in the hit list
                      TRANKV:
                        type: integer
                        format: int64
                        description: Rank in the hit list
                      SSTRLEN:
                        type: integer
                        format: int64
                        description: Length of source lang. text string in Proposal Pool
                      TSTRLEN:
                        type: integer
                        format: int64
                        description: Length of text string in target language in Proposal Pool
                GT_TRMTRA_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      SLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Source language
                      TLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Target language
                      SHASH:
                        type: string
                        maxLength: 20
                        description: Hash key of text in Proposal Pool, source language
                      STABID:
                        type: integer
                        format: int64
                        description: ID of source lang. text table of Proposal Pool
                      SHASHCNFL:
                        type: integer
                        format: int64
                        description: Hash conflict counter for Proposal Pool, source language
                      APPLIC:
                        type: string
                        maxLength: 2
                        description: Application ID in Proposal Pool
                      NR:
                        type: integer
                        format: int64
                        description: Numeric, 2-digit; Proposal Pool
                      THASH:
                        type: string
                        maxLength: 20
                        description: Hash key of text in Proposal Pool, target language
                      TTABID:
                        type: integer
                        format: int64
                        description: ID of target language text table of Proposal Pool
                      THASHCNFL:
                        type: integer
                        format: int64
                        description: Hash conflict counter for Proposal Pool, target language
                      ABBEXC:
                        type: string
                        maxLength: 1
                        description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                        enum:
                        - X
                      SSTRLEN:
                        type: integer
                        format: int64
                        description: Length of source lang. text string in Proposal Pool
                      TSTRLEN:
                        type: integer
                        format: int64
                        description: Length of text string in target language in Proposal Pool
                      TRMSTATUS:
                        type: integer
                        format: int64
                        description: 'Status of translation pair / translator  enumValues: 1=Beginner,2=Professional,0=Developer,3=Coordinator'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                        - '3'
                      DEVC:
                        type: string
                        maxLength: 2
                        description: Application ID in Proposal Pool
                      USAGECNT:
                        type: integer
                        format: int64
                        description: Translation usage counter in Proposal Pool
                      APPLCNT:
                        type: integer
                        format: int64
                        description: Application usage counter in Proposal Pool
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      IDATE:
                        type: string
                        format: date
                        description: Date
                      TRCONFLICT:
                        type: string
                        maxLength: 1
                        description: 'ID: Translation conflict exists  enumValues: X=Set'
                        enum:
                        - X
              required:
              - SOURCEL
              - TARGETL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DISP_RANK:
                    type: string
                    maxLength: 1
                    description: 'ID: Translation conflict exists'
                  NR_OF_DOCS:
                    type: integer
                    format: int32
                    description: Internal Tables, Current Row Index
                  NR_OF_SEARCHES:
                    type: integer
                    format: int32
                    description: Internal Tables, Current Row Index
                  GT_TRMBIG_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        SLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Source language
                        TLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Target language
                        STEXT:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                        TTEXT:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                        APPLIC:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        APPLIC1:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        ABBEXC:
                          type: string
                          maxLength: 1
                          description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                          enum:
                          - X
                        NODE:
                          type: string
                          maxLength: 1
                          description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                          enum:
                          - X
                        TRMSTATUS:
                          type: integer
                          format: int64
                          description: 'Status of translation pair / translator  enumValues: 1=Beginner,2=Professional,0=Developer,3=Coordinator'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                          - '3'
                        USAGECNT:
                          type: integer
                          format: int64
                          description: Translation usage counter in Proposal Pool
                        APPLCNT:
                          type: integer
                          format: int64
                          description: Application usage counter in Proposal Pool
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        IDATE:
                          type: string
                          format: date
                          description: Date
                        IDATE_SHOW:
                          type: string
                          maxLength: 10
                          description: Purpose of tracus run
                        SRANKV:
                          type: integer
                          format: int64
                          description: Rank in the hit list
                        TRANKV:
                          type: integer
                          format: int64
                          description: Rank in the hit list
                        SSTRLEN:
                          type: integer
                          format: int64
                          description: Length of source lang. text string in Proposal Pool
                        TSTRLEN:
                          type: integer
                          format: int64
                          description: Length of text string in target language in Proposal Pool
                  GT_TRMTRA_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        SLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Source language
                        TLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Target language
                        SHASH:
                          type: string
                          maxLength: 20
                          description: Hash key of text in Proposal Pool, source language
                        STABID:
                          type: integer
                          format: int64
                          description: ID of source lang. text table of Proposal Pool
                        SHASHCNFL:
                          type: integer
                          format: int64
                          description: Hash conflict counter for Proposal Pool, source language
                        APPLIC:
                          type: string
                          maxLength: 2
                          description: Application ID in Proposal Pool
                        NR:
                          type: integer
                          format: int64
                          description: Numeric, 2-digit; Proposal Pool
                        THASH:
                          type: string
                          maxLength: 20
                          description: Hash key of text in Proposal Pool, target language
                        TTABID:
                          type: integer
                          format: int64
                          description: ID of target language text table of Proposal Pool
                        THASHCNFL:
                          type: integer
                          format: int64
                          description: Hash conflict counter for Proposal Pool, target language
                        ABBEXC:
                          type: string
                          maxLength: 1
                          description: 'Flag: X = exception translation, N = node, A = abbreviation  enumValues: X=Set'
                          enum:
                          - X
                        SSTRLEN:
                          type: integer
                          format: int64
                          description: Length of source lang. text string in Proposal Pool
                        TSTRLEN:
                          type: integer
                          format: int64
                          description: Length of text string in target language in Proposal Pool
                        TRMSTATUS:
                          type: integer
                          format: int64
                          description: 'Status of translation pair / translator  enumValues: 1=Beginner,2=Professional,0=Developer,3=Coordinator'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                          - '3'
                        DEVC:
                          type: string
                          maxLength: 2
                          description: Application ID in Proposal Pool
                        USAGECNT:
                          type: integer
                          format: int64
                          description: Translation usage counter in Proposal Pool
                        APPLCNT:
                          type: integer
                          format: int64
                          description: Application usage counter in Proposal Pool
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        IDATE:
                          type: string
                          format: date
                          description: Date
                        TRCONFLICT:
                          type: string
                          maxLength: 1
                          description: 'ID: Translation conflict exists  enumValues: X=Set'
                          enum:
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
