get https://app.asana.com/api/1.0/allocations/
Returns the complete allocation record for a single allocation.
Responses
Returns the complete allocation record for a single allocation.
xxxxxxxxxx
curl --request GET \
--url https://app.asana.com/api/1.0/allocations/allocation_gid \
--header 'accept: application/json'
xxxxxxxxxx
28{
"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"
}
}