GET hmain/api/Apf/v1/Attandance/GetShiftCalenderReport?EmployeeId={EmployeeId}&DepartMentId={DepartMentId}&FromDate={FromDate}&ToDate={ToDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeId

integer

Required

DepartMentId

integer

Required

FromDate

string

Required

ToDate

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ShiftCalender
NameDescriptionTypeAdditional information
EmployeeNo

integer

None.

EmployeeName

string

None.

Date

string

None.

ShiftTime

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeNo": 1,
    "EmployeeName": "sample string 2",
    "Date": "sample string 3",
    "ShiftTime": "sample string 4"
  },
  {
    "EmployeeNo": 1,
    "EmployeeName": "sample string 2",
    "Date": "sample string 3",
    "ShiftTime": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShiftCalender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HATS.Model">
  <ShiftCalender>
    <Date>sample string 3</Date>
    <EmployeeName>sample string 2</EmployeeName>
    <EmployeeNo>1</EmployeeNo>
    <ShiftTime>sample string 4</ShiftTime>
  </ShiftCalender>
  <ShiftCalender>
    <Date>sample string 3</Date>
    <EmployeeName>sample string 2</EmployeeName>
    <EmployeeNo>1</EmployeeNo>
    <ShiftTime>sample string 4</ShiftTime>
  </ShiftCalender>
</ArrayOfShiftCalender>