ProRoster - Update a base task
API Url
Use it to update a base task
PUT
http://localhost:16010/ProMarkRESTweb/ProRoster/base-tasks
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| tasks | Object[] | |
| backColor | String | Background color |
| counter | Number | Employee counter for the task |
| description | String | Task description |
| favourite | Boolean | TRUE if the task is favourite |
| foreColor | String | Foreground color |
| id | String | Task id |
| isPublished | Boolean | TRUE if the task is published |
| name | String | Task name |
toDoListoptional | Object[] | Array with a to do list |
| description | String | Description of the to do item |
Success example:
HTTP/1.1 200 OK{"request": {"data": {"tasks": [{"id": 2205783021,"favorite": false,"name": "Some other Task","description": "This is a dummy task","toDoList": [{"description": "Step 2.one"},{"description": "Step 2.two"}],"backColor": "ffcc33"}]}}}