openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_KEYWORDS_GET_INDEX:
    post:
      tags:
      - STERM_KEYWORDS
      operationId: /rfc/TERM_KEYWORDS_GET_INDEX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT:
                  type: object
                  properties:
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    COUNTRY:
                      type: string
                      maxLength: 3
                      description: 'KW Attribute: Country in SAPterm'
                    INDUSTRY:
                      type: string
                      maxLength: 10
                      description: 'KW Attribute: Industry in SAPterm'
                    LAST_REL:
                      type: string
                      maxLength: 4
                      description: 'KW Attribute: Release in SAPterm'
                    M_LANGUS:
                      type: string
                      maxLength: 1
                      description: Secondary Language Access Flag
                    M_INDUSTRY:
                      type: string
                      maxLength: 1
                      description: Industry Sector and Standard Search FLAG
                    M_COUNTRY:
                      type: string
                      maxLength: 1
                      description: Localizations Search FLAG
                DISPLAY_INDEX:
                  type: object
                  properties:
                    BAPIFLAG:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                TITEL:
                  type: string
                  maxLength: 70
                  description: Context Attribute
                KEYWORDS:
                  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: Component in SAPterm
                      GLOS_DEF:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      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
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: 'KW Attribute: Country in SAPterm'
                      INDUSTRY:
                        type: string
                        maxLength: 10
                        description: 'KW Attribute: Industry in SAPterm'
                      LAST_REL:
                        type: string
                        maxLength: 4
                        description: 'KW Attribute: Release in SAPterm'
                      M_LANGUS:
                        type: string
                        maxLength: 1
                        description: Secondary Language Access Flag
                      M_INDUSTRY:
                        type: string
                        maxLength: 1
                        description: Industry Sector and Standard Search FLAG
                      M_COUNTRY:
                        type: string
                        maxLength: 1
                        description: Localizations Search FLAG
                      TEXT:
                        type: string
                        maxLength: 132
                        description: SAPterm Text Field
              required:
              - CONTEXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  KEYWORDS:
                    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: Component in SAPterm
                        GLOS_DEF:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        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
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        COUNTRY:
                          type: string
                          maxLength: 3
                          description: 'KW Attribute: Country in SAPterm'
                        INDUSTRY:
                          type: string
                          maxLength: 10
                          description: 'KW Attribute: Industry in SAPterm'
                        LAST_REL:
                          type: string
                          maxLength: 4
                          description: 'KW Attribute: Release in SAPterm'
                        M_LANGUS:
                          type: string
                          maxLength: 1
                          description: Secondary Language Access Flag
                        M_INDUSTRY:
                          type: string
                          maxLength: 1
                          description: Industry Sector and Standard Search FLAG
                        M_COUNTRY:
                          type: string
                          maxLength: 1
                          description: Localizations Search FLAG
                        TEXT:
                          type: string
                          maxLength: 132
                          description: SAPterm Text Field
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
