Skip to content

how to add a tagfilter? #33

Answered by rlad78
Letshadow asked this question in Q&A
Jun 12, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Unfortunately, this is a limitation of AXL, not the library. get_phones, get_users, and get_directory_numbers all use 'list' calls instead of 'get' like their singular counterparts. The AXL schema specifies that nearly all 'list' calls must provide a valid 'returnedTags' attribute (this is what tagfilter directly assigns to). With 'get' calls, this is optional and AXL will return all tags if 'returnedTags' is not supplied.

There is currently not a way to ask AXL to return all tags on a 'list' call without specifying every single tag manually. Again, the work done in #30 will make this a non-issue, but that is not ready to be implemented yet.

For now, the workaround I would suggest is pull…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Letshadow
Comment options

Answer selected by Letshadow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants