POST api/GetCommonFirstAndLastClockForDay

Get employee's first and last clock for a day

Request Information

Payload

NamePayload ParametersAdditional information
Parameters int Personnel_Number
DateTime Date

None.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "FirstClock": "00:00:00.1234567",
  "LastClock": "00:00:00.1234567"
}

text/html

Sample:
{"FirstClock":"00:00:00.1234567","LastClock":"00:00:00.1234567"}

application/xml, text/xml

Sample:
<FirstLastClock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Clocktimes">
  <FirstClock>PT0.1234567S</FirstClock>
  <LastClock>PT0.1234567S</LastClock>
</FirstLastClock>