Chuyển tới nội dung chính

Event Detail

Get the properties and relationships of the specified event object.

GET
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

URL Endpoint

Method

GET.

Parameters

Do not supply OData Filter syntax.

Request

Header

--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 a 200 OK response code and event object in the response body.

Example

Request

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

Response

{
"0": {
"_id": "5f72a3404d596392f5abd604",
"entityType": "task",
"eventName": "Test New Event ",
"enable": true,
"triggerType": "ITEM_CREATED",
"conditionsOps": "and",
"conditions": [
{
"ops": "and",
"conditions": [
{
"field": "status",
"ops": "Is",
"value": "Not Started"
}
]
}
],
"actionType": "SendMail",
"action": {
"sendAs": "team.etask.mail@anadea",
"to": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "true",
"specificPeople": "false",
"people": []
},
"cc": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "false",
"specificPeople": "false",
"people": []
},
"bcc": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "false",
"specificPeople": "false",
"people": []
}
},
"createdAt": "2020-09-29T03:00:16.669Z",
"updatedAt": "2020-09-29T03:00:16.669Z",
"internalId": 38
},
"@odata.context": "https://schema.appvity.com/odata/$metadata#eventDefinitions/$entity",
"value": [
{
"_id": "5f72a3404d596392f5abd604",
"entityType": "task",
"eventName": "Test New Event ",
"enable": "true",
"triggerType": "ITEM_CREATED",
"conditionsOps": "and",
"conditions": [
{
"ops": "and",
"conditions": [
{
"field": "status",
"ops": "Is",
"value": "Not Started"
}
]
}
],
"actionType": "SendMail",
"action": {
"sendAs": "team.etask.mail@anadea",
"to": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "true",
"specificPeople": "false",
"people": []
},
"cc": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "false",
"specificPeople": "false",
"people": []
},
"bcc": {
"projectManager": "false",
"whoCreateTask": "false",
"whoAssignedTask": "false",
"specificPeople": "false",
"people": []
}
},
"createdAt": "2020-09-29T03:00:16.669Z",
"updatedAt": "2020-09-29T03:00:16.669Z",
"internalId": 38
}
]
}