Sets a value on an existing company-wide custom field for a specific client. This does not create a new field definition.
cURL
curl --request POST \ --url https://api.roostedhr.com/api/1_12/clients/{id}/custom-fields \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "custom_field_id": "<string>", "value": "<string>" } '
200
Example
Client ID
Custom field ID and the value to set.
The company-wide custom field definition ID.
The value to set for this client.
OK
A custom field with its value for a specific client.
Custom field definition ID.
Custom field name.
The value set for this client.
Field type (e.g., text, dropdown, checkbox).
Available options for dropdown/select fields.
Show child attributes