POST employee/schedules?companyId={companyId}&employeeId={employeeId}&startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

employeeId

integer

Required

startDate

date

Required

endDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of IConnect.Web.ReportingApi.Models.ApiEmployee
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

CellPhone

string

None.

Schedules

Collection of IConnect.Web.ReportingApi.Models.ApiEmployeeScheduleFull

None.

EmployeeId

integer

None.

ImageUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "CellPhone": "sample string 3",
    "Schedules": [
      {
        "ClockIn": "2024-10-18T04:38:21.1084656-04:00",
        "ClockOut": "2024-10-18T04:38:21.1240773-04:00",
        "ScheduleId": 1,
        "Start": "2024-10-18T04:38:21.1240773-04:00",
        "End": "2024-10-18T04:38:21.1240773-04:00",
        "LunchStart": "2024-10-18T04:38:21.1240773-04:00",
        "LunchEnd": "2024-10-18T04:38:21.1240773-04:00"
      },
      {
        "ClockIn": "2024-10-18T04:38:21.1084656-04:00",
        "ClockOut": "2024-10-18T04:38:21.1240773-04:00",
        "ScheduleId": 1,
        "Start": "2024-10-18T04:38:21.1240773-04:00",
        "End": "2024-10-18T04:38:21.1240773-04:00",
        "LunchStart": "2024-10-18T04:38:21.1240773-04:00",
        "LunchEnd": "2024-10-18T04:38:21.1240773-04:00"
      }
    ],
    "EmployeeId": 4,
    "ImageUrl": "sample string 5"
  },
  {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "CellPhone": "sample string 3",
    "Schedules": [
      {
        "ClockIn": "2024-10-18T04:38:21.1084656-04:00",
        "ClockOut": "2024-10-18T04:38:21.1240773-04:00",
        "ScheduleId": 1,
        "Start": "2024-10-18T04:38:21.1240773-04:00",
        "End": "2024-10-18T04:38:21.1240773-04:00",
        "LunchStart": "2024-10-18T04:38:21.1240773-04:00",
        "LunchEnd": "2024-10-18T04:38:21.1240773-04:00"
      },
      {
        "ClockIn": "2024-10-18T04:38:21.1084656-04:00",
        "ClockOut": "2024-10-18T04:38:21.1240773-04:00",
        "ScheduleId": 1,
        "Start": "2024-10-18T04:38:21.1240773-04:00",
        "End": "2024-10-18T04:38:21.1240773-04:00",
        "LunchStart": "2024-10-18T04:38:21.1240773-04:00",
        "LunchEnd": "2024-10-18T04:38:21.1240773-04:00"
      }
    ],
    "EmployeeId": 4,
    "ImageUrl": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Web.ReportingApi.Models">
  <ApiEmployee>
    <CellPhone>sample string 3</CellPhone>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <Schedules>
      <ApiEmployeeScheduleFull>
        <End>2024-10-18T04:38:21.1240773-04:00</End>
        <LunchEnd>2024-10-18T04:38:21.1240773-04:00</LunchEnd>
        <LunchStart>2024-10-18T04:38:21.1240773-04:00</LunchStart>
        <ScheduleId>1</ScheduleId>
        <Start>2024-10-18T04:38:21.1240773-04:00</Start>
        <ClockIn>2024-10-18T04:38:21.1084656-04:00</ClockIn>
        <ClockOut>2024-10-18T04:38:21.1240773-04:00</ClockOut>
      </ApiEmployeeScheduleFull>
      <ApiEmployeeScheduleFull>
        <End>2024-10-18T04:38:21.1240773-04:00</End>
        <LunchEnd>2024-10-18T04:38:21.1240773-04:00</LunchEnd>
        <LunchStart>2024-10-18T04:38:21.1240773-04:00</LunchStart>
        <ScheduleId>1</ScheduleId>
        <Start>2024-10-18T04:38:21.1240773-04:00</Start>
        <ClockIn>2024-10-18T04:38:21.1084656-04:00</ClockIn>
        <ClockOut>2024-10-18T04:38:21.1240773-04:00</ClockOut>
      </ApiEmployeeScheduleFull>
    </Schedules>
  </ApiEmployee>
  <ApiEmployee>
    <CellPhone>sample string 3</CellPhone>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
    <Schedules>
      <ApiEmployeeScheduleFull>
        <End>2024-10-18T04:38:21.1240773-04:00</End>
        <LunchEnd>2024-10-18T04:38:21.1240773-04:00</LunchEnd>
        <LunchStart>2024-10-18T04:38:21.1240773-04:00</LunchStart>
        <ScheduleId>1</ScheduleId>
        <Start>2024-10-18T04:38:21.1240773-04:00</Start>
        <ClockIn>2024-10-18T04:38:21.1084656-04:00</ClockIn>
        <ClockOut>2024-10-18T04:38:21.1240773-04:00</ClockOut>
      </ApiEmployeeScheduleFull>
      <ApiEmployeeScheduleFull>
        <End>2024-10-18T04:38:21.1240773-04:00</End>
        <LunchEnd>2024-10-18T04:38:21.1240773-04:00</LunchEnd>
        <LunchStart>2024-10-18T04:38:21.1240773-04:00</LunchStart>
        <ScheduleId>1</ScheduleId>
        <Start>2024-10-18T04:38:21.1240773-04:00</Start>
        <ClockIn>2024-10-18T04:38:21.1084656-04:00</ClockIn>
        <ClockOut>2024-10-18T04:38:21.1240773-04:00</ClockOut>
      </ApiEmployeeScheduleFull>
    </Schedules>
  </ApiEmployee>
</ArrayOfApiEmployee>