PUT api/2.0/crm/history/category/reorder
Updates the order of the history categories with a list specified in the request.
Name |
Description |
Type |
Example |
titles
sent in body
|
List of history category titles
|
Collection of strings
collection
|
some text
|
PUT api/2.0/crm/history/category/reorder
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"titles": [
"some text"
]
}
History categories in the new order
application/json
{
"status": 0,
"response": [
{
"relativeItemsCount": 1,
"imagePath": "path to image",
"title": "Lunch",
"description": "",
"color": "",
"sortOrder": 10,
"id": 30
}
]
}
text/xml
<result>
<status>0</status>
<response>
<relativeItemsCount>1</relativeItemsCount>
<imagePath>path to image</imagePath>
<title>Lunch</title>
<description></description>
<color></color>
<sortOrder>10</sortOrder>
<id>30</id>
</response>
</result>