POST employee/updateSchedule

Request Information

URI Parameters

None.

Body Parameters

IConnect.Web.ReportingApi.Models.ApiEmployeeScheduleUpdateModel
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

CompanyId

integer

None.

ScheduleId

integer

None.

Start

date

None.

End

date

None.

LunchStart

date

None.

LunchEnd

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "CompanyId": 2,
  "ScheduleId": 3,
  "Start": "2024-10-18T04:30:51.0939284-04:00",
  "End": "2024-10-18T04:30:51.0939284-04:00",
  "LunchStart": "2024-10-18T04:30:51.0939284-04:00",
  "LunchEnd": "2024-10-18T04:30:51.0939284-04:00"
}

application/xml, text/xml

Sample:
<ApiEmployeeScheduleUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Web.ReportingApi.Models">
  <End>2024-10-18T04:30:51.0939284-04:00</End>
  <LunchEnd>2024-10-18T04:30:51.0939284-04:00</LunchEnd>
  <LunchStart>2024-10-18T04:30:51.0939284-04:00</LunchStart>
  <ScheduleId>3</ScheduleId>
  <Start>2024-10-18T04:30:51.0939284-04:00</Start>
  <CompanyId>2</CompanyId>
  <EmployeeId>1</EmployeeId>
</ApiEmployeeScheduleUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IConnect.Web.ReportingApi.Models.ApiEmployeeScheduleFull
NameDescriptionTypeAdditional information
ClockIn

date

None.

ClockOut

date

None.

ScheduleId

integer

None.

Start

date

None.

End

date

None.

LunchStart

date

None.

LunchEnd

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ClockIn": "2024-10-18T04:30:51.0939284-04:00",
  "ClockOut": "2024-10-18T04:30:51.0939284-04:00",
  "ScheduleId": 1,
  "Start": "2024-10-18T04:30:51.0939284-04:00",
  "End": "2024-10-18T04:30:51.0939284-04:00",
  "LunchStart": "2024-10-18T04:30:51.0939284-04:00",
  "LunchEnd": "2024-10-18T04:30:51.0939284-04:00"
}

application/xml, text/xml

Sample:
<ApiEmployeeScheduleFull xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Web.ReportingApi.Models">
  <End>2024-10-18T04:30:51.0939284-04:00</End>
  <LunchEnd>2024-10-18T04:30:51.0939284-04:00</LunchEnd>
  <LunchStart>2024-10-18T04:30:51.0939284-04:00</LunchStart>
  <ScheduleId>1</ScheduleId>
  <Start>2024-10-18T04:30:51.0939284-04:00</Start>
  <ClockIn>2024-10-18T04:30:51.0939284-04:00</ClockIn>
  <ClockOut>2024-10-18T04:30:51.0939284-04:00</ClockOut>
</ApiEmployeeScheduleFull>