Retrieve a list of tasks in the eTask project per Team/Channel.
--Cookie
, --x-appvity-teamid
, and --x-appvity-channelId
are required and --x-appvity-groupId
and --x-appvity-entityId
are not.
This operation returns by default only of all the available properties. To get the task’s properties that are not returned by default, specify them in a $select
OData query option.1
2
3
4GET /api/tasks [?<CommonODataExpression>]
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
/api/tasks
GET.
This method supports the $select
, $count
, $orderby
, $top
and $filter
OData Filter parameters to help customize the response.
Headers1
2
3--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
Body
This method does not supply the request body.
Success
If successful, this method returns a 200 OK response code and collection of task objects in the response body.
Error
If the --Cookie: graphNodeCookie=[ID]
expires, returns 401 Unauthorized
.
This method returns 404 Not Found
and Must run inside Microsoft Teams. message when missing –x-appvity-channelId or –x-appvity-teamid.
Request1
2
3
4
5
6curl --location --request GET
'https://teams.appvity.com/api/tasks?$count=true&$top=16&$orderby=internalId%20desc'\
--header 'x-appvity-groupId: f87faa71-57a8-4c14-91f0-517f54645106' \
--header 'x-appvity-channelId: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'Content-Type: application/json' \
--header 'Cookie:graphNodeCookie=s%3A7fny8dhq1t5QO4Z9UNMYylwYpS0WfpRC.8vknvG34SrmKol3FvYAzcKdzPa28mDQIxt48qc0LrBE' \
Response
1 | { |
Comment