Skip to Main Content
Need Support? Let’s guide you to the right answer or agent.
Status Future consideration
Workspace Core CDE
Categories API and Integration
Created by Guest
Created on Jun 10, 2024

Allow searching through the API for metadata drop down value short codes only

At the moment when using the API to do a keyword language search for documents with specific metadata set in from a drop down list, you must use the full text of the drop down option, e.g. "A - Architect".
e.g. GET api/services/simple_search?klang=((class: Document) AND md_12345=’A - Architect’)

It would save time if the request could be shortened to just search by the short code "A".
i.e. GET api/services/simple_search?klang=((class: Document) AND md_12345=’A’)

Practical use of functionality?

e.g. GET api/services/simple_search?klang=((class: Document) AND md_12345=’A - Architect’)

becomes

i.e. GET api/services/simple_search?klang=((class: Document) AND md_12345=’A’)

What is the impact of not doing this?

The short code is only used as part of placeholder generation and isn't usable as a separate element elsewhere in the system.

  • Admin
    Paul Houghton
    Reply
    |
    Jun 14, 2024

    Aside from being a shorter search, is there a reason the full value won't be available for use by the API?