Migrated from Redmine #239 | Author: YZM Technology
Status: Rejected | Priority: High, I’m very impatient | Created: 2018-09-19
Hello!
Is it possible to add id perimeter when adding new service provider like this?
$data= '{
"id" : "123",
"name" : "Test User",
"description" : "",
"phone" : "",
"email" :"test@gmail.com",
"qty" : "2",
"is_visible" : 1,
"is_active" : 1,
"position" : 2,
"position_in_location" : null,
"locations" : [ 3 ],
"services" : [ 1, 2 ]
}';
$json = json_decode($data, true);
$services = $client->addServiceProvider($json);