REST - Task - TaskStatus

REST-Interface

Zurück zur Übersicht

Get taskstatus by id

URL
GET <application-url>/api/task/status/<taskStatusId>

Path parameter

  • taskStatusId

Query parameter

  • languageKey
    possible: de, en, fr, it, ...
    default: de
    The requested language

Produces

application/json
application/xml

com.matterial.mtr.api.object.TaskStatus

  • 200 OK
  • 400 BAD_REQUEST
  • 404 NOT_FOUND
  • 500 INTERNAL_SERVER_ERROR

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/task/status/1


Get all taskstatus

URL
GET <application-url>/api/task/status

Query parameter

  • languageKey
    possible: de, en, fr, it, ...
    default: de
    The requested language
  • orderBy
    possible:
    id
    name
    type
    default: type
    the order by
  • orderDir
    possible: asc, desc
    default: asc
    the ordering direction

Produces

application/json
application/xml

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

  • 200 OK
  • 500 INTERNAL_SERVER_ERROR

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/task/status?languageKey=en

×