Priorities List
Retrieve the list of all priorities in the specified channel within a team.
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
--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.
{
"@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”}