POST ./nomenclature/nationalities
Used to add a nationality.
POST parameters
| Name | Value Type | Validation | Details |
|---|
| natName | string | required | Nationality name. (for school default language) |
| natName_{langId} | string | optional | Nationality {langId} name. |
| natDefault | int | optional; Values[0,1] | Set as default nationality on add student. |
Validation
| Error Field | Error Code | Error Message |
|---|
| natName | 8 | The field can not exceed 80 characters in length. |
| natName | 18 | The field must contain a unique value |
| natName_{langId} | 8 | The field can not exceed 80 characters in length. |
| natName_{langId} | 18 | The field must contain a unique value |
Output example
{
"result": true
}