POST ./nomenclature/nationalities
Used to update a nationality.
POST parameters
| Name | Value Type | Validation | Details |
|---|
| natID | int | required | Nationality ID. |
| 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 |
|---|
| natID | 101 | The nationality does not exist. |
| natName | 8 | The field can not exceed 80 characters in length. |
| natName | 101 | The field must contain a unique value |
| natName_{langId} | 8 | The field can not exceed 80 characters in length. |
| natName_{langId} | 101 | The field must contain a unique value |
Output example
{
"result": true
}