Person List
List staff accounts from CAMPUSonline.
Fields
id
(integer
)
Primary key.
first_name
(string
)
First name of person.
last_name
(string
)
Last name of person.
title
(string
)
Titles bestowed onto the person.
email
(string
)
Email address (only visible when authenticated).
room
(integer
)
Foreign key to CAMPUSonline room where this person has their primary workplace.
card
(string
)
URL to CAMPUSonline business card.
sex
(string
)
Sex of person:
W
(Female)M
(Male)
consultation
(string
)
Consultation hours as free form text. Content may contain other information.
appendix
(string
)
Miscellaneous information about person as free form text.
avatar
(string
)
URL to user avatar picture. May point to an empty image.
phone
(string
)
Office phone number of person.
phone_external
(string
)
External phone number of person.
fax
(string
)
Office fax number of person.
functions
([integer]
)
List of foreign keys to CAMPUSonline functions this person carries.
organizations
([integer]
)
List of foreign keys to CAMPUSonline organizations where this person is currently active.
organizations_leave
([integer]
)
List of foreign keys to CAMPUSonline organizations where this person is currently on leave.
Filters
To filter for exact value matches:
?<fieldname>=<value>
For advanced filtering use lookups:
?<fieldname>__<lookup>=<value>
Possible lookups:
first_name
:iexact
,contains
,icontains
,startswith
,istartswith
,endswith
,iendswith
,isnull
,regex
,iregex
last_name
:iexact
,contains
,icontains
,startswith
,istartswith
,endswith
,iendswith
,isnull
,regex
,iregex
title
:iexact
,contains
,icontains
,isnull
,regex
,iregex
consultation
:contains
,icontains
,isnull
,regex
,iregex
appendix
:contains
,icontains
,isnull
,regex
,iregex
Expansions
To activate relation expansion add the desired fields as a comma separated
list to the expand
query parameter like this:
?expand=<field>,<field>,<field>,...
The following relational fields can be expanded:
functions
organizations
organizations_leave
classification
expertise
knowledge
education
GET /v1/campusonline/person/?format=api&offset=2520
https://api-test.medunigraz.at/v1/campusonline/person/?format=api&limit=20&offset=2500", "results": [] }{ "count": 2472, "next": null, "previous": "