Cập nhật lần cuối vào
Phiên bản: v0.9
Set color mapping
Update a color mapping of the current eTask channel.
PATCH odata/{property-name}({entity-id}) --Cookie: graphNodeCookie=[ID] --data-binary [EntityObject] |
URL Endpoint
odata/{property-name}({entity-id})
Method
PATCH.
Parameters
This method does not supply the request body.
Request Header
--Cookie: graphNodeCookie=[ID]
curl --location --request POST
'https://teams.appvity.com/odata/severity(5f5ed9639669798c318eb766)' \
--header 'Cookie:
graphNodeCookie=s%3ABythE-Ss7X6ps5qrICpEViAaDbTa7FcE.v8w1DWmK6nlN7XAZivGUnPHabNJMrR2JFoi0EnnEWMo' \
Body
{
"_id": "5f5ed9639669798c318eb766",
"name": "Low",
"description": "It won't cause any major break-down of the system.",
"order": 4,
"color": "#1666e6ff",
"primary": false
}
Response
Code: 204 No Content.
Error
Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION
Content: {error: "error message”}