POST api/attendance/updateclockout
Request Information
URI Parameters
None.
Body Parameters
DriverClockAttendanceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ClockId | integer |
None. |
|
| AttendanceId | integer |
None. |
|
| ClockIn | date |
None. |
|
| ClockOut | date |
None. |
|
| ClockInLatitude | decimal number |
None. |
|
| ClockInLongitude | decimal number |
None. |
|
| ClockOutLatitude | decimal number |
None. |
|
| ClockOutLongitude | decimal number |
None. |
|
| EquipCode | string |
None. |
|
| QRResult | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClockId": 1,
"AttendanceId": 2,
"ClockIn": "2025-11-24T05:48:17.6583131+11:00",
"ClockOut": "2025-11-24T05:48:17.6583131+11:00",
"ClockInLatitude": 3.1,
"ClockInLongitude": 4.1,
"ClockOutLatitude": 5.1,
"ClockOutLongitude": 6.1,
"EquipCode": "sample string 7",
"QRResult": "sample string 8"
}
text/xml
Sample:
<DriverClockAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model"> <AttendanceId>2</AttendanceId> <ClockId>1</ClockId> <ClockIn>2025-11-24T05:48:17.6583131+11:00</ClockIn> <ClockInLatitude>3.1</ClockInLatitude> <ClockInLongitude>4.1</ClockInLongitude> <ClockOut>2025-11-24T05:48:17.6583131+11:00</ClockOut> <ClockOutLatitude>5.1</ClockOutLatitude> <ClockOutLongitude>6.1</ClockOutLongitude> <EquipCode>sample string 7</EquipCode> <QRResult>sample string 8</QRResult> </DriverClockAttendanceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |