POST api/CasteDetails/CreateCaste

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
CasteModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Caste_Id": 1,
  "relg_id": 2,
  "Rlg_Id": 3,
  "caste_code": "sample string 4",
  "caste_name": "sample string 5",
  "caste_category": 6,
  "code_value": "sample string 7",
  "created_by": 8,
  "Rlg_Name": "sample string 9",
  "created_date": "2024-12-27T05:55:23.4374779+05:30",
  "modified_by": 11,
  "modified_date": "2024-12-27T05:55:23.4374779+05:30",
  "Inactive": "sample string 13",
  "deleted_by": 14,
  "deleted_date": "2024-12-27T05:55:23.4374779+05:30",
  "fix_code_id": 16,
  "ReligionModel": [
    {
      "Relg_Name": "sample string 1",
      "Rlg_Id": 2
    },
    {
      "Relg_Name": "sample string 1",
      "Rlg_Id": 2
    },
    {
      "Relg_Name": "sample string 1",
      "Rlg_Id": 2
    }
  ],
  "Caste_Category": [
    {
      "fix_code_id": 1,
      "code_value": "sample string 2"
    },
    {
      "fix_code_id": 1,
      "code_value": "sample string 2"
    },
    {
      "fix_code_id": 1,
      "code_value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CasteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Caste_Category>
    <Caste_CategoryModel>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </Caste_CategoryModel>
    <Caste_CategoryModel>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </Caste_CategoryModel>
    <Caste_CategoryModel>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </Caste_CategoryModel>
  </Caste_Category>
  <Caste_Id>1</Caste_Id>
  <Inactive>sample string 13</Inactive>
  <ReligionModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/KHBWebApi.Repository">
    <d2p1:ReligionDropDownModel>
      <d2p1:Relg_Name>sample string 1</d2p1:Relg_Name>
      <d2p1:Rlg_Id>2</d2p1:Rlg_Id>
    </d2p1:ReligionDropDownModel>
    <d2p1:ReligionDropDownModel>
      <d2p1:Relg_Name>sample string 1</d2p1:Relg_Name>
      <d2p1:Rlg_Id>2</d2p1:Rlg_Id>
    </d2p1:ReligionDropDownModel>
    <d2p1:ReligionDropDownModel>
      <d2p1:Relg_Name>sample string 1</d2p1:Relg_Name>
      <d2p1:Rlg_Id>2</d2p1:Rlg_Id>
    </d2p1:ReligionDropDownModel>
  </ReligionModel>
  <Rlg_Id>3</Rlg_Id>
  <Rlg_Name>sample string 9</Rlg_Name>
  <caste_category>6</caste_category>
  <caste_code>sample string 4</caste_code>
  <caste_name>sample string 5</caste_name>
  <code_value>sample string 7</code_value>
  <created_by>8</created_by>
  <created_date>2024-12-27T05:55:23.4374779+05:30</created_date>
  <deleted_by>14</deleted_by>
  <deleted_date>2024-12-27T05:55:23.4374779+05:30</deleted_date>
  <fix_code_id>16</fix_code_id>
  <modified_by>11</modified_by>
  <modified_date>2024-12-27T05:55:23.4374779+05:30</modified_date>
  <relg_id>2</relg_id>
</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

No documentation available.

Response body formats

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

Sample:

Sample not available.