POST api/Place/SavePincode
Request Information
URI Parameters
None.
Body Parameters
PincodeMappingSave| Name | Description | Type | Additional information |
|---|---|---|---|
| PinCode | integer |
Required |
|
| PostOffice | string |
Required String length: inclusive between 0 and 100 |
|
| Taluk | PlaceLookupVM |
None. |
|
| District | PlaceLookupVM |
None. |
|
| State | PlaceLookupVM |
None. |
|
| Country | PlaceLookupVM |
None. |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"PinCode": 1,
"PostOffice": "sample string 2",
"Taluk": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"CreateUser": 3,
"CreateIp": "sample string 4"
}
application/xml, text/xml
Sample:
<PincodeMappingSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<CreateIp>sample string 4</CreateIp>
<CreateUser>3</CreateUser>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<PinCode>1</PinCode>
<PostOffice>sample string 2</PostOffice>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Taluk>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Taluk>
</PincodeMappingSave>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.