Skip to navigation

UpdateProfessor

View as Markdown

Update a professor (teacher) of your school.

Input variables

  • professorId: id of the professor. Check the GetProfessors call

Send only the fields you want to change; anything you omit is left unchanged. Accepts the same fields as CreateProfessor.

gender/city/country are matched by name to your school’s values. A name your school does not list yet is added to its list rather than dropped.

Returns the professor as it is after the update.

Path parameters

professorIdstringRequired

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional

Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is “myaccount”), or your full white-labelled domain. Required on every request.

schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Request

This endpoint expects an object.
lastnamestringRequired
mobilestringRequired
citystringRequired

Response headers

Access-Control-Allow-OriginstringOptional
Access-Control-Allow-MethodsstringOptional
X-Content-Type-OptionsstringOptional
Cache-ControlstringOptional

Response

OK
idinteger
emailstringformat: "email"
firstnamestring
lastnamestring
mobilestring
genderstring
countrystring
citystring
afmstring
expertiseslist of strings
middlenameanyOptional
telephoneanyOptional
addressanyOptional
birthdateanyOptional
birthplaceanyOptional
amkaanyOptional
doyanyOptional
commentsanyOptional