ProRoster - Create an unassigned task
API Url
Use it to create an unassigned task
POST
http://localhost:16010/ProMarkREST/web/ProRoster/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 |
| baseId | Number | Id of the base task |
| counter | Number | Employee counter for the task |
| date | Date | Task date |
| description | String | Task description |
| favorite | Boolean | TRUE if the task is favourite |
| foreColor | String | Foreground color |
| isPublished | Boolean | TRUE if the task is published |
| name | String | Task name |
| planId | Number | Plan id |
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": [{"planId": 2165121401,"favorite": false,"name": "Some other Task","description": "This is a dummy task","date": "2021-05-21","toDoList": [{"description": "Step 2.one"},{"description": "Step 2.two"}],"backColor": "ffcc33"}]}}}