Online Docs

Priorities List

Retrieve the list of all priorities in the specified channel within a team.

1
2
3
4
GET odata/priority
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

URL Endpoint

odata/priority

Method

GET.

Parameters

This method supports the $filter and $select OData Filter to help customize the response.

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

Success

If successful, this method returns a 200 OK response code and the list of priorities object in the response body.

1
2
3
4
5
6
7
8
9
10
11
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#severity(_id,name,primary,color)",
"value": [
{
"_id": "[PriorityID]",
"name": "[PriorityName]",
"color": "[ColorCode]",
"primary": false
}
]
}

Error

Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION.
Content: {error: “error message”}

Comment

Was this article helpful?
Thanks For Your Feedback