POST api/DeviceCommunication/GetPunchData
Request Information
URI Parameters
None.
Body Parameters
GetPunchDataListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Timestamp | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"timestamp": "2026-03-10T01:45:12.1950319+05:30"
}
application/xml, text/xml
Sample:
<GetPunchDataListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sterlite_WebApi.Request"> <Timestamp>2026-03-10T01:45:12.1950319+05:30</Timestamp> </GetPunchDataListRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPunchDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| GetDetails | Collection of clsResGetPunchData |
None. |
Response Formats
application/json, text/json
Sample:
{
"getDetails": [
{
"deviceID": "sample string 1",
"enrollID": "sample string 2",
"in_Out_Time": "sample string 3",
"timestamp": "sample string 4"
},
{
"deviceID": "sample string 1",
"enrollID": "sample string 2",
"in_Out_Time": "sample string 3",
"timestamp": "sample string 4"
}
],
"errorCode": "sample string 1",
"errorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GetPunchDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sterlite_WebApi.Response">
<ErrorCode>sample string 1</ErrorCode>
<ErrorMessage>sample string 2</ErrorMessage>
<GetDetails>
<clsResGetPunchData>
<DeviceID>sample string 1</DeviceID>
<EnrollID>sample string 2</EnrollID>
<In_Out_Time>sample string 3</In_Out_Time>
<Timestamp>sample string 4</Timestamp>
</clsResGetPunchData>
<clsResGetPunchData>
<DeviceID>sample string 1</DeviceID>
<EnrollID>sample string 2</EnrollID>
<In_Out_Time>sample string 3</In_Out_Time>
<Timestamp>sample string 4</Timestamp>
</clsResGetPunchData>
</GetDetails>
</GetPunchDataResponse>