Handles all requests related to Geographical boundaries by providing appropriate GeoJson and other associated data
DeprecatedPOST
/egov-location/location/v11/geography/_searchLast modified: 9 months ago
Handles all requests related to Geographical boundaries by providing appropriate GeoJson and other associated data based on tenantId or lat/long etc
Request
Query Params
tenantId
string <varchar>
required
Unique id for a tenant.
filter
string
optional
JSON path filter string for filtering the output
Header Params
Content-Type
string
optional
Example:
application/json
Body Params text/plain
Example:{
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"authToken": "50b80fa6-bec2-438e-a168-ce5ad53770b5"
}
}
Request samples
Responses
Successful Response.(200)
Invalid tenant Id provided(400)
Successful Response.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ResponseInfo
object
optional
Geography
array[object (Geography) {5}]
optional
name
string
required
Name of the Geography.
division
string
required
Geographical division such as State, District, City.
geoJson
object
required
Json Node object containing geoJson of the requested tenant
geoJsonChildren
object
optional
Json Node object containing geoJson of the requested tenant's children
tenantId
string
required
Tenant Id whose geographical data is requested.
Example
{
"ResponseInfo": {},
"Geography": [
{
"name": "string",
"division": "string",
"geoJson": {},
"geoJsonChildren": {},
"tenantId": "string"
}
]
}
Last modified: 9 months ago