GET
api/v1/GetPincodeList?text={text}&pageNo={pageNo}&pageSize={pageSize}&countryId={countryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| text | string |
Required |
|
| pageNo | integer |
Required |
|
| pageSize | integer |
Required |
|
| countryId | integer |
Required |
Response Information
Description:
Return type: PincodeVM
Response Formats
application/json, text/json
{
"TotalRecords": 1,
"PincodesList": [
{
"PincodeMasterId": 1,
"Pincode": "sample string 2",
"AreaName": "sample string 3"
},
{
"PincodeMasterId": 1,
"Pincode": "sample string 2",
"AreaName": "sample string 3"
}
]
}
text/html
{"TotalRecords":1,"PincodesList":[{"PincodeMasterId":1,"Pincode":"sample string 2","AreaName":"sample string 3"},{"PincodeMasterId":1,"Pincode":"sample string 2","AreaName":"sample string 3"}]}
application/xml, text/xml
<PincodeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Sku">
<PincodesList>
<ProductPincode>
<AreaName>sample string 3</AreaName>
<Pincode>sample string 2</Pincode>
<PincodeMasterId>1</PincodeMasterId>
</ProductPincode>
<ProductPincode>
<AreaName>sample string 3</AreaName>
<Pincode>sample string 2</Pincode>
<PincodeMasterId>1</PincodeMasterId>
</ProductPincode>
</PincodesList>
<TotalRecords>1</TotalRecords>
</PincodeVM>
