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

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    tasksObject[]
      backColorString

Background color

      counterNumber

Employee counter for the task

      descriptionString

Task description

      favouriteBoolean

TRUE if the task is favourite

      foreColorString

Foreground color

      idString

Task id

      isPublishedBoolean

TRUE if the task is published

      nameString

Task name

      toDoListoptionalObject[]

Array with a to do list

        descriptionString

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"
}
]
}
}
}