POST ./nomenclature/ethnicities

Used to add an ethnicity.

POST parameters

NameValue TypeValidationDetails
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
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
}