curl --location --request POST '/tasks/duplicate-project-tasks' \
--header 'Websync-Session;' \
--header 'Content-Type: application/json' \
--data-raw '{
"oldProjectId": 0,
"projectId": 0
}'[
{
"tasks": [
{
"id": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"name": "string",
"creatorId": 0,
"color": "string",
"status": 0,
"dateBegin": "2019-08-24T14:15:22.123Z",
"dateEnd": "2019-08-24T14:15:22.123Z",
"dateBeginWithoutTime": "2019-08-24",
"dateEndWithoutTime": "2019-08-24",
"dateMove": "2019-08-24T14:15:22.123Z",
"dateStatusChanged": "2019-08-24T14:15:22.123Z",
"blockReason": "string",
"importance": -1,
"stages": [
{
"stageId": 0,
"order": "-1000000",
"pinned": false,
"projectId": 0
}
],
"tags": [
0
],
"parentTaskIds": [
0
],
"responsibleUserId": [
0
],
"hasMessages": true,
"hasDescription": true,
"members": [
0
],
"list": [
{
"id": 0,
"name": "string",
"isChecked": true,
"taskId": 0,
"childTaskId": {},
"order": "3"
}
],
"checklist": {
"items": 0,
"itemsChecked": 0
},
"cover": {
"id": 1,
"height": 100,
"width": 100,
"pictureUid": "7b1d6b89-9fee-47c9-bff5-831d4cfc9e63",
"dominantColor": "#FF0000",
"taskId": 0
},
"planTime": 0,
"factTime": 0
}
],
"stages": [
{
"id": 0,
"projectId": 0,
"name": "string",
"order": "3",
"tasksLimit": 0,
"color": "string",
"hasAutomatization": true
}
],
"allTasksCount": 0,
"overdueTasksCount": 0,
"tasksCount": 0
}
]