I’m playing around with the REST API and I’m facing a problem I can’t solve by myself.
I want to create a project by API call, which is working. But I have to give a ref by myself. I want Dolibarr to give a ref based on the defined rules automatically. When creating a client, it works this way:
What if you looked at what generates the REF inside the Dolibarr GUI and made a change to the code behind the API to generate a REF if one was not supplied in the API call?