SAP Knowledge Base Article - Public

3615517 - SAP Signavio API GET /glossary search in title only for dictionary items

Symptom

When using the SAP Signavio API, I search for dictionary item's using the GET /glossary request with the "q" parameter to search for text. This performs a full-text search, I would like to only search for titles containing the text.

E.g. A dictionary item has the title "Title1" and the description "This is a test description". I want to search for any dictionary items with the title "test".
I use "GET https://{{host}}/spm/v1/glossary?q=test" and the search returns the dictionary item "Title1".

Can I search only the title or description or type?

Cause

Resolution

  1. To avoid full-text searching in the GET request, add "&select=title" after the "q={{searchTerm}}".
  2. This will limit the search to the title of the dictionary item.
  3. This can also be used to search only on the description (select=description) or type (select=type).
    E.g. GET https://{{host}}/spm/v1/glossary?q={{searchTerm}}&select=title

See Also

Keywords

full-text search, full text search, GET request, dictionary items, search limitation, API title search, API description search, type search, HTTP GET, API, API search, GET /glossary, glossary. , KBA , BPI-SIG-CA-API , REST-API for SAP Signavio , BPI-SIG-PM-DIC , Dictionary for SAP Signavio Process Manager , Problem

Product

SAP Signavio Process Manager all versions