Online Docs

Update Status

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}

URL Endpoint

odata/status({id})

Method

PATCH.

Parameters

Do not supply OData Filter syntax.

Request Header

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]]

}

Response

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

Was this article helpful?
Thanks For Your Feedback