Zurück zur Übersicht » REST - Person - Search

REST - Person - Search

REST-Interface

Search persons by ‘query’

URL
GET <application-url>/api/person/search

Query parameter

Produces

application/json
application/xml

com.matterial.mtr.api.object.SearchResult<Person>

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/person/search?query=philipp


Search autocomplete

URL
GET <application-url>/api/person/search/autocomplete

Query parameter

Produces

application/json
application/xml

List<com.matterial.mtr.api.object.SearchAutocompleteSuggest>

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/person/search/autocomplete


Reindex all persons

URL
PUT / POST <application-url>/api/person/search/reindexall

Permission
ADMINISTRATE_ALL

Sample
PUT http://localhost:8080/mtr-backend/api/person/search/reindexall