Migrated from Redmine #1209 | Author: Ngoc Phung Status: Closed | Priority: Normal | Created: 2024-04-10
Hello, on REST API /admin/providers and /admin/services/, there are is_visible and is_active properties.
I understand is_visible should be the status of the services/ providers if they are being hidden or not.
But I am not sure what is is_active? How to get is_active == false? Will there be any case that a service/ provider has is_active == false BUT it_visisble == true?
If you make booking and then remove service/provider.
Then in details of the booking you will see this service/provider, but is_active will be false.
There is no way to receive list of such services/providers.
hmm, I am just asking about service and provider (mentioned above REST API /admin/providers and /admin/services/)
and my question is, if service or provide has is_active: false, does it mean is_visible will always be false as well?
I am not asking about bookings or anything else, I am only asking about service/ provider data returned by REST API /admin/providers and /admin/services/
ohhh, may I ask how to create the case when service or provider has is_active: false but is_visible: true?
If you make booking and then remove service/provider.
Then in details of the booking you will see this service/provider, but is_active will be false and is_visible will be true