Submitted by
iCIMSUNIFIL on December 27, 2018
Permalink
Submitted by
iCIMSUNIFIL on January 18, 2019
Permalink
I am using the POST request
I am using the POST request and including the JSON as you have added in your reply, and I am still getting error "The following filter is either not valid or hidden: person.folder".
I am using our Sandbox. Is there a possibility that it might need a specific config?
Submitted by
iCIMSUNIFIL on January 21, 2019
Permalink
It is possible one of the
It is possible one of the filter fields is hidden. You would need to submit a request to the UniFi team to have the sandbox updated. They will only make the update if this Search complies with the standard integration.
It looks like the filters are correct. The JSON for Folder is Current Employee and Active Candidate are below.
{"filters":[{"name":"person.folder","value":["D32013"],"operator":"="}],"operator":"&"}
{"filters":[{"name":"person.folder","value":["D32007"],"operator":"="}],"operator":"&"}
You are showing that you are using a GET request. The GET request search query must be encoded before passing the query within the request.
Alternatively you can issue a POST request and include the JSON as you are showing it in the body of the request.