POST api/CheckInOutNew/Add
Request Information
URI Parameters
None.
Body Parameters
CheckInOutNewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CheckInOutID | integer |
None. |
|
| StaffID | integer |
None. |
|
| CheckTime | date |
None. |
|
| CheckType | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CheckInOutID": 1,
"StaffID": 2,
"CheckTime": "2025-10-27T18:12:01.3176617-04:00",
"CheckType": 4,
"Latitude": "sample string 5",
"Longitude": "sample string 6"
}
application/xml, text/xml
Sample:
<CheckInOutNewDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs"> <CheckInOutID>1</CheckInOutID> <CheckTime>2025-10-27T18:12:01.3176617-04:00</CheckTime> <CheckType>4</CheckType> <Latitude>sample string 5</Latitude> <Longitude>sample string 6</Longitude> <StaffID>2</StaffID> </CheckInOutNewDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>