This operation was normalized from a MapmyIndia-generation specification. Validate its current Mappls host, path, package entitlement, authentication generation, and commercial availability before production use.
Call the operation
https://intouch.mapmyindia.com/iot/api/geofences/1https://intouch.mapmyindia.com/iot/apiParameters
idrequiredgeofence id. This path variable will take precedence even if multiple geofence ids are passed in the query param.
1idgeofence id. Use this if you want to get details of specific multiple geofence IDs.
51777,89777ignoreGeometryNon mandatory field, boolean value to fetch geometry details.
28.612964,77.229463Build your request in eight languages
Change source-backed examples once, validate required inputs, and copy the synchronized cURL, JavaScript, Python, Java, C#, Go, PHP, or Ruby request. Credentials remain environment references, and this page never sends a provider request.
https://intouch.mapmyindia.com/iot/api/geofences/1?id=51777%2C89777&ignoreGeometry=28.612964%2C77.229463curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/geofences/1?id=51777%2C89777&ignoreGeometry=28.612964%2C77.229463' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_INTOUCH_TOKEN}"Credential-safe by constructionSet MAPPLS_INTOUCH_TOKEN only in your trusted runtime. Code generation stays local. Sandbox execution sends only bounded fixture inputs to this developer platform and never reads a credential or calls Mappls.
Send a production-shaped request
Examples use environment-backed access tokens, explicit timeouts where supported, status checks, and JSON bodies derived from the source schema. Replace sample identifiers and coordinates with values from your application.
curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/geofences/1' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK - successful operation
Device Not Found
Bad Request - Invalid ID supplied or invalid data type.
Unauthorized Request. Access to API is forbidden.
Not Found - URL Not Found
200 response fields
dataNo field description in the source contract.
exampledata[].idGeofence ID
1data[].namename of the geofence.
marketdata[].geometryNo field description in the source contract.
28.612964,77.229463data[].geometry.typeThis defines the type of geofence, it can be point or polygon.
Pointdata[].geometry.coordinatesNo field description in the source contract.
28.612964,77.229463data[].typeDepending on the type of geofence this value can be Circle(buffer > 50 meters), Polygon or Point(buffer = 50 mtrs)
Circledata[].bufferRadius(in meters) of a circlular geofence
65.76data[].creationTimetimestamp, in seconds, at which the geofence was created.
1700000000000data[].updationTimetimestamp, in seconds, at which the geofence was updated.
1700000000000{
"data": [
{
"id": "1",
"name": "market",
"geometry": {
"type": "Point",
"coordinates": [
77.456,
28.2345
]
},
"type": "Circle",
"buffer": 65.76,
"creationTime": "1",
"updationTime": "1"
}
]
}Operate it safely
This operation observes durable platform state. Preserve resource identifiers and account for pagination, delay, and eventual consistency.
Contract provenance
- Source file
contenthub/dochub/mapmyindia-intouch-rest-apis/custom/geofence.json- SHA-256
fc26724559038e8d114001105966c2bd30e35ac4f8c0a1644d9241eb4bd64425- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit