POST api/AFNI/GetDTRPerEmployee

Request Information

URI Parameters

None.

Body Parameters

EmployeesDate
NameDescriptionTypeAdditional information
empID

string

None.

logDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "empID": "sample string 1",
  "logDate": "2025-12-06T11:42:53.6729973+08:00"
}

application/xml, text/xml

Sample:
<EmployeesDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Models.PartialClasses">
  <empID>sample string 1</empID>
  <logDate>2025-12-06T11:42:53.6729973+08:00</logDate>
</EmployeesDate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DTRPerEmployee
NameDescriptionTypeAdditional information
id

integer

None.

empID

string

None.

scanDate

date

None.

shift

string

None.

timeIN

string

None.

timeOUT

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "empID": "sample string 2",
    "scanDate": "2025-12-06T11:42:53.6729973+08:00",
    "shift": "sample string 3",
    "timeIN": "sample string 4",
    "timeOUT": "sample string 5"
  },
  {
    "id": 1,
    "empID": "sample string 2",
    "scanDate": "2025-12-06T11:42:53.6729973+08:00",
    "shift": "sample string 3",
    "timeIN": "sample string 4",
    "timeOUT": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDTRPerEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Models.PartialClasses">
  <DTRPerEmployee>
    <empID>sample string 2</empID>
    <id>1</id>
    <scanDate>2025-12-06T11:42:53.6729973+08:00</scanDate>
    <shift>sample string 3</shift>
    <timeIN>sample string 4</timeIN>
    <timeOUT>sample string 5</timeOUT>
  </DTRPerEmployee>
  <DTRPerEmployee>
    <empID>sample string 2</empID>
    <id>1</id>
    <scanDate>2025-12-06T11:42:53.6729973+08:00</scanDate>
    <shift>sample string 3</shift>
    <timeIN>sample string 4</timeIN>
    <timeOUT>sample string 5</timeOUT>
  </DTRPerEmployee>
</ArrayOfDTRPerEmployee>