POST api/EmployeeAttendance/getAllRecords/Employee

Request Information

URI Parameters

None.

Body Parameters

EmployeeAttendanceParamDto
NameDescriptionTypeAdditional information
AttendanceDate

string

None.

BranchId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AttendanceDate": "sample string 1",
  "BranchId": 2
}

application/xml, text/xml

Sample:
<EmployeeAttendanceParamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AttendanceDate>sample string 1</AttendanceDate>
  <BranchId>2</BranchId>
</EmployeeAttendanceParamDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeAttendanceParamDto'.

Response Information

Resource Description

Collection of EmployeeAttendanceDto
NameDescriptionTypeAdditional information
EmployeeAttendanceDetailsId

decimal number

None.

EmployeeAttendanceId

decimal number

None.

EmployeeId

decimal number

None.

EmployeeName

string

None.

EmployeeCode

string

None.

Designation_Name

string

None.

InTime

time interval

None.

OutTime

time interval

None.

InTime2

time interval

None.

OutTime2

time interval

None.

AttendanceStatus

integer

None.

RecordedInTime

time interval

None.

RecordedOutTime

time interval

None.

RecordedInTime2

time interval

None.

RecordedOutTime2

time interval

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeAttendanceDetailsId": 1.0,
    "EmployeeAttendanceId": 1.0,
    "EmployeeId": 1.0,
    "EmployeeName": "sample string 2",
    "EmployeeCode": "sample string 3",
    "Designation_Name": "sample string 4",
    "InTime": "00:00:00.1234567",
    "OutTime": "00:00:00.1234567",
    "InTime2": "00:00:00.1234567",
    "OutTime2": "00:00:00.1234567",
    "AttendanceStatus": 1,
    "RecordedInTime": "00:00:00.1234567",
    "RecordedOutTime": "00:00:00.1234567",
    "RecordedInTime2": "00:00:00.1234567",
    "RecordedOutTime2": "00:00:00.1234567"
  },
  {
    "EmployeeAttendanceDetailsId": 1.0,
    "EmployeeAttendanceId": 1.0,
    "EmployeeId": 1.0,
    "EmployeeName": "sample string 2",
    "EmployeeCode": "sample string 3",
    "Designation_Name": "sample string 4",
    "InTime": "00:00:00.1234567",
    "OutTime": "00:00:00.1234567",
    "InTime2": "00:00:00.1234567",
    "OutTime2": "00:00:00.1234567",
    "AttendanceStatus": 1,
    "RecordedInTime": "00:00:00.1234567",
    "RecordedOutTime": "00:00:00.1234567",
    "RecordedInTime2": "00:00:00.1234567",
    "RecordedOutTime2": "00:00:00.1234567"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeAttendanceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <EmployeeAttendanceDto>
    <AttendanceStatus>1</AttendanceStatus>
    <Designation_Name>sample string 4</Designation_Name>
    <EmployeeAttendanceDetailsId>1</EmployeeAttendanceDetailsId>
    <EmployeeAttendanceId>1</EmployeeAttendanceId>
    <EmployeeCode>sample string 3</EmployeeCode>
    <EmployeeId>1</EmployeeId>
    <EmployeeName>sample string 2</EmployeeName>
    <InTime>PT0.1234567S</InTime>
    <InTime2>PT0.1234567S</InTime2>
    <OutTime>PT0.1234567S</OutTime>
    <OutTime2>PT0.1234567S</OutTime2>
    <RecordedInTime>PT0.1234567S</RecordedInTime>
    <RecordedInTime2>PT0.1234567S</RecordedInTime2>
    <RecordedOutTime>PT0.1234567S</RecordedOutTime>
    <RecordedOutTime2>PT0.1234567S</RecordedOutTime2>
  </EmployeeAttendanceDto>
  <EmployeeAttendanceDto>
    <AttendanceStatus>1</AttendanceStatus>
    <Designation_Name>sample string 4</Designation_Name>
    <EmployeeAttendanceDetailsId>1</EmployeeAttendanceDetailsId>
    <EmployeeAttendanceId>1</EmployeeAttendanceId>
    <EmployeeCode>sample string 3</EmployeeCode>
    <EmployeeId>1</EmployeeId>
    <EmployeeName>sample string 2</EmployeeName>
    <InTime>PT0.1234567S</InTime>
    <InTime2>PT0.1234567S</InTime2>
    <OutTime>PT0.1234567S</OutTime>
    <OutTime2>PT0.1234567S</OutTime2>
    <RecordedInTime>PT0.1234567S</RecordedInTime>
    <RecordedInTime2>PT0.1234567S</RecordedInTime2>
    <RecordedOutTime>PT0.1234567S</RecordedOutTime>
    <RecordedOutTime2>PT0.1234567S</RecordedOutTime2>
  </EmployeeAttendanceDto>
</ArrayOfEmployeeAttendanceDto>