Profile¶
qgendapy.resources.profile
¶
ProfileResource(client)
¶
Bases: BaseResource
Synchronous profile endpoints.
Source code in src/qgendapy/resources/_base.py
list(*, odata=None)
¶
List all profiles in the company.
Requires an admin-scoped QGenda account. Service accounts
provisioned only for schedule reads will get a 401 with the message
No valid profile exists for user in company provided. Catch
:class:qgendapy.exceptions.APIError if you call this from code
that may run under non-admin credentials.