openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_SEARCH_TERM:
    post:
      tags:
      - STERM_DB
      operationId: /rfc/TERM_SEARCH_TERM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADD_REQ:
                  type: string
                  default: X
                  maxLength: 1
                INDEX_ADD_SUB_ENTRY:
                  type: object
                  properties:
                    BAPIFLAG:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                SEARCH_TERM:
                  type: string
                  maxLength: 132
                ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      OBJECT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      COMPONENT:
                        type: string
                        maxLength: 20
                        description: Application Component
                      MORE_COMP:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      CREA_LAN:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TEXT:
                        type: string
                        maxLength: 132
                        description: SAPterm Text Field
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Terminology Maintenance Status  enumValues: 1=New,3=Released,2=Changed,4=To be deleted'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '4'
                      OBJECT_TYP:
                        type: string
                        maxLength: 1
                        description: 'Terminology Entry Classification  enumValues: A=Abbreviation,U=Superordinate Term,N=Invalid Synonym,E=Invalid Spelling,S=Valid Synonym,""=Main entry,I=Subentry (Index Editing)'
                        enum:
                        - A
                        - U
                        - N
                        - E
                        - S
                        - ''
                        - I
                      GLOSSARY:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      GLOS_DEF:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      ONLINE_TXT:
                        type: string
                        maxLength: 1
                        description: 'Online Text Indicator  enumValues: P=Internal Entry,1=SAP Product Name,B=Documentation (Knowledge Warehouse),A=System Text (Default),4=Technical Name,N=Proper Name,2=Other Product Name'
                        enum:
                        - P
                        - '1'
                        - B
                        - A
                        - '4'
                        - N
                        - '2'
                      ONLINE_CAT:
                        type: string
                        maxLength: 1
                        description: 'Terminology Concept Category  enumValues: ""=Terminology Entry,K=Index Entry'
                        enum:
                        - ''
                        - K
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: 'KW Attribute: Country in SAPterm'
                      INDUSTRY:
                        type: string
                        maxLength: 10
                        description: 'KW Attribute: Industry in SAPterm'
                      IND_REL:
                        type: string
                        maxLength: 12
                        description: Enhancement Release
                      FIRST_REL:
                        type: string
                        maxLength: 4
                        description: 'KW Attribute: Release in SAPterm'
                      IND_LREL:
                        type: string
                        maxLength: 12
                        description: Enhancement Release
                      LAST_REL:
                        type: string
                        maxLength: 4
                        description: 'KW Attribute: Release in SAPterm'
                      WORD_TYP:
                        type: string
                        maxLength: 1
                        description: 'Noun, Verb, Adjective  enumValues: D=Adverb,A=Adjective,V=Verb,S=Noun'
                        enum:
                        - D
                        - A
                        - V
                        - S
                      GRAM_TYP:
                        type: string
                        maxLength: 1
                        description: 'Single Word, Multiword, Phrase  enumValues: C=Multiword or compound word,S=Single-word term,P=Clause or sentence'
                        enum:
                        - C
                        - S
                        - P
                      GENDER:
                        type: string
                        maxLength: 1
                        description: 'Grammatical Gender of Terminology Entry  enumValues: M=Masculine,N=Neuter,C=Common (masculine/feminine, as in Scandinavian languages),X=No entry possible (such as plural nouns with no singular),F=Feminine'
                        enum:
                        - M
                        - N
                        - C
                        - X
                        - F
                      TRANSITIV:
                        type: string
                        maxLength: 1
                        description: 'Verb Transitivity Indicator  enumValues: ""=Verb is intransitive,X=Verb is transitive'
                        enum:
                        - ''
                        - X
                      CREA_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CREA_NAME:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      CREA_ORG:
                        type: string
                        maxLength: 60
                        description: Author's Firm or Organization
                      CHAN_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CHAN_NAME:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      CHAN_ORG:
                        type: string
                        maxLength: 60
                        description: Author's Firm or Organization
                      LONGTEXT:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                SEL_COMPONENT:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      LOW:
                        type: string
                        maxLength: 60
                        description: LOW Field for Glossary Selection
                      HIGH:
                        type: string
                        maxLength: 60
                        description: HIGH Field for Glossary Selection
              required:
              - SEARCH_TERM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        OBJECT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        COMPONENT:
                          type: string
                          maxLength: 20
                          description: Application Component
                        MORE_COMP:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        CREA_LAN:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT:
                          type: string
                          maxLength: 132
                          description: SAPterm Text Field
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'Terminology Maintenance Status  enumValues: 1=New,3=Released,2=Changed,4=To be deleted'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                          - '4'
                        OBJECT_TYP:
                          type: string
                          maxLength: 1
                          description: 'Terminology Entry Classification  enumValues: A=Abbreviation,U=Superordinate Term,N=Invalid Synonym,E=Invalid Spelling,S=Valid Synonym,""=Main entry,I=Subentry (Index Editing)'
                          enum:
                          - A
                          - U
                          - N
                          - E
                          - S
                          - ''
                          - I
                        GLOSSARY:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        GLOS_DEF:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        ONLINE_TXT:
                          type: string
                          maxLength: 1
                          description: 'Online Text Indicator  enumValues: P=Internal Entry,1=SAP Product Name,B=Documentation (Knowledge Warehouse),A=System Text (Default),4=Technical Name,N=Proper Name,2=Other Product Name'
                          enum:
                          - P
                          - '1'
                          - B
                          - A
                          - '4'
                          - N
                          - '2'
                        ONLINE_CAT:
                          type: string
                          maxLength: 1
                          description: 'Terminology Concept Category  enumValues: ""=Terminology Entry,K=Index Entry'
                          enum:
                          - ''
                          - K
                        COUNTRY:
                          type: string
                          maxLength: 3
                          description: 'KW Attribute: Country in SAPterm'
                        INDUSTRY:
                          type: string
                          maxLength: 10
                          description: 'KW Attribute: Industry in SAPterm'
                        IND_REL:
                          type: string
                          maxLength: 12
                          description: Enhancement Release
                        FIRST_REL:
                          type: string
                          maxLength: 4
                          description: 'KW Attribute: Release in SAPterm'
                        IND_LREL:
                          type: string
                          maxLength: 12
                          description: Enhancement Release
                        LAST_REL:
                          type: string
                          maxLength: 4
                          description: 'KW Attribute: Release in SAPterm'
                        WORD_TYP:
                          type: string
                          maxLength: 1
                          description: 'Noun, Verb, Adjective  enumValues: D=Adverb,A=Adjective,V=Verb,S=Noun'
                          enum:
                          - D
                          - A
                          - V
                          - S
                        GRAM_TYP:
                          type: string
                          maxLength: 1
                          description: 'Single Word, Multiword, Phrase  enumValues: C=Multiword or compound word,S=Single-word term,P=Clause or sentence'
                          enum:
                          - C
                          - S
                          - P
                        GENDER:
                          type: string
                          maxLength: 1
                          description: 'Grammatical Gender of Terminology Entry  enumValues: M=Masculine,N=Neuter,C=Common (masculine/feminine, as in Scandinavian languages),X=No entry possible (such as plural nouns with no singular),F=Feminine'
                          enum:
                          - M
                          - N
                          - C
                          - X
                          - F
                        TRANSITIV:
                          type: string
                          maxLength: 1
                          description: 'Verb Transitivity Indicator  enumValues: ""=Verb is intransitive,X=Verb is transitive'
                          enum:
                          - ''
                          - X
                        CREA_TSTUT:
                          type: integer
                          format: int64
                          description: Timestamp (date and time) related to UTC (GMT)
                        CREA_NAME:
                          type: string
                          maxLength: 12
                          description: Author of the Repository object
                        CREA_ORG:
                          type: string
                          maxLength: 60
                          description: Author's Firm or Organization
                        CHAN_TSTUT:
                          type: integer
                          format: int64
                          description: Timestamp (date and time) related to UTC (GMT)
                        CHAN_NAME:
                          type: string
                          maxLength: 12
                          description: Author of the Repository object
                        CHAN_ORG:
                          type: string
                          maxLength: 60
                          description: Author's Firm or Organization
                        LONGTEXT:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  SEL_COMPONENT:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        LOW:
                          type: string
                          maxLength: 60
                          description: LOW Field for Glossary Selection
                        HIGH:
                          type: string
                          maxLength: 60
                          description: HIGH Field for Glossary Selection
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
