Update a history category icon
PUT /api/2.0/crm/history/category/{id:[0-9]+}/icon
Updates an icon of a history category with the ID specified in the request.
Request body
id
type: integer
History category ID
Example: 0
imageName
type: string
New image name of the history category
Example: "string"
Request example
{
"id": 0,
"imageName": "string"
}
Returns
History category with the updated icon. A request that is not authenticated returns 401.
RelativeItemsCount
type: integer
Example: 1
ImagePath
type: string
Example: "path to image"
Title
type: string
Example: "Title"
Description
type: string
Example: "Description"
Color
type: string
Example: "#a7fc00"
SortOrder
type: integer
Example: 1
ID
type: integer
Example: 1234
Response example
{
"RelativeItemsCount": 1,
"ImagePath": "path to image",
"Title": "Title",
"Description": "Description",
"Color": "#a7fc00",
"SortOrder": 1,
"ID": 1234
}