post https://app.asana.com/api/1.0/projects//duplicate
Creates and returns a job that will asynchronously handle the duplication.
Responses
Creates and returns a job that will asynchronously handle the duplication.
xxxxxxxxxx
13curl --request POST \
--url https://app.asana.com/api/1.0/projects/project_gid/duplicate \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"data": {
"schedule_dates": {
"should_skip_weekends": true
}
}
}
'
xxxxxxxxxx
28{
"data": {
"gid": "12345",
"resource_type": "job",
"resource_subtype": "duplicate_task",
"status": "in_progress",
"new_project": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"new_task": {
"gid": "12345",
"resource_type": "task",
"name": "Bug Task",
"resource_subtype": "default_task",
"created_by": {
"gid": "1111",
"resource_type": "user"
}
},
"new_project_template": {
"gid": "12345",
"resource_type": "project_template",
"name": "Packing list"
}
}
}