POST api/Employee/SaveFRAttendance

Request Information

URI Parameters

None.

Body Parameters

Collection of AttendanceModel
NameDescriptionTypeAdditional information
EmpId

integer

None.

Date

date

None.

InTime

date

None.

OutTime

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EmpId": 1,
    "Date": "2025-12-10T08:47:15.3112868+05:30",
    "InTime": "2025-12-10T08:47:15.3112868+05:30",
    "OutTime": "2025-12-10T08:47:15.3112868+05:30"
  },
  {
    "EmpId": 1,
    "Date": "2025-12-10T08:47:15.3112868+05:30",
    "InTime": "2025-12-10T08:47:15.3112868+05:30",
    "OutTime": "2025-12-10T08:47:15.3112868+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartHR.API.Models">
  <AttendanceModel>
    <Date>2025-12-10T08:47:15.3112868+05:30</Date>
    <EmpId>1</EmpId>
    <InTime>2025-12-10T08:47:15.3112868+05:30</InTime>
    <OutTime>2025-12-10T08:47:15.3112868+05:30</OutTime>
  </AttendanceModel>
  <AttendanceModel>
    <Date>2025-12-10T08:47:15.3112868+05:30</Date>
    <EmpId>1</EmpId>
    <InTime>2025-12-10T08:47:15.3112868+05:30</InTime>
    <OutTime>2025-12-10T08:47:15.3112868+05:30</OutTime>
  </AttendanceModel>
</ArrayOfAttendanceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.