GET Attendance/GetAttendanceLogEdits/{SiteID}?UserID={UserID}&ChangedStartDate={ChangedStartDate}&ChangedEndDate={ChangedEndDate}

Returns attendance log edits from portal for a given site.

Request Information

URI Parameters

Name Type Description Additional information
SiteID integer

UserID integer

None.

ChangedStartDate date

None.

ChangedEndDate date

None.

Body Parameters

None.

Response Information

Resource Description

AttendanceLogEditModel
Name Type Description Additional information
SiteID integer

None.

AttendanceLogEdits Collection of AttendanceLogEdit

None.

Response Formats

application/json, text/json

Sample:
{
  "SiteID": 1,
  "AttendanceLogEdits": [
    {
      "AttendanceLogID": 1,
      "UserID": 2,
      "OldLogOn": "2024-11-21T07:19:15.5491464+00:00",
      "OldLogOff": "2024-11-21T07:19:15.5491464+00:00",
      "NewLogOn": "2024-11-21T07:19:15.5491464+00:00",
      "NewLogOff": "2024-11-21T07:19:15.5491464+00:00",
      "ChangedDate": "2024-11-21T07:19:15.5491464+00:00"
    },
    {
      "AttendanceLogID": 1,
      "UserID": 2,
      "OldLogOn": "2024-11-21T07:19:15.5491464+00:00",
      "OldLogOff": "2024-11-21T07:19:15.5491464+00:00",
      "NewLogOn": "2024-11-21T07:19:15.5491464+00:00",
      "NewLogOff": "2024-11-21T07:19:15.5491464+00:00",
      "ChangedDate": "2024-11-21T07:19:15.5491464+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AttendanceLogEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models">
  <AttendanceLogEdits>
    <AttendanceLogEditModel.AttendanceLogEdit>
      <AttendanceLogID>1</AttendanceLogID>
      <ChangedDate>2024-11-21T07:19:15.5491464+00:00</ChangedDate>
      <NewLogOff>2024-11-21T07:19:15.5491464+00:00</NewLogOff>
      <NewLogOn>2024-11-21T07:19:15.5491464+00:00</NewLogOn>
      <OldLogOff>2024-11-21T07:19:15.5491464+00:00</OldLogOff>
      <OldLogOn>2024-11-21T07:19:15.5491464+00:00</OldLogOn>
      <UserID>2</UserID>
    </AttendanceLogEditModel.AttendanceLogEdit>
    <AttendanceLogEditModel.AttendanceLogEdit>
      <AttendanceLogID>1</AttendanceLogID>
      <ChangedDate>2024-11-21T07:19:15.5491464+00:00</ChangedDate>
      <NewLogOff>2024-11-21T07:19:15.5491464+00:00</NewLogOff>
      <NewLogOn>2024-11-21T07:19:15.5491464+00:00</NewLogOn>
      <OldLogOff>2024-11-21T07:19:15.5491464+00:00</OldLogOff>
      <OldLogOn>2024-11-21T07:19:15.5491464+00:00</OldLogOn>
      <UserID>2</UserID>
    </AttendanceLogEditModel.AttendanceLogEdit>
  </AttendanceLogEdits>
  <SiteID>1</SiteID>
</AttendanceLogEditModel>