REST - Client - CompanyInfoResource

REST-Interface

Zurück zur Übersicht

Get all company info items

Since 2.4
URL
GET <application-url>/api/client/companyinfo

Query parameter

  • orderBy
    possible:
    id
    prio
    default: prio
    the order by
  • orderDir
    possible: asc, desc
    default: asc
    the ordering direction

Produces

application/json
application/xml

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

  • 200 OK
  • 500 INTERNAL_SERVER_ERROR

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/client/companyinfo


Store company info items

Updates the list of company info items.
Since 2.4
URL
`PUT /api/client/companyinfo

Consumes

application/json
application/xml

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

Produces

text/plain

Integer - updated rows

  • 200 OK
  • 500 INTERNAL_SERVER_ERROR

Permission
instanceOwnerRequired

Sample
`PUT http://localhost:8080/mtr-backend/api/client/companyinfo

×