[#528] getUnitList with "isVisibleOnly" to false does not show all service providers

Migrated from Redmine #528 | Author: Dominic Ostiguy
Status: New | Priority: Immediate, there is BUG! | Created: 2020-05-07


Hi,

Where using the getUnitList method, if i use the following request:

{
    "method": "getUnitList",
	"params":[
		false,
		true
	],
    "jsonrpc": "2.0",
    "id": 1
}

it only shows me the only “visible” service provider.

I have more than 90+ service provider, but the checkbox to show the service on the front-end is unchecked (not visible)

So clearly if they are all non-visible and i send “False” to the first parameter, i should see them all but that is not the case…

So i have no way to have a complete list of my service providers

Dominic Ostiguy wrote:

Login is agencemacmedia if it helps

Redmine Admin wrote:

Hi, yes, it return only visible providers for public API
To get all providers you need to use same method but in User/Admin API which has different authentication procedure described here API documentation | SimplyBook.me Online Scheduling

Dominic Ostiguy wrote:

Thanks for the quick reply… indeed it makes sense now that you mention it.

Where is there explained in the documention though? I don’t see what you just told me in the API Doc.