Update Custom Fields

When you make PATCH or POST API calls and need to update custom fields, you need to include a customFieldList and specify the ce_type.

Cloud Elements supports the following ce_type values:

  • SelectCustomFieldRef
  • date
  • long
  • integer
  • float
  • double
  • boolean
  • string

The following example shows how to include a customFieldListin the JSON body of a PATCH or POST request.


{
"customFieldList": {
  "customField":[
    {
        "scriptId": "custentity7",
        "ce_type":"SelectCustomFieldRef",
        "value":{
            "internalId":"1"
            }
    }
],
"customField":[
      {
        "scriptId": "custentity9",
        "ce_type":"date",
        "value": "2015-06-25T07:00:00Z"
      }
]
  }
}