system
June 23, 2018, 6:39pm
1
Migrated from Redmine #188 | Author: martin ploug
Status: Closed | Priority: Normal | Created: 2018-06-23
When creating client, id of created client is not returned.
When creating client with email that already exist, no id of already existing client is not returned.
system
June 23, 2018, 6:56pm
2
martin ploug wrote:
martin ploug wrote:
When creating client, id of created client is not returned.
When creating client with email that already exist, no id of already existing client is not returned.
Sorry! Missed to add id to request. Works!
system
June 23, 2018, 7:06pm
3
martin ploug wrote:
martin ploug wrote:
When creating client, id of created client is not returned.
When creating client with email that already exist, no id of already existing client is not returned.
How are you to distinguish between client created and client already exist, they both return status-code 200 and an ID as result.
Vitaliy Kordiak wrote:
Hi,
Adds new client with specified data. You can specify name, email, phone, address1, address2, city, zip,
country_id.
If client record with specified data exists method will return an id of this record.
Use getClientList to verify the existence of the client.
Thank you for your appeal
Best regards Simplybook team