Finding Translations
The API supports three types of monolingual search as well as retrieving translations by ID.
URL | Description |
/api/v2/Translations/getById | Get translation by ID (translation returned as is). |
/api/v2/Translations/similarSearchWithFilter | Search for translations that are similar to the search query, auto-adjustment will be made if possible. Use a predefined filter. |
/api/v2/Translations/similarSearch | Search for translations that are similar to the search query, auto-adjustment will be made if possible. Specify explicit filter options. |
/api/v2/Translations/concordanceSearchWithFilter | Search for translations containing the exact search query, no auto-adjustment will be made. Use a predefined filter. |
/api/v2/Translations/concordanceSearch | Search for translations containing the exact search query, no auto-adjustment will be made. Specify explicit filter options. |
/api/v2/Translations/similarAuthoringSearch | Like similarSearch, but additionally returns the number and language of translations for each source sentence. |
/api/v2/Translations/similarAuthoringSearchWithFilter | Like similarSearchWithFilter, but additionally returns the number and language of translations for each source sentence. |
/api/v2/Translations/concordanceAuthoringSearch | Like concordanceSearch, but additionally returns the number and language of translations for each source sentence. |
/api/v2/Translations/concordanceAuthoringSearchWithFilter | Like concordanceSearchWithFilter, but additionally returns the number and language of translations for each source sentence. |
When using an explicit filter, all filtering parameters are entered directly into the search request. The parameters available for explicit filtering and predefined filters are the same.
Predefined filters can be created and deleted via API calls and are stored in the memory. If an expiration time is specified, the filter will be automatically deleted if it was not used after this time. Filters can be deleted via API call. As they are stored in the memory, they disappear after an IIS reset.
URL | Description |
/api/v2/Translations/createSearchFilter | Create a predefined search filter. |
/api/v2/Translations/deleteSearchFilter | Delete a predefined search filter by ID. |