Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

For Guilin inventory tree view extension (ODLUX Inventory enhancement with treeview) the data-provider (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"
     }
}
  • No labels