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/alarmshttps://intouch.mapmyindia.com/iot/apiParameters
idThis is the alarm's ID, a non-mandatory parameter. If not passed then by default the API will return the list of all alarm configurations in the account. You can pass single value or comma separated alarm IDs for multiple values.
23889,89876deviceIdThis is device ID. API will return data based on the configs set for the passed device IDs. You can pass a single device ID or comma seperated multiple device IDs.
24567,10018alarmTypeThis is alarm type. API will return data based on the passed alarm types. You can pass a single alarm type or comma seperated multiple alarm types.
177,90Build 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/alarms?id=23889%2C89876&deviceId=24567%2C10018&alarmType=177%2C90curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/alarms?id=23889%2C89876&deviceId=24567%2C10018&alarmType=177%2C90' \
--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/alarms' \
--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[].idThis is alarm ID
2345598data[].deviceIdDevice ID(s) on which the alarm config got created.
[67700,8987]data[].alarmTypeType of alarm, for eg - ignition, overspeed etc.
28data[].limitNo field description in the source contract.
28data[].durationType of alarm, for eg - ignition, overspeed etc.
28data[].typeValues depends on the type of alarm configured.
0data[].creationTimeTime at which the alarm got configured.
1700000000000data[].updationTimeTime at which the alarm got updated.
1700000000000data[].geofenceIdIf returned alarm type is geofence, then this will return the list of geofences for which alarms were configured.
[1001,2002]data[].severityNo field description in the source contract.
0{
"data": [
{
"id": 2345598,
"deviceId": [
67700,
8987
],
"alarmType": 28,
"limit": 28,
"duration": 28,
"type": 0,
"creationTime": 1567654565,
"updationTime": 1567654565
}
]
}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/alarm.json- SHA-256
a8316045f3c25586ee418e1a723122baf0844eaf95d407fc01b9ff1e24af8e1c- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit