Migrated from Redmine #328 | Author: Oliver Philpott
Status: New | Priority: Normal | Created: 2019-02-04
I can’t find any documentation on how to use the $filter object in the method getClassesList, or what it actually does.
I have looked here:
Migrated from Redmine #328 | Author: Oliver Philpott
Status: New | Priority: Normal | Created: 2019-02-04
I can’t find any documentation on how to use the $filter object in the method getClassesList, or what it actually does.
I have looked here:
Redmine Admin wrote:
getClassesList($isVisibleOnly = false, $asArray = false)
Oliver Philpott wrote:
Thanks - so this documentation is not correct?
getClassesList ($filter) Returns company's classes list. Ordered by position @param Array $filter @return Array
Redmine Admin wrote:
Ah… sorry, you are right. We have 2 version: public and admin. For version is also correct - it is public API version
Filter is array and may include following fields:
include_services location_id category_id
Oliver Philpott wrote:
Thank you, that’s really helpful. It would be great if you could update the documentation.