GET api/Attendance/Get?cprno={cprno}&fromdate={fromdate}&todate={todate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cprno

string

Required

fromdate

string

Required

todate

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Attendance
NameDescriptionTypeAdditional information
cpr_no

string

None.

punch_date

date

None.

shift_day

string

None.

in_time

date

None.

out_time

date

None.

worked_time

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "cpr_no": "sample string 1",
    "punch_date": "2020-07-12T08:33:39.2002584+03:00",
    "shift_day": "sample string 3",
    "in_time": "2020-07-12T08:33:39.2002584+03:00",
    "out_time": "2020-07-12T08:33:39.2002584+03:00",
    "worked_time": "sample string 6"
  },
  {
    "cpr_no": "sample string 1",
    "punch_date": "2020-07-12T08:33:39.2002584+03:00",
    "shift_day": "sample string 3",
    "in_time": "2020-07-12T08:33:39.2002584+03:00",
    "out_time": "2020-07-12T08:33:39.2002584+03:00",
    "worked_time": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/circularAPI.Models">
  <Attendance>
    <cpr_no>sample string 1</cpr_no>
    <in_time>2020-07-12T08:33:39.2002584+03:00</in_time>
    <out_time>2020-07-12T08:33:39.2002584+03:00</out_time>
    <punch_date>2020-07-12T08:33:39.2002584+03:00</punch_date>
    <shift_day>sample string 3</shift_day>
    <worked_time>sample string 6</worked_time>
  </Attendance>
  <Attendance>
    <cpr_no>sample string 1</cpr_no>
    <in_time>2020-07-12T08:33:39.2002584+03:00</in_time>
    <out_time>2020-07-12T08:33:39.2002584+03:00</out_time>
    <punch_date>2020-07-12T08:33:39.2002584+03:00</punch_date>
    <shift_day>sample string 3</shift_day>
    <worked_time>sample string 6</worked_time>
  </Attendance>
</ArrayOfAttendance>