Grundlagen6
App6
REST-Endpunkte44
- Activity
- Category
- Category - CategoryType
- ChangeLog
- Client
- Client - ClientPreference
- Client - CompanyInfoResource
- Client - Logo
- Comment
- Conversion
- Document
- Document - AdditionalProperty
- Document - ChangeLog
- Document - ExtensionValue
- Document - Lock
- Document - Rating
- Document - SavedSearch
- Document - Search
- InstanceControl
- InstanceControl - MtrMessage
- InstanceControl - Preference
- Language
- Licence
- Logon
- Logon - AutoLogin
- Logon - LTI
- Logon - MagicLink
- Logon - Ntlm
- Logon - OAuth2 - Cobot
- Logon - OAuth2 - Google
- Logon - OAuth2 - Microsoft
- Logon - Saml
- Notification
- Person
- Person - AccountSetting
- Person - Search
- Role
- Skin
- Task
- Task - TaskStatus
- TempFile
- Test
- Tracking
- Version
API-Objekte41
- AccountSetting
- Activity
- AdditionalProperty
- Attachment
- Category
- CategoryType
- Client
- Comment
- CompanyInfoItem
- Credential
- CredentialWithInvitationText
- DataSource
- Document
- DocumentChangeLog
- DocumentChangeLogMap
- DocumentClipBoardEntry
- DocumentDuplicate
- DocumentForPdfConversion
- DocumentLock
- ExtensionValue
- Language
- Licence
- LicenceUsage
- LoginData
- Logon
- MtrMessage
- MtrVersion
- NotificationContainer
- PasswordContainer
- Person
- PreferenceMapContainer
- Role
- SavedSearch
- SearchAutocompleteSuggest
- SearchResult<Document/Person>
- Signup
- Task
- TaskStatus
- TempFileDescriptor
- TrackingItem
- WildflyDataSource
Search persons by ‘query’
URLGET <application-url>/api/person/search
Query parameter
- query
mandatory: true
url encoded search query - roleId
- instanceOwnerOnly
possible: true, false
default: false
only load instanceOwners, if true - hideInstanceOwner
possible: true, false
default: false
hide instanceOwners, if true - demoOnly
possible: true, false
default: false
only load demo users, if true - hideDemo
possible: true, false
default: false
hide demo users, if true - limitedOnly
possible: true, false
default: false
only load limited users, if true - hideLimited
possible: true, false
default: false
hide limited users, if true - activeOnly
possible: true, false
default: false
only load active persons - hideActive
possible: true, false
default: false
only load inactive persons - orderBy
possible:
id
active
login
createTime
lastLogin
lastName
firstName
the order by - orderDir
possible: asc, desc
default: asc
the ordering direction - offset
- limit
Produces
application/json
application/xml
com.matterial.mtr.api.object.SearchResult<Person>
- 200 OK
- 400 BAD_REQUEST
- 500 INTERNAL_SERVER_ERROR
Permission
Login
SampleGET http://localhost:8080/mtr-backend/api/person/search?query=philipp
Search autocomplete
URLGET <application-url>/api/person/search/autocomplete
Query parameter
- query
mandatory: true
url encoded search query - roleId
- instanceOwnerOnly
possible: true, false
default: false
only load instanceOwners, if true - hideInstanceOwner
possible: true, false
default: false
hide instanceOwners, if true - activeOnly
possible: true, false
default: false
only load active persons - hideActive
possible: true, false
default: false
only load inactive persons
Produces
application/json
application/xml
List<com.matterial.mtr.api.object.SearchAutocompleteSuggest>
- 200 OK
- 400 BAR_REQUEST
- 500 INTERNAL_SERVER_ERROR
Permission
Login
SampleGET http://localhost:8080/mtr-backend/api/person/search/autocomplete
Reindex all persons
URLPUT / POST <application-url>/api/person/search/reindexall
- 202 ACCEPTED
- 500 INTERNAL_SERVER_ERROR
Permission
ADMINISTRATE_ALL
SamplePUT http://localhost:8080/mtr-backend/api/person/search/reindexall