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/hardwareinfohttps://intouch.mapmyindia.com/iot/apiParameters
idThis is the physical device's ID, a non-mandatory parameter. If not passed then by default the API will return the hardware info of all active devices in the account.
1Build 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/hardwareinfo?id=1curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/devices/hardwareinfo?id=1' \
--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/hardwareinfo' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK - successful operation
No content found
Bad Request - Invalid device ID supplied or device id is missing 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[].idid of the physical hardware device
1data[].namename of the physical hardware device
MMI314295data[].deviceTypetype of device for eg; drivate, vt etc
868728030749458data[].deviceTypeNamename of the type of device
drive mate prodata[].trackingCodetracking code/unique code number of the device
868728030749458data[].deviceCodeanother unique number, genrally same as tracking code
868728030749458data[].activetrue means device is active. false means device is not active
truedata[].mappedDeviceIdsNo field description in the source contract.
exampledata[].odometerType0 - odometer not suported, 1- GPS based odometer(comes from the device), 2 - CAN based Odometer(comes from vehicle's CAN bus)
2data[].installDatetimstamp when the device got installed
1581273000data[].expiryDatetimestamp when the device will get expired
1600713000{
"data": [
{
"id": "1",
"name": "MMI314295",
"deviceType": "868728030749458",
"deviceTypeName": "drive mate pro",
"trackingCode": "868728030749458",
"deviceCode": "868728030749458",
"active": true,
"mappedDeviceIds": [
887876
]
}
]
}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/device.json- SHA-256
58a17aea1fc8a386e467f0266fb5d92e52e148c709fbcb95565be5c0f25895a4- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit