Staff

Introduction #

The Staff model represents a staff member in a Canvas instance.

To get a Staff object by it’s identifier, use the get method:

from canvas_sdk.v1.data.staff import Staff

staff = Staff.objects.get(id="4150cd20de8a470aa570a852859ac87e")

Staff objects are commonly used in related models, for example the Task model. To see all of a staff member’s assigned or created tasks, the following code can be used:

from canvas_sdk.v1.data.staff import Staff

staff = Staff.objects.get(id="4150cd20de8a470aa570a852859ac87e")

staff.assignee_tasks.all()
# <QuerySet [<Task: Task object (3)>]>

staff.creator_tasks.all()
# <QuerySet [<Task: Task object (7)>]>

Attributes #

Staff #

Field NameType
idUUID
dbidInteger
createdDateTime
modifiedDateTime
createdDateTime
modifiedDateTime
prefixString
suffixString
first_nameString
middle_nameString
last_nameString
maiden_nameString
nicknameString
previous_namesJSON
birth_dateDate
sex_at_birthPersonSex
sexual_orientation_termString
sexual_orientation_codeString
gender_identity_termString
gender_identity_codeString
preferred_pronounsString
biological_race_codesArray[String]
biological_race_termsArray[String]
cultural_ethnicity_codesArray[String]
cultural_ethnicity_termsArray[String]
last_known_timezoneTimeZone
activeBoolean
npi_numberString
nadean_numberString
group_npi_numberString
bill_through_organizationBoolean
tax_idString
tax_id_typeTaxIDType
spi_numberString
personal_meeting_room_linkURL
stateJSON
userCanvasUser
schedule_column_orderingString
default_supervising_providerStaff

Enumeration types #

PersonSex #

ValueLabel
“F”“female
“M”“male”
“O”“other”
“UNK”“unknown”

TaxIDType #

ValueLabel
“E”“EIN text”
“S”“SSN”