Retrieve the list of all events in the specified channel within a team.
1 | GET api/events |
–x-appvity-channelId: [ChannelID]
–x-appvity-teamid: [TeamID]
–Cookie: graphNodeCookie=[ID]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
**Body**
This method does not supply the request body.
## Response
If successful, this method returns a `200 OK` response code and the list of events objects in the response body.
```json
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#events",
"@odata.count": 1,
"value": [
{
"enable": true ,
"_id": [EventId],
"entityType": [entityType],
"eventName": [EventName]
"triggerType": [Trigger],
"conditionsOps": [and/or],
"conditions": [Condition],
"actionType": "SendMail",
"action": [ActionObject],
"isSystem": true/false ,
"tenantId": [tenantId],
"teamId": [TeamID],
"channelId": [ChannelID]
"internalId": [InternalID],
"updatedAt": [UpdatedTime],
"updatedBy": [UpdatedUser]
}
]
}
1 | { |
Comment