get https://app.asana.com/api/1.0/allocations
Returns a list of allocations filtered to a specific project, user or placeholder.
Responses
Returns a list of allocations filtered to a specific project, user or placeholder.
xxxxxxxxxx
curl --request GET \
--url https://app.asana.com/api/1.0/allocations \
--header 'accept: application/json'
xxxxxxxxxx
35}
{
"data": [
{
"gid": "12345",
"resource_type": "allocation",
"start_date": "2024-02-28",
"end_date": "2024-02-28",
"effort": {
"type": "hours",
"value": 50
},
"assignee": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"created_by": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"parent": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"resource_subtype": "project_allocation"
}
],
"next_page": {
"offset": "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"path": "/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"uri": "https://app.asana.com/api/1.0/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9"