Hello. My team is trying to leverage Asana APIs but are running into obstacles and need help with these two questions. Any help would be greatly appreciated.
-
How can we find the gid of the requested_dates?
-
The following code is from Asana’s API but we are not sure what it means:
Code samples
curl -X POST https://app.asana.com/api/1.0/project_templates/{project_template_gid}/instantiateProject
-H ‘Content-Type: application/json’
-H ‘Accept: application/json’
-H ‘Authorization: Bearer {access-token}’
-d ‘{“data”: {“field”:“value”,“field”:“value”} }’
Body parameter
{
“data”: {
“is_strict”: true,
“name”: “New Project Name”,
“public”: true,
“requested_dates”: [
{
“gid”: “12345”,
“value”: “2022-01-01”
}
],
“team”: “12345”,
“workspace”: “12345”
}
}
Thank you,
Josh