Get Started
Usage API
More information

PUT api/2.0/crm/{entityType}/customfield/reorder This function requires authentication

Description

Updates user fields order

Parameters
Name Description Type Example
entityType
sent in url
Entity type
Allowed values: contact,person,company,opportunity,case
string some text
fieldids
sent in body
User field ID list Collection of numbers
collection
1234
Example
PUT api/2.0/crm/some+text/customfield/reorder
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "fieldids": [
    1234
  ]
}
Returns

User fields

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "entityId": 14523423,
      "label": "Birthdate",
      "fieldValue": "2021-08-05T16:59:56.6542091Z",
      "fieldType": 5,
      "position": 10,
      "mask": "",
      "id": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <entityId>14523423</entityId>
    <label>Birthdate</label>
    <fieldValue>2021-08-05T16:59:56.6542091Z</fieldValue>
    <fieldType>5</fieldType>
    <position>10</position>
    <mask></mask>
    <id>0</id>
  </response>
</result>