tl;dr:
vacation_dates
are available fromGET /workspace_memberships/{gid}
Hey folks,
We’ve added a vacation_dates
field to WorkspaceMemberships
. Vacation dates in the API map to “out of office” in Asana.
Example
{
"gid": "12345",
"resource_type": "workspace_membership",
"user": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"workspace": {
"gid": "12345",
"resource_type": "workspace",
"name": "My Company Workspace"
},
"is_active": true,
"is_admin": true,
"is_guest": true,
"user_task_list": {
"gid": "12345",
"resource_type": "user_task_list",
"name": "My Tasks in My Workspace",
"owner": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"workspace": {
"gid": "12345",
"resource_type": "workspace",
"name": "My Company Workspace"
}
},
"vacation_dates": {
"end_on": "2022-11-07",
"start_on": "2022-11-05"
}
}
Impact
You will be able to check vacation dates for a user via the API. For the moment, this is read-only.
Timeline
Generally available now (2022-11-16).
Yours in Developer Relations,
Sasha, on behalf of the Asana API Team