Migrated from Redmine #1151 | Author: Aria W
Status: New | Priority: High, I’m very impatient | Created: 2024-01-30
Hi, I would like to ask how to pass the location id when using getStartTimeMatrix api, it was unclear in the documentation. I do not understand the meaning of " If locations plugin activated for company you should pass a list as $unitID parameter ", could you please provide some instructions on that?
I tried to use {“jsonrpc”:“2.0”,“method”:“getStartTimeMatrix”,“params”:[“2024-01-31”,“2024-01-31”, “2”, { “unit_id”: 3, “location_id”: [“2”]},null, [1] ],“id”:1} and {“jsonrpc”:“2.0”,“method”:“getStartTimeMatrix”,“params”:[“2024-01-31”,“2024-01-31”, “2”, { “unit_id”: 3, “location_id”: 2},null, [1] ],“id”:1}, but they did not work, both returned me with false time slots, because the unit 3 was not even assigned to location 2.
Hope you can help me with this.
Thank you so much.