POST api/Attendance/AcceptAll

Request Information

URI Parameters

None.

Body Parameters

SearchDTO
NameDescriptionTypeAdditional information
StaffID

integer

None.

UserID

integer

None.

SystemUserID

integer

None.

FromDate

date

None.

ToDate

date

None.

Year

integer

None.

Month

integer

None.

PermissionType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffID": 1,
  "UserID": 2,
  "SystemUserID": 3,
  "FromDate": "2025-10-27T18:35:15.5070979-04:00",
  "ToDate": "2025-10-27T18:35:15.5070979-04:00",
  "Year": 6,
  "Month": 7,
  "PermissionType": 8
}

application/xml, text/xml

Sample:
<SearchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
  <FromDate>2025-10-27T18:35:15.5070979-04:00</FromDate>
  <Month>7</Month>
  <PermissionType>8</PermissionType>
  <StaffID>1</StaffID>
  <SystemUserID>3</SystemUserID>
  <ToDate>2025-10-27T18:35:15.5070979-04:00</ToDate>
  <UserID>2</UserID>
  <Year>6</Year>
</SearchDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>