POST api/Country

Request Information

URI Parameters

None.

Body Parameters

CountryEnity
NameDescriptionTypeAdditional information
CID

integer

None.

CName

string

None.

IsActive

boolean

None.

UpdateBy

integer

None.

LastDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CID": 1,
  "CName": "sample string 2",
  "IsActive": true,
  "UpdateBy": 4,
  "LastDate": "2025-04-11T08:25:17.8552346+05:30"
}

application/xml, text/xml

Sample:
<CountryEnity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
  <CID>1</CID>
  <CName>sample string 2</CName>
  <IsActive>true</IsActive>
  <LastDate>2025-04-11T08:25:17.8552346+05:30</LastDate>
  <UpdateBy>4</UpdateBy>
</CountryEnity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.