Description: Update the list of trackings of a certain task. |
URL: /api/task/:taskId/tracking/ |
Method: PATCH |
Data constraints: Provide trackings by their ids. |
Example request:
{
"trackings": ["2", "3"]
} |
Example result:
{
"data": [
{
"id": "2",
"description": "This is the 2nd test tracking.",
"startTime": "2020-11-15T12:00:00.000Z",
"endTime": null,
"createdAt": "2020-11-22T15:45:20.150Z",
"updatedAt": "2020-11-22T16:04:18.000Z"
},
{
"id": "3",
"description": "This is the 3rd test tracking.",
"startTime": "2020-11-15T12:00:00.000Z",
"endTime": "2020-11-15T15:00:00.000Z",
"createdAt": "2020-11-22T15:45:20.159Z",
"updatedAt": "2020-11-22T16:04:18.000Z"
}
]
} |