Online Docs

Triggers List

Retrieves all trigger that support to create or update event in eTask.

1
2
3
4
GET api/events/triggers
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID] |

URL Endpoint

api/events/triggers

Method

GET.

Parameters

Support OData Filter syntax.

Request

Header

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

Body

This method does not supply the request body.

Response

If successful, this method returns 200 OK response code and list of triggers:

1
2
3
4
5
6
{
"id": "",
"entityType": "[Type]",
"name": "[TriggerName]",
"displayName": "[DisplayName]"
}

Example:

Request

1
2
3
4
curl --location --request GET 'https://teams.appvity.com/api/events/actions' \
--header 'x-appvity-channelId: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'x-appvity-teamid: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'Cookie: graphNodeCookie=s%3Ay99BNluVZ2N79o8oBS8tqaYZ56FhIqtD.7G32PfH%2FxaLvWgBgt7eHqKqbvDL%2FFmTcuDG5z8g0cC0'

Response

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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[
{
"id": "",
"entityType": "task",
"name": "ITEM_CREATED",
"displayName": "A task is created"
},
{
"id": "",
"entityType": "task",
"name": "ITEM_UPDATED",
"displayName": "A task is updated"
},
{
"id": "",
"entityType": "task",
"name": "DUESOON",
"displayName": "A task is due soon"
},
{
"id": "",
"entityType": "task",
"name": "ITEM_DELETED",
"displayName": "A task is deleted"
},
{
"id": "",
"entityType": "task",
"name": "OVERDUE",
"displayName": "A task is overdue"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_CREATED",
"displayName": "A bug is created"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_UPDATED",
"displayName": "A bug is updated"
},
{
"id": "",
"entityType": "bug",
"name": "DUESOON",
"displayName": "A bug is due soon"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_DELETED",
"displayName": "A bug is deleted"
},
{
"id": "",
"entityType": "bug",
"name": "OVERDUE",
"displayName": "A bug is overdue"
}
]

Comment

Was this article helpful?
Thanks For Your Feedback