Get Started
Portal api methods
Help

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 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": "2019-08-19T01:39:26.0202930Z",
      "fieldType": 5,
      "position": 10,
      "mask": "",
      "id": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <entityId>14523423</entityId>
    <label>Birthdate</label>
    <fieldValue>2019-08-19T01:39:26.0202930Z</fieldValue>
    <fieldType>5</fieldType>
    <position>10</position>
    <mask></mask>
    <id>0</id>
  </response>
</result>