[#541] How to save client custom field while booking?

Migrated from Redmine #541 | Author: umberto conti
Status: New | Priority: High, I’m very impatient | Created: 2020-06-17


Hi,
i’ve created a custom_field for my clients.
Now i want to populate that field when i create a new client while booking via api.

How can i do that?

Redmine Admin wrote:

Hi, there is no API for this custom feature available.

umberto conti wrote:

Redmine Admin wrote:

Hi, there is no API for this custom feature available.
Thanks for reply.

So why when i try to call method “addClientWithoutLogin” without “client_fields” i get an error associated to my required custom_field (screen 1)? When i try to call the same method with custom field value everything seems to goes well, but value isn’t stored (screen 2) Is it a bug?

umberto conti wrote:

screen 1

screen 2

Redmine Admin wrote:

You need to turn off custom fields for client feature if need to create clients via API