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

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    tasksObject[]
      backColorString

Background color

      baseIdNumber

Id of the base task

      counterNumber

Employee counter for the task

      dateDate

Task date

      descriptionString

Task description

      favoriteBoolean

TRUE if the task is favourite

      foreColorString

Foreground color

      isPublishedBoolean

TRUE if the task is published

      nameString

Task name

      planIdNumber

Plan id

      toDoListoptionalObject[]

Array with a to do list

        descriptionString

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