Jump to content

I need help with entityBrowseRecords2


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...