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/xml, text/xml
Sample:
<Nationality xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <Alpha2>sample string 2</Alpha2> <CountryType>12</CountryType> <CultureCode>sample string 4</CultureCode> <ExtReference>sample string 11</ExtReference> <LanguageId>10</LanguageId> <NatnAbbr>sample string 3</NatnAbbr> <NatnCountryEN>sample string 6</NatnCountryEN> <NatnCountryGR>sample string 7</NatnCountryGR> <NatnDescr>sample string 8</NatnDescr> <NatnIcon>sample string 9</NatnIcon> <NatnId>1</NatnId> <SortOrder>13</SortOrder> <TelephoneCode>sample string 5</TelephoneCode> </Nationality>
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
}
application/xml, text/xml
Sample:
<Nationality xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <Alpha2>sample string 2</Alpha2> <CountryType>12</CountryType> <CultureCode>sample string 4</CultureCode> <ExtReference>sample string 11</ExtReference> <LanguageId>10</LanguageId> <NatnAbbr>sample string 3</NatnAbbr> <NatnCountryEN>sample string 6</NatnCountryEN> <NatnCountryGR>sample string 7</NatnCountryGR> <NatnDescr>sample string 8</NatnDescr> <NatnIcon>sample string 9</NatnIcon> <NatnId>1</NatnId> <SortOrder>13</SortOrder> <TelephoneCode>sample string 5</TelephoneCode> </Nationality>