POST api/AFNI/SaveDTR
Request Information
URI Parameters
None.
Body Parameters
DTRLogClass| Name | Description | Type | Additional information |
|---|---|---|---|
| empID | string |
None. |
|
| timeInOut | date |
None. |
|
| logType | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"empID": "sample string 1",
"timeInOut": "2025-12-06T12:37:44.6129731+08:00",
"logType": true
}
application/xml, text/xml
Sample:
<DTRLogClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Classes"> <empID>sample string 1</empID> <logType>true</logType> <timeInOut>2025-12-06T12:37:44.6129731+08:00</timeInOut> </DTRLogClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>