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

Get Priority Chart

POST api/charts/teamProgress/task/getPriority
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data-binary [FilterObject] |

URL Endpoint

api/charts/teamProgress/task/getPriority

Method

POST.

Parameters

No support OData Filter syntax.

Request Header

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

Body

{
"xAxisFields": "priority",
"offset": "Asia/Bangkok",
"globalFilters": {
"channelFilter": [],
"standardizeBy": {},
"dateFilter": {
"filter": "(startDate ge '$date:2020-09-30T17:00:00z' and startDate le '$date:2020-12-31T16:59:59z')",
"filterBy": "startDate",
"startDate": "2020-09-30T17:00:00z",
"dueDate": "2020-12-31T16:59:59z",
"timeFrame": "lastCurrentNextMonth"
},
"sourceFilter": {
"filter": "",
"choices": []
},
"priorityFilter": {
"filter": "",
"choices": []
},
"statusFilter": {
"filter": "",
"choices": []
},
"severityFilter": {
"filter": "",
"choices": []
},
"assignTo": []
}
}

Response

{
"x": [
"High",
"Normal",
"Low"
],
"y": [
4,
3,
0
]
}