Migrated from Redmine #289 | Author: Mateusz Przybylek (DIABDIS)
Status: Closed | Priority: Normal | Created: 2018-11-20
Hello,
According to documentation: API documentation | SimplyBook.me Online Scheduling
addClient should create new Client or return existing Client Id when Client with same data already exists:
“If client record with specified data exists method will return an id of this record. Otherwise data
will be stored to database and method will return an id of newly created record.”
Unfortunatly, it allways creates a new Client.
I run this json multiple times:
{
“jsonrpc”:“2.0”,
“method”:“addClient”,
“params”:[
{
“name”:“My Name”,
“email":"myname@gmail.com”,
“phone”:“123456789”
}
],
“id”:11
}
A new Client is allways created.