Migrated from Redmine #483 | Author: Vincent RIFA
Status: New | Priority: Normal | Created: 2020-03-06
Hello,
I cannot find a way to use the param searchString of the getUnitList() method.
What ever param I use, it brings me back a full list of my Service Providers :
@
var performers = client.getUnitList(true, true, -1, “Peter Benton”);
console.log("performers : " + JSON.stringify(performers));@
performers : [{"id":"3","name":"Peter Benton","description":"","phone":"","email":"peter.benton@yopmail.com","station_id":"1","qty":"1","is_active":"1","position":"3","is_visible":"1","file_id":null,"seo_url":null,"picture":null,"picture_sub_path":null,"picture_path":null,"event_map":{"2":null},"services":[2],"user":false,"classes_plugin_info":{"event_binded_in_class":null,"events_binded_in_classes":[]}},{"id":"4","name":"Dr Mario","description":"","phone":"","email":"dr.mario@yopmail.com","station_id":"1","qty":"1","is_active":"1","position":"8","is_visible":"1","file_id":null,"seo_url":null,"picture":null,"picture_sub_path":null,"picture_path":null,"event_map":{"2":null},"services":[2],"user":false,"classes_plugin_info":{"event_binded_in_class":null,"events_binded_in_classes":[]}},{"id":"5","name":"Pascal Joly","description":"","phone":"","email":"pascal.joly@yopmail.com","station_id":"1","qty":"1","is_active":"1","position":"10","is_visible":"1","file_id":null,"seo_url":null,"picture":null,"picture_sub_path":null,"picture_path":null,"event_map":{"5":null},"services":[5],"user":false,"classes_plugin_info":{"event_binded_in_class":null,"events_binded_in_classes":[]}}]
Is the params still used?
How should I use it?
Thanks in advance,
Vincent Rifà