Online Docs

List invalid tasks

Retrieves a list of invalid tasks that have not been mapped the statuses in the eTask project for each Team/Channel.

1
2
3
4
GET /api/tasks/wanderer [?<CommonODataExpression>]  
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

URL Endpoint

api/tasks/wanderer

Method

GET.

Parameters

This method supports the $select, $count, $orderby, $top and $filter OData Filter parameters to help customize the response.

Request

Headers

1
2
3
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

This method does not supply the request body.

Response

Success

If successful, this method returns a 200 OK response code and collection of invalid task objects in the response body.

Error

If the --Cookie: graphNodeCookie=[ID] expires, returns This method returns 404 Not Found and Must run inside Microsoft Teams. message when missing –x-appvity-channelId or –x-appvity-teamid.

Example

Request

1
2
3
4
5
curl --location --request GET 'https://teams.appvity.com/api/tasks/wanderer?t=1600055978590&$count=true&$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'

Respond

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#tasks",
"value": [
{
"bucket": [
"u244ysCHLUKmUHoJYVBxZGQAPRNJ"
],
"assignedTo": [],
"attachments": [],
"_id": "5f608c404d596392f5446b34",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"sourceId": "smI1WumpU02y4CcyBf5WKWQAI6Zu",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"bucketName": "To do",
"complete": 0,
"createdAt": "2020-09-15T08:28:36.950Z",
"createdBy": {
"sourceId": "5083cb81-35f4-4abd-ba2d-e7b9965c1f89",
"name": "Oliver Neal",
"username": "oliver@anadea.com"
},
"entityId": "eTask.30c4d651-af40-4739-f9a1-5da75d4fbb4b",
"groupId": "f87faa71-57a8-4c14-91f0-517f54645106",
"internalId": 7,
"name": "Plan",
"phase": "lasaGj5Dg0qDwyQDxS39pGQAEmbh",
"phaseName": "eTask API",
"priority": "Normal",
"projectId": {
"enableBug": true,
"_id": "5f602de74d596392f53d4568",
"sourceId": "lasaGj5Dg0qDwyQDxS39pGQAEmbh",
"displayName": "Anadea Project",
"projectName": "Anadea Project"
},
"source": "Microsoft.Planner",
"status": "Invalid",
"sync": {
"status": "ETASK_MAPPING_NOTFOUND",
"at": "2020-09-15T09:41:33.748Z"
},
"tenantId": "df7abg9c-c05a-4fc9-b958-64faered911d",
}
],
"@odata.count": 1
}

Comment

Was this article helpful?
Thanks For Your Feedback