POST api/Areas/CreateArea
Request Information
URI Parameters
None.
Body Parameters
AreaModels| Name | Description | Type | Additional information |
|---|---|---|---|
| ACODE | decimal number |
None. |
|
| ANAME | string |
None. |
|
| AABBR | string |
None. |
|
| POST | string |
None. |
|
| SUB_DIS_CODE | decimal number |
None. |
|
| SUB_DIS_NAME | string |
None. |
|
| DIS_CODE | decimal number |
None. |
|
| DIS_NAME | string |
None. |
|
| ST_CODE | decimal number |
None. |
|
| ST_NAME | string |
None. |
|
| C_CODE | decimal number |
None. |
|
| C_NAME | string |
None. |
|
| PINCODE | decimal number |
None. |
|
| STD_CODE | decimal number |
None. |
|
| TalukModel | Collection of TalukModels |
None. |
|
| BankAddressModels | Collection of BankAddressModel |
None. |
|
| AreaGridModel | Collection of AreaGridModel |
None. |
|
| TotalItemsCount | string |
None. |
|
| SelectAreaModel | Collection of SelectAreaModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"ACODE": 1.0,
"ANAME": "sample string 2",
"AABBR": "sample string 3",
"POST": "sample string 4",
"SUB_DIS_CODE": 5.0,
"SUB_DIS_NAME": "sample string 6",
"DIS_CODE": 7.0,
"DIS_NAME": "sample string 8",
"ST_CODE": 9.0,
"ST_NAME": "sample string 10",
"C_CODE": 11.0,
"C_NAME": "sample string 12",
"PINCODE": 13.0,
"STD_CODE": 14.0,
"TalukModel": [
{
"AREACODE": 1.0,
"SUB_DIS_CODE": 2.0,
"SUB_DIS_NAME": "sample string 3"
},
{
"AREACODE": 1.0,
"SUB_DIS_CODE": 2.0,
"SUB_DIS_NAME": "sample string 3"
}
],
"BankAddressModels": [
{
"DIS_CODE": 1.0,
"DIS_NAME": "sample string 2",
"ST_CODE": 3.0,
"ST_NAME": "sample string 4",
"C_CODE": 5.0,
"C_NAME": "sample string 6",
"STD_CODE": 7.0,
"SUB_DIS_CODE": 8.0,
"SUB_DIS_NAME": "sample string 9"
},
{
"DIS_CODE": 1.0,
"DIS_NAME": "sample string 2",
"ST_CODE": 3.0,
"ST_NAME": "sample string 4",
"C_CODE": 5.0,
"C_NAME": "sample string 6",
"STD_CODE": 7.0,
"SUB_DIS_CODE": 8.0,
"SUB_DIS_NAME": "sample string 9"
}
],
"AreaGridModel": [
{
"ACODE": 1.0,
"ANAME": "sample string 2",
"DIS_CODE": 3.0,
"DIS_NAME": "sample string 4",
"ST_NAME": "sample string 5",
"ST_CODE": 6.0,
"PINCODE": 7.0
},
{
"ACODE": 1.0,
"ANAME": "sample string 2",
"DIS_CODE": 3.0,
"DIS_NAME": "sample string 4",
"ST_NAME": "sample string 5",
"ST_CODE": 6.0,
"PINCODE": 7.0
}
],
"TotalItemsCount": "sample string 15",
"SelectAreaModel": [
{
"ACODE": 1.0,
"ANAME": "sample string 2"
},
{
"ACODE": 1.0,
"ANAME": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<AreaModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
<AABBR>sample string 3</AABBR>
<ACODE>1</ACODE>
<ANAME>sample string 2</ANAME>
<AreaGridModel>
<AreaGridModel>
<ACODE>1</ACODE>
<ANAME>sample string 2</ANAME>
<DIS_CODE>3</DIS_CODE>
<DIS_NAME>sample string 4</DIS_NAME>
<PINCODE>7</PINCODE>
<ST_CODE>6</ST_CODE>
<ST_NAME>sample string 5</ST_NAME>
</AreaGridModel>
<AreaGridModel>
<ACODE>1</ACODE>
<ANAME>sample string 2</ANAME>
<DIS_CODE>3</DIS_CODE>
<DIS_NAME>sample string 4</DIS_NAME>
<PINCODE>7</PINCODE>
<ST_CODE>6</ST_CODE>
<ST_NAME>sample string 5</ST_NAME>
</AreaGridModel>
</AreaGridModel>
<BankAddressModels>
<BankAddressModel>
<C_CODE>5</C_CODE>
<C_NAME>sample string 6</C_NAME>
<DIS_CODE>1</DIS_CODE>
<DIS_NAME>sample string 2</DIS_NAME>
<STD_CODE>7</STD_CODE>
<ST_CODE>3</ST_CODE>
<ST_NAME>sample string 4</ST_NAME>
<SUB_DIS_CODE>8</SUB_DIS_CODE>
<SUB_DIS_NAME>sample string 9</SUB_DIS_NAME>
</BankAddressModel>
<BankAddressModel>
<C_CODE>5</C_CODE>
<C_NAME>sample string 6</C_NAME>
<DIS_CODE>1</DIS_CODE>
<DIS_NAME>sample string 2</DIS_NAME>
<STD_CODE>7</STD_CODE>
<ST_CODE>3</ST_CODE>
<ST_NAME>sample string 4</ST_NAME>
<SUB_DIS_CODE>8</SUB_DIS_CODE>
<SUB_DIS_NAME>sample string 9</SUB_DIS_NAME>
</BankAddressModel>
</BankAddressModels>
<C_CODE>11</C_CODE>
<C_NAME>sample string 12</C_NAME>
<DIS_CODE>7</DIS_CODE>
<DIS_NAME>sample string 8</DIS_NAME>
<PINCODE>13</PINCODE>
<POST>sample string 4</POST>
<STD_CODE>14</STD_CODE>
<ST_CODE>9</ST_CODE>
<ST_NAME>sample string 10</ST_NAME>
<SUB_DIS_CODE>5</SUB_DIS_CODE>
<SUB_DIS_NAME>sample string 6</SUB_DIS_NAME>
<SelectAreaModel>
<SelectAreaModel>
<ACODE>1</ACODE>
<ANAME>sample string 2</ANAME>
</SelectAreaModel>
<SelectAreaModel>
<ACODE>1</ACODE>
<ANAME>sample string 2</ANAME>
</SelectAreaModel>
</SelectAreaModel>
<TalukModel>
<TalukModels>
<AREACODE>1</AREACODE>
<SUB_DIS_CODE>2</SUB_DIS_CODE>
<SUB_DIS_NAME>sample string 3</SUB_DIS_NAME>
</TalukModels>
<TalukModels>
<AREACODE>1</AREACODE>
<SUB_DIS_CODE>2</SUB_DIS_CODE>
<SUB_DIS_NAME>sample string 3</SUB_DIS_NAME>
</TalukModels>
</TalukModel>
<TotalItemsCount>sample string 15</TotalItemsCount>
</AreaModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.