With the WebOffice 10.9 SP1 Service API you can directly access the Full-Text Search. You can execute a query by sending the search input to the full-text Search or select a specific suggestion.

 

Possible Use Case

A third party application wants to use WebOffice FTS-Index without actually opening the WebOffice 10.9 SP1 project. The third party application will display the search input, the search suggestions and result and gets the required information by parametrized URL calls.

 

Relevant Parameters

query_fts_mw
 
The parameter query_fts_mw contains the search input. The response of the service API will include a node SUGGESTIONS that contains all found entries for the search input.

suggId_fts_mw
 
The parameter contains the fts_id of a FTS suggestion. The response of the service API will include all information (such as link to map image, attribut values, etc...) connected to the selected suggestion.

 

Example Requests:

Executes the full-text search for the project WebOffice Sample Project with the search input herren"

 

Response:

{
  SUGGESTIONS":[
     {
        fts_id":"1411@113,
        object_name":"Gemaltes Haus Herrengasse  Herrengasse 3"
     },
     {
        fts_id":"1031@2104,
        object_name":"Herrengasse 1"
     },
     {
        fts_id":"1031@1908,
        object_name":"Herrengasse 10"
     },
     {
        fts_id":"1031@2987,
        object_name":"Herrengasse 11"
     },
     {
        fts_id":"1031@158,
        object_name":"Herrengasse 12"
     },
     {
        fts_id":"1031@2056,
        object_name":"Herrengasse 2"
     },
     {
        fts_id":"1031@3919,
        object_name":"Herrengasse 3"
     },
     {
        fts_id":"1031@971,
        object_name":"Herrengasse 4"
     },
     {
        fts_id":"1031@2156,
        object_name":"Herrengasse 5"
     },
     {
        fts_id":"1031@317,
        object_name":"Herrengasse 6"
     },
     {
        fts_id":"1031@1163,
        object_name":"Herrengasse 7"
     },
     {
        fts_id":"1031@1253,
        object_name":"Herrengasse 8"
     },
     {
        fts_id":"1031@3157,
        object_name":"Herrengasse 9"
     },
     {
        fts_id":"1411@58,
        object_name":"Landeszeughaus Herrengasse 16"
     },
     {
        fts_id":"1411@57,
        object_name":"Landhaus Herrengasse 16"
     },
     {
        fts_id":"1411@67,
        object_name":"Stadtpfarrkirche Herrengasse
     }
  ],
  response_id":"68774f10-5989-4a65-b153-8c2ec526c3c5"
}

 

Selects the FTS suggestion with the ID 1031@2104 from the result above and request the connected information

 

Response:

{
  action":"default,
  MAP":{
     "url":"https://wodemo.mysynergis.com/WebOffice106R2/output/WebOffice_SampleProject_1556025159113_78267.png,
     "x":1718662.2,
     "y":5953651.5,
     "scale":1128.497176,
     "width":640,
     "height":400,
     "upp":0.29858214164759783
  },
  RESULTS":{
     "keyname":[
        OBJECTID,
        STRASSENNAME,
        HNR,
        BEZIRKS_NR,
        KG_NR,
        GRST_NR1,
        BAUWERBER1,
        BENUTZUNGSBEWILLIGUNG,
        GEBAEUDEART,
        POSTLEITZAHL"
     ],
     "FEATURES":[
        {
           "coord_x":1718662.2,
           "coord_y":5953651.5,
           "keyvalue":[
              2104,
              Herrengasse,
              1,
              1,
              63101,
              291,
              Vogler Sarah,
              01.01.1670,
              ,
              8010"
           ]
        }
     ],
     "extcallid_query":[
        address"
     ],
     "query_search_fields":[
        STRASSENNAME,
        HNR"
     ]
  },
  response_id":"bcd06409-5471-4bb0-b589-208c32f6a498"
}