PUT api/2.0/crm/{entityType}/customfield/reorder
Updates user fields order
Name |
Description |
Type |
Example |
entityType
sent in url
|
Entity type
|
string
|
some text
|
fieldids
sent in body
|
User field ID list
|
Collection of numbers
collection
|
1234
|
PUT api/2.0/crm/some+text/customfield/reorder
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"fieldids": [
1234
]
}
application/json
{
"status": 0,
"response": [
{
"entityId": 14523423,
"label": "Birthdate",
"fieldValue": "2021-01-21T09:11:56.3463068Z",
"fieldType": 5,
"position": 10,
"mask": "",
"id": 0
}
]
}
text/xml
<result>
<status>0</status>
<response>
<entityId>14523423</entityId>
<label>Birthdate</label>
<fieldValue>2021-01-21T09:11:56.3463068Z</fieldValue>
<fieldType>5</fieldType>
<position>10</position>
<mask></mask>
<id>0</id>
</response>
</result>