POST api/Country/GetCountryById/{countryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CountryVM
NameDescriptionTypeAdditional information
CountryId

integer

None.

CountryName

string

None.

IsActive

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "countryId": 1,
  "countryName": "sample string 2",
  "isActive": true,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<CountryVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMS.VM">
  <CountryId>1</CountryId>
  <CountryName>sample string 2</CountryName>
  <IsActive>true</IsActive>
  <Message>sample string 4</Message>
</CountryVM>