POST api/Caste/Create

Request Information

URI Parameters

None.

Body Parameters

CasteModel
NameDescriptionTypeAdditional information
CasteCode

string

None.

CasteName

string

None.

CasteCategory

string

None.

UpdatedUserCode

string

None.

UpdatedTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CasteCode": "sample string 1",
  "CasteName": "sample string 2",
  "CasteCategory": "sample string 3",
  "UpdatedUserCode": "sample string 4",
  "UpdatedTime": "2026-01-16T20:53:13.9035046+05:30"
}

application/xml, text/xml

Sample:
<CasteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <CasteCategory>sample string 3</CasteCategory>
  <CasteCode>sample string 1</CasteCode>
  <CasteName>sample string 2</CasteName>
  <UpdatedTime>2026-01-16T20:53:13.9035046+05:30</UpdatedTime>
  <UpdatedUserCode>sample string 4</UpdatedUserCode>
</CasteModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CasteModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.