Get Pincode
Retrieves the list of pincodes, city and state for a given pincode or the whole list of pincode
Path Parameters
pincode Pincode required
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
reqId Reqid required
errors undefined[]
Default value: []
data object required
pincode Pincode
Pincode
city City
Mapped city of pincode
district District
District of pincode
state State
State mapped to pincode
country Country
Country mapped to pincode
{
"reqId": "string",
"errors": [
null
],
"data": {
"pincode": "string",
"city": "string",
"district": "string",
"state": "string",
"country": "string"
}
}
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...