PUT ./nomenclature/ethnicities

Used to update an ethnicity.

POST parameters

NameValue TypeValidationDetails
ethIDintrequiredEthnicity ID.
ethNamestringrequiredEthnicity name.(for school default language)
ethName_{langId}stringoptionalEthnicity {langId} name.
ethDefaultintoptional; Values[0,1]Set as default ethnicity on add student.

Validation

Error FieldError CodeError Message
ethID101The ethnicity does not exist.
ethName8The field can not exceed 80 characters in length.
ethName18The field must contain a unique value
ethName_{langId}8The field can not exceed 80 characters in length.
ethName_{langId}18The field must contain a unique value

Output example

{
"result": true
}