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://workmate.mapmyindia.com/apis/reports/attendances?startTime=1700000000000&endTime=1700000000000https://workmate.mapmyindia.com/apis/Parameters
apiVersionrequiredAPI version should be mentioned in the header along with bearer Token. Available version is v1.0.0, Default version is v1.0.0
v1.0.0userIdNo parameter description in the source contract.
1startTimerequiredNo parameter description in the source contract.
1700000000000endTimerequiredNo parameter description in the source contract.
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://workmate.mapmyindia.com/apis/reports/attendances?userId=1&startTime=1700000000000&endTime=1700000000000curl --request GET \
--url 'https://workmate.mapmyindia.com/apis/reports/attendances?userId=1&startTime=1700000000000&endTime=1700000000000' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}"Credential-safe by constructionSet MAPPLS_ACCESS_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://workmate.mapmyindia.com/apis/reports/attendances?startTime=1700000000000&endTime=1700000000000' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
default response
Bad Request - Invalid ID supplied or invalid data type.
Unauthorized Request. Access to API is forbidden.
The user type is Field user. Only manager and admin user type user has the access to this API.
Not Found - URL Not Found
userId not belong to your account
200 response fields
attendancesNo field description in the source contract.
exampleattendances[].nameName of the user.
Lok Priyaattendances[].employeeIdId of the employee
ce003232attendances[].branchNameEmployees Branch Name
Bangaloreattendances[].branchCodeEmployee's Branch Code
232attendances[].userIdEmployee's Branch Code
232attendances[].workStartTimeTime at which work is being started in Epoch Time.
1700000000000attendances[].workEndTimeTime at which work is being started in Epoch Time.
1700000000000attendances[].workEndRemarkRemarks entered by the user while concluding the work.
Completed todays work.attendances[].workStartRemarkemarks entered by the user while starting the work.
Starting my work from client location.attendances[].workEndAddressLocation at which work is being concluded
237,okhla phase3, New delhi -110020attendances[].workStartAddressLocation at which work is being concluded
237,okhla phase3, New delhi -110020attendances[].workEndLatitudeLatitude value of Work end location
28.612964attendances[].workEndLongitudeLongitude value of Work end location
77.229463attendances[].workStartLatitudeLongitude value of Work Start location
28.612964attendances[].workStartLongitudeLongitude value of Work Start location
77.229463attendances[].workEndOdometerwork end Odometer reading.
20attendances[].workStartOdometerWork start Odometer reading.
10attendances[].costFactorPer km traveled cost. It will be multiplied against distance traveled by the user.
3.5attendances[].distanceTotal travel distance between work start to work end activity. It is calculated based on the location details collected from app
26.07931{
"attendances": [
{
"name": "Lok Priya",
"employeeId": "ce003232",
"branchName": "Bangalore",
"branchCode": 232,
"userId": 232,
"workStartTime": 1573064999,
"workEndTime": 1573018435,
"workEndRemark": "Completed todays work."
}
]
}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-workmate-apis/custom/Reports.json- SHA-256
901e189918998963dadf539e83def7723571ac3dc1533fe9d89590bac178b33f- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit