POST api/country/save

Request Information

URI Parameters

None.

Body Parameters

CountryModel
NameDescriptionTypeAdditional information
CountryID

integer

None.

CountryCode

string

None.

CountryName

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryID": 1,
  "CountryCode": "sample string 2",
  "CountryName": "sample string 3",
  "IsActive": true
}

application/xml, text/xml

Sample:
<CountryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models">
  <CountryCode>sample string 2</CountryCode>
  <CountryID>1</CountryID>
  <CountryName>sample string 3</CountryName>
  <IsActive>true</IsActive>
</CountryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.