Giuseppe Iannacone Posted April 18 Share Posted April 18 can you please help me to address the browse record? my idea is to search the service manager if a request that matches the searchfilter criteria exists or not in my instance I'm unable to understand how it wants the valus or the parameter. Link to comment Share on other sites More sharing options...
Steve G Posted April 18 Share Posted April 18 Hi @Giuseppe Iannacone, The value property of the searchFilter array objects is unbounded, so it needs to be wrapped in an array, as per the example below: { "@service": "data", "@method": "entityBrowseRecords2", "params": { "application": "com.hornbill.servicemanager", "entity": "Asset", "matchScope": "all", "searchFilter": [ { "column": "h_class", "value": ["computer"], "matchType": "exact" } ] } } I've had a look and this could be made clearer in the API documentation, so I'll make sure that gets updated. Cheers, Steve Link to comment Share on other sites More sharing options...
Giuseppe Iannacone Posted April 18 Author Share Posted April 18 @Steve G much better now, Thank you a lot! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now