POST api/Country
Request Information
URI Parameters
None.
Body Parameters
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| ISO | integer |
None. |
|
| CountryName | string |
None. |
|
| FullName | string |
None. |
|
| NameInEnglish | string |
None. |
|
| Alpha2 | string |
None. |
|
| Alpha3 | string |
None. |
|
| PartOfWorld | string |
None. |
|
| Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CountryId": 1,
"ISO": 2,
"CountryName": "sample string 3",
"FullName": "sample string 4",
"NameInEnglish": "sample string 5",
"Alpha2": "sample string 6",
"Alpha3": "sample string 7",
"PartOfWorld": "sample string 8",
"Location": "sample string 9"
}
application/xml, text/xml
Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <Alpha2>sample string 6</Alpha2> <Alpha3>sample string 7</Alpha3> <CountryId>1</CountryId> <CountryName>sample string 3</CountryName> <FullName>sample string 4</FullName> <ISO>2</ISO> <Location>sample string 9</Location> <NameInEnglish>sample string 5</NameInEnglish> <PartOfWorld>sample string 8</PartOfWorld> </Country>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.