POST api/Country/CRUD
Add/Update/Delete Country
Request Information
URI Parameters
None.
Body Parameters
String Array of Country And Information(Mandatory)
Collection of CountryInfo| Name | Description | Type | Additional information | 
|---|---|---|---|
| CountryId | integer | None. | |
| CountryCode | string | None. | |
| CountryName | string | None. | |
| ContinentId | integer | None. | |
| Flag | string | None. | |
| IsActive | boolean | None. | |
| Deleted | integer | None. | 
Request Formats
application/json, text/json
            Sample:
        
[
  {
    "CountryId": 1,
    "CountryCode": "sample string 1",
    "CountryName": "sample string 2",
    "ContinentId": 3,
    "Flag": "sample string 4",
    "IsActive": true,
    "Deleted": 1
  },
  {
    "CountryId": 1,
    "CountryCode": "sample string 1",
    "CountryName": "sample string 2",
    "ContinentId": 3,
    "Flag": "sample string 4",
    "IsActive": true,
    "Deleted": 1
  }
]
        application/xml, text/xml
            Sample:
        
<ArrayOfCountryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <CountryInfo>
    <ContinentId>3</ContinentId>
    <CountryCode>sample string 1</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <Deleted>1</Deleted>
    <Flag>sample string 4</Flag>
    <IsActive>true</IsActive>
  </CountryInfo>
  <CountryInfo>
    <ContinentId>3</ContinentId>
    <CountryCode>sample string 1</CountryCode>
    <CountryId>1</CountryId>
    <CountryName>sample string 2</CountryName>
    <Deleted>1</Deleted>
    <Flag>sample string 4</Flag>
    <IsActive>true</IsActive>
  </CountryInfo>
</ArrayOfCountryInfo>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
            Sample:
        1
application/xml, text/xml
            Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>