06-01-2023 03:42 AM
In the Rest API you pass string values "Equal" or "Not Equal" for alphanumeric keywords. Is there a list of those string values for numeric/date keywords? The SDK and programmers guide only uses equal or not equal as an example and no other mention is made. I have a customer requesting this information nd looking to update our own internal documentation.
Thanks.
06-01-2023 08:16 PM
In the reference section of the SDK under Document Query request properties, you can expand the “queryKeywordCollection” property which then lists the valid enum values for the operator and relation properties.
Valid values for the operator enum are: "Equal", "LessThan", "GreaterThan", "LessThanEqual", "GreaterThanEqual", "NotEqual", "Literal".
It doesn’t specifically list which will work with which data type, like less than doesn’t work with alphanumeric. One way to verify if you are unsure if one should work is in the Unity client the document retrieval keyword panel limits the operator based on data type, which could confirm if it should work through the API.
06-01-2023 08:16 PM
In the reference section of the SDK under Document Query request properties, you can expand the “queryKeywordCollection” property which then lists the valid enum values for the operator and relation properties.
Valid values for the operator enum are: "Equal", "LessThan", "GreaterThan", "LessThanEqual", "GreaterThanEqual", "NotEqual", "Literal".
It doesn’t specifically list which will work with which data type, like less than doesn’t work with alphanumeric. One way to verify if you are unsure if one should work is in the Unity client the document retrieval keyword panel limits the operator based on data type, which could confirm if it should work through the API.
06-02-2023 06:30 AM
Thank you Justin!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.