POST api/Place?placeTypeId={placeTypeId}&placeId={placeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| placeTypeId | integer |
Required |
|
| placeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PlaceByPincodeVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PinCode | integer |
None. |
|
| PostOffice | PlaceLookupVM |
None. |
|
| Taluk | PlaceLookupVM |
None. |
|
| District | PlaceLookupVM |
None. |
|
| State | PlaceLookupVM |
None. |
|
| Country | PlaceLookupVM |
None. |
Response Formats
application/json, text/json
Sample:
{
"PinCode": 1,
"PostOffice": {
"PlaceId": 1,
"PlaceName": "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"
}
}
application/xml, text/xml
Sample:
<PlaceByPincodeVM 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>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<PinCode>1</PinCode>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Taluk>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Taluk>
</PlaceByPincodeVM>