POST ./anuar

It is used to add or change a picture from the year book for a user.

  • It can be used to add a picture per school year.
  • If the user is a professor, his picture will be displayed for all the classes from the selected school year in the year book.
  • The director/secretary or Adservio representative will have full acccess to add pictures in the year book for every user.

POST parameter

NameValue TypeValidationDetails
uaIDintRequiredUser ID
ascIDintRequiredSchool year ID
fsFilestringRequiredPhoto

Validation

Error FieldError CodeError Message
uaID101Invalid uaID or no permission to modify.
ascID102The user is a professor that doesn't have any permission to add photo to the yearbook for that class; The user is a parent for a student that is not in the kindergarten or primary school - no access to modify the picture