curl --location --request POST '/tasks/duplicate' \
--header 'Websync-Session;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"order": 0,
"stageId": 0,
"responsibleUsersId": [
"string"
],
"description": "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",
"color": "string",
"members": [
"string"
],
"tags": [
"string"
],
"checklist": {
"dominantColor": "string",
"height": 0,
"id": 0,
"pictureUid": "string",
"taskId": 0,
"width": 0
},
"duplicateCover": true,
"duplicatingTaskId": 0
}'{
"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
}