Asana API Question

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.

  1. How can we find the gid of the requested_dates?

  2. 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

Hi,

What is requested_dates?
The code is the endpoint and params to use to use a template V2 to create a project.

Hope this helps.