POST api/nationalities
Request Information
URI Parameters
None.
Body Parameters
Nationality| Name | Description | Type | Additional information |
|---|---|---|---|
| NatnId | integer |
None. |
|
| Alpha2 | string |
None. |
|
| NatnAbbr | string |
None. |
|
| CultureCode | string |
None. |
|
| TelephoneCode | string |
None. |
|
| NatnCountryEN | string |
None. |
|
| NatnCountryGR | string |
None. |
|
| NatnDescr | string |
None. |
|
| NatnIcon | string |
None. |
|
| LanguageId | integer |
None. |
|
| ExtReference | string |
None. |
|
| CountryType | integer |
None. |
|
| SortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"NatnId": 1,
"Alpha2": "sample string 2",
"NatnAbbr": "sample string 3",
"CultureCode": "sample string 4",
"TelephoneCode": "sample string 5",
"NatnCountryEN": "sample string 6",
"NatnCountryGR": "sample string 7",
"NatnDescr": "sample string 8",
"NatnIcon": "sample string 9",
"LanguageId": 10,
"ExtReference": "sample string 11",
"CountryType": 12,
"SortOrder": 13
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Nationality| Name | Description | Type | Additional information |
|---|---|---|---|
| NatnId | integer |
None. |
|
| Alpha2 | string |
None. |
|
| NatnAbbr | string |
None. |
|
| CultureCode | string |
None. |
|
| TelephoneCode | string |
None. |
|
| NatnCountryEN | string |
None. |
|
| NatnCountryGR | string |
None. |
|
| NatnDescr | string |
None. |
|
| NatnIcon | string |
None. |
|
| LanguageId | integer |
None. |
|
| ExtReference | string |
None. |
|
| CountryType | integer |
None. |
|
| SortOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"NatnId": 1,
"Alpha2": "sample string 2",
"NatnAbbr": "sample string 3",
"CultureCode": "sample string 4",
"TelephoneCode": "sample string 5",
"NatnCountryEN": "sample string 6",
"NatnCountryGR": "sample string 7",
"NatnDescr": "sample string 8",
"NatnIcon": "sample string 9",
"LanguageId": 10,
"ExtReference": "sample string 11",
"CountryType": 12,
"SortOrder": 13
}