Update the properties of the specified status in a channel.
PATCH odata/status({id}) –x-appvity-channelId: [ChannelID] –x-appvity-teamid: [TeamID] –Cookie: graphNodeCookie=[ID] –data-raw: {StatusObject} |
odata/status({id})
PATCH.
Do not supply OData Filter syntax.
x-appvity-channelId: [ChannelID]
x-appvity-teamid: [TeamID]
Cookie: graphNodeCookie=[ID]
Body
In the request body, supply a JSON representation of Status object.1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17{
"name": "[Status Name]",
"color": "[Status Color Code]",
"category": "[Status Catergory]",
"description": "[Description]",
"primary": [Set Primary],
"order": [Status Order],
"value": [[Status Order]]
}
If successful, this method returns 204 No Content response code.
Error
Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION.
Content: {error: “error message”}
Example:
Request
Response
Comment