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/infohttps://intouch.mapmyindia.com/iot/apiParameters
idid of the device, a non-mandatory parameter. If not passed then by default the API will return the basic 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/info?id=1curl --request GET \
--url 'https://intouch.mapmyindia.com/iot/api/devices/info?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/info' \
--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 device.
1data[].namename of the device.
my vehicle 1878data[].type0 - car, 1 - person, 2 - asset, 3 - bike, 4 - bus, 5 - truck, 6 - tracktor.
2data[].creationOnthe date when the device was created.
1585541181data[].updationOndate when device got updated
1585541181data[].expiryDatedate when device will get expired
1585541181data[].activewhether device is active or not
truedata[].registrationNumberdevice's registraion number
DL03555data[].manufacturerdevice manufactured by
BMWdata[].modeldevice's model type
X3data[].colorcolor of the device
exampledata[].geofenceIdsNo field description in the source contract.
exampledata[].tagNo field description in the source contract.
exampledata[].chasisNochasis number of the device.
EXASDSSSSADCdata[].initialOdometerinitial odometer reading.
0{
"data": [
{
"id": "1",
"name": "my vehicle 1878",
"type": 2,
"creationOn": 1585541181,
"updationOn": 1585541181,
"expiryDate": 1585541181,
"active": true,
"registrationNumber": "DL03555"
}
]
}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