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/devices/drives?deviceId=1&startTime=1700000000000&endTime=1700000000000https://intouch.mapmyindia.com/iot/apiParameters
deviceIdrequiredID of the device for which the drives need to be fetched
1startTimerequiredThe starting timsstamp from which the drives need to be fetched.
1700000000000endTimerequiredThe end timestamp till which the drives need to be fetched.
1700000000000Build 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/devices/drives?deviceId=1&startTime=1700000000000&endTime=1700000000000curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/devices/drives?deviceId=1&startTime=1700000000000&endTime=1700000000000' \
--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/devices/drives?deviceId=1&startTime=1700000000000&endTime=1700000000000' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK - successful operation
Device Not Found
Bad Request - Invalid device ID supplied or invalid data type. For example, input attribute "id" is integer but string value gets passed.
Unauthorized Request. Access to API is forbidden.
Not Found - URL Not Found
200 response fields
dataNo field description in the source contract.
exampledata[].deviceIdYour Device's ID.
67790data[].locationNo field description in the source contract.
28.612964,77.229463data[].location.startAddressNo field description in the source contract.
3605, 13th G Main Road, HAL Stage 2, Indiranagar, Bengaluru, Karnataka. 35 m from Supraja Meru pin-560038 (India)data[].location.startTimestampthis is epoc timestamp
1700000000000data[].location.endAddressNo field description in the source contract.
1139, Sweth Ambara, 1st Cross Road, HAL Stage 2, Indiranagar, Bengaluru, Karnataka. 32 m from AMC Cookware India Pvt Ltd pin-560038data[].location.endTimestampthis is epoc timestamp
1700000000000data[].location.avgSpeedspeed in km/hr
45.34data[].movementNo field description in the source contract.
exampledata[].movement.durationduration in seconds
265data[].movement.distanceDistance im KMs
12.34data[].movement.idleTimeidle time in seconds
1700000000000data[].movement.movementTimemovement time in seconds
1700000000000data[].movement.stoppageTimestoppage time in seconds
1700000000000data[].drivingBehaviourCountNo field description in the source contract.
exampledata[].drivingBehaviourCount.haCountHarsh Acceleration count
2data[].drivingBehaviourCount.hbCountHarsh Breaking Count
5data[].drivingBehaviourCount.hcCountHarsh Cornering Count
1{
"data": [
{
"deviceId": 67790,
"location": {
"startAddress": "3605, 13th G Main Road, HAL Stage 2, Indiranagar, Bengaluru, Karnataka. 35 m from Supraja Meru pin-560038 (India)",
"startTimestamp": 1574913781,
"endAddress": "1139, Sweth Ambara, 1st Cross Road, HAL Stage 2, Indiranagar, Bengaluru, Karnataka. 32 m from AMC Cookware India Pvt Ltd pin-560038",
"endTimestamp": 1574914046,
"avgSpeed": 45.34
},
"movement": {
"duration": 265,
"distance": 12.34,
"idleTime": 265,
"movementTime": 800,
"stoppageTime": 1300
},
"drivingBehaviourCount": {
"haCount": 2,
"hbCount": 5,
"hcCount": 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/drive.json- SHA-256
6cdf4c61bc811cde72adc7d658a90c01a1bb4a1f805c85a4d3cd763c2281f2c3- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit