For Guilin inventory tree view extension (ODLUX Inventory enhancement with treeview) the data-provider is getting a new extension.
Extension of data-provider Web-API in Guilin:
POST /read-inventory-tree/
POST /read-inventory-tree/{nodeId}
POST /read-inventory-tree/{nodeId}/{uuid-level-0}/...
{ "query":"2143524123" }
=> Elasticsearch query (search through all properties)
POST /alias/doctype/_search { "query": { "query_string": { "default_field": "*", "query": "*searchfor*" } } }
Response:
key-level-n => databaseId
{ "{key-level-0}":{ "label":"1.0 Shelf", "children?":{ "{key-level-1}": { ... } }, "isMatch":true, "ownSeverity?":"major", "childrenSeveritySummary?":"minor" } }