This API returns typeahead suggestions for a given search query string based on topics and article's content.
Success
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
{- "suggestion": [
- {
- "suggestion": "article",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [ ]
}
]
}, - "entityId": 777700000002233,
- "alternateId": "DEV1-2233",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "New article",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 0,
- "lastPos": 4
}
]
}
]
}, - "suggestionMetadata": "'Virtual Assistant'",
- "entityId": 777700000002125,
- "alternateId": "DEV1-2125",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "macro article",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 0,
- "lastPos": 6
}
]
}
]
}, - "suggestionMetadata": "'Personalized'",
- "entityId": 777700000002240,
- "alternateId": "DEV1-2240",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "Downgrade Product article",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 0,
- "lastPos": 18
}
]
}
]
}, - "suggestionMetadata": "'Solution Articles'",
- "entityId": 777700000002185,
- "alternateId": "DEV1-2185",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "article with filter",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 7,
- "lastPos": 19
}
]
}
]
}, - "suggestionMetadata": "'Personalized'",
- "entityId": 777700000002237,
- "alternateId": "DEV1-2237",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "article with AISG",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 7,
- "lastPos": 17
}
]
}
]
}, - "suggestionMetadata": "'Personalized'",
- "entityId": 777700000002238,
- "alternateId": "DEV1-2238",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "article using macro",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 7,
- "lastPos": 19
}
]
}
]
}, - "suggestionMetadata": "'Personalized'",
- "entityId": 777700000002241,
- "alternateId": "DEV1-2241",
- "languageId": 1,
- "suggestionType": "Article",
- "articleTypeAttributes": {
- "typeName": "General"
}
}, - {
- "suggestion": "Virtual Assistant > Solution Articles",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 0,
- "lastPos": 42
}, - {
- "firstPos": 49,
- "lastPos": 50
}
]
}
]
}, - "entityId": 777700000001005,
- "languageId": 1,
- "suggestionType": "Topic"
}, - {
- "suggestion": "Virtual Assistant > Solution Articles",
- "textMetadata": {
- "highlightMetadata": [
- {
- "attributeName": "suggestion",
- "characterRange": [
- {
- "firstPos": 0,
- "lastPos": 42
}, - {
- "firstPos": 49,
- "lastPos": 50
}
]
}
]
}, - "entityId": 777700000001018,
- "languageId": 1,
- "suggestionType": "Topic"
}
]
}