Custom Fields
Custom Field Endpoints allow for management of custom field information in CMap
Set Custom Field Value
HTTP POST v1/CustomFields/SetField
HTTP PUT v1/CustomFields/SetField
PUT and POST can be used interchangeably in this context
The JSON sample below includes the placeholder {EntityId} - This should be replaced with the token of the type you wish to update:
-
UserID
- Set a User custom field value -
AccountID
- Set a Company custom field value -
ContactID
- Set a Contact custom field value -
Project
- Set a Project custom field value
Specifying multiple of these is not supported
Request
{
"{EntityId}" = 12345,
"CustomFieldName" = "Legal Entity",
"CustomFieldValue" = "USA"
}