Staff Target¶
qgendapy.resources.staff_target
¶
StaffTargetResource(client)
¶
Bases: BaseResource
Synchronous staff target endpoints.
Source code in src/qgendapy/resources/_base.py
list(*, odata=None)
¶
create(*, data)
¶
update(*, data)
¶
delete(*, data)
¶
locations(staff_target_key)
¶
add_location(staff_target_key, location_key)
¶
remove_location(staff_target_key, location_key)
¶
profiles(staff_target_key)
¶
staff(staff_target_key)
¶
add_staff(staff_target_key, staff_key, *, data=None)
¶
update_staff(staff_target_key, staff_key, *, data)
¶
remove_staff(staff_target_key, staff_key)
¶
task_shifts(staff_target_key)
¶
add_task_shift(staff_target_key, *, data)
¶
AsyncStaffTargetResource(client)
¶
Bases: AsyncBaseResource
Asynchronous staff target endpoints.