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
Get language by id
URLGET <application-url>/api/language/<languageId>
Path parameter
| parameter | mandatory | possible values | default | description |
|---|---|---|---|---|
| languageId | yes | - | - | language-id |
Produces
application/json
application/xml
com.matterial.mtr.api.object.Language
- 200 OK
- 400 BAD_REQUEST
- 404 NOT_FOUND
- 500 INTERNAL_SERVER_ERROR
Permission
Login
SampleGET http://localhost:8080/mtr-backend/api/language/1
Get languages
URLGET <application-url>/api/language
Query parameter
| parameter | mandatory | possible values | default | description |
|---|---|---|---|---|
| active | no | true, false | - | filter by active |
| orderBy | no | id name prio |
prio | order by |
| orderDir | no | asc, desc | asc | order by direction |
Produces
application/json
application/xml
List<com.matterial.mtr.api.object.Language>
- 200 OK
- 400 BAD_REQUEST
- 500 INTERNAL_SERVER_ERROR
Permission
Login
SampleGET http://localhost:8080/mtr-backend/api/language
Activate language
URLPUT <application-url>/api/language/<languageId>/activate
Path parameter
| parameter | possible values | default | description |
|---|---|---|---|
| languageId | 1,2,3,4,… | - | language-id |
Produces
text/plain
[Integer] updated
- 202 ACCEPTED
- 500 INTERNAL_SERVER_ERROR
Permission
instanceOwnerRequired
SamplePUT http://localhost:8080/mtr-backend/api/language/5/activate
Deactivate language
URLPUT <application-url>/api/language/<languageId>/deactivate
Path parameter
| parameter | possible values | default | description |
|---|---|---|---|
| languageId | 1,2,3,4,… | - | language-id |
Produces
text/plain
[Integer] updated
- 202 ACCEPTED
- 500 INTERNAL_SERVER_ERROR
Permission
instanceOwnerRequired
SamplePUT http://localhost:8080/mtr-backend/api/language/5/deactivate