Search / More like this
Finding similar items to the given item, by semantic search.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/search/more_like_this/{entity}/{id}
Method: GET
Authorisation: Minimum role: USER
Response object
Response status: 200 (OK)
Response type: DTO_search_response[]
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_search_response
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| sys_status | DTO_reference | Sys status | |
| category | DTO_reference | Category | |
| group | DTO_reference | Group | |
| id | Int32 | Id | |
| title | String | Title | |
| highlight | String | Highlight | |
| additional_info | String | Additional info | |
| entity | ENUM entity | ReadOnly | Entity |
| score | Double | ReadOnly | Score |
| score_weighted | Double | ReadOnly | Score weighted |
| external_link | String | ReadOnly | External link |
| created | DateTime | Created | |
| body | String | Store the full text of the entity in plain text. |
DTO_reference
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| id | Int32 | The id of the reference | |
| label | Object | ReadOnly | Name/Label from referenced object. |
ENUM entity
| Value | Name | Description |
|---|---|---|
| 0 | UNKNOWN | UNKNOWN |
| 1 | LIST | LIST |
| 2 | GROUP | GROUP |
| 3 | USER | USER |
| 4 | LIST_ENTRY | LIST_ENTRY |
| 5 | TICKET | TICKET |
| 6 | SEARCH | SEARCH |
| 7 | INVOICE | INVOICE |
| 8 | KNOWLEDGE_BASE | KNOWLEDGE_BASE |
| 9 | SCRAPED_ITEM | SCRAPED_ITEM |
| 10 | FIELD | FIELD |
| 11 | TICKET_CONVERSATION | TICKET_CONVERSATION |
| 12 | EXPORT | EXPORT |
| 13 | EXTERNAL_PRODUCT | EXTERNAL_PRODUCT |
| 14 | TEMPLATE | TEMPLATE |