PUT api/Schedule

Request Information

URI Parameters

None.

Body Parameters

ScheduleEditVm
NameDescriptionTypeAdditional information
ScheduleId

integer

None.

NotInOperateTimeConfirmed

boolean

None.

Date

string

None.

StartTime

string

None.

EndTime

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

LastModifiedBy

integer

None.

LastModifiedOn

date

None.

IsDeleted

boolean

None.

CodeId

integer

None.

TimeZoneId

integer

None.

ZoneId

integer

None.

ClinicId

integer

None.

RegionId

integer

None.

NumberNeeded

integer

None.

EmployeeId

integer

None.

PositionCategoryId

integer

None.

PayPeriodId

integer

None.

ScheduleStatusId

integer

None.

EmployeeNotInZoneConfirmed

boolean

None.

EmployeeOvertimeConfirmed

boolean

None.

MoreThanOneEmployeeConfirmed

boolean

None.

EmployeeSameDayInOtherClinicConfirmed

boolean

None.

Shift

string

None.

Request Formats

application/json, text/json

Sample:
{
  "scheduleId": 1,
  "notInOperateTimeConfirmed": true,
  "date": "sample string 3",
  "startTime": "sample string 4",
  "endTime": "sample string 5",
  "createdBy": 6,
  "createdOn": "2026-05-06T01:19:30.6298038+02:00",
  "lastModifiedBy": 1,
  "lastModifiedOn": "2026-05-06T01:19:30.6298038+02:00",
  "isDeleted": true,
  "codeId": 9,
  "timeZoneId": 10,
  "zoneId": 11,
  "clinicId": 12,
  "regionId": 13,
  "numberNeeded": 14,
  "employeeId": 15,
  "positionCategoryId": 16,
  "payPeriodId": 1,
  "scheduleStatusId": 1,
  "employeeNotInZoneConfirmed": true,
  "employeeOvertimeConfirmed": true,
  "moreThanOneEmployeeConfirmed": true,
  "employeeSameDayInOtherClinicConfirmed": true,
  "shift": "sample string 21"
}

text/html

Sample:
{"scheduleId":1,"notInOperateTimeConfirmed":true,"date":"sample string 3","startTime":"sample string 4","endTime":"sample string 5","createdBy":6,"createdOn":"2026-05-06T01:19:30.6298038+02:00","lastModifiedBy":1,"lastModifiedOn":"2026-05-06T01:19:30.6298038+02:00","isDeleted":true,"codeId":9,"timeZoneId":10,"zoneId":11,"clinicId":12,"regionId":13,"numberNeeded":14,"employeeId":15,"positionCategoryId":16,"payPeriodId":1,"scheduleStatusId":1,"employeeNotInZoneConfirmed":true,"employeeOvertimeConfirmed":true,"moreThanOneEmployeeConfirmed":true,"employeeSameDayInOtherClinicConfirmed":true,"shift":"sample string 21"}

application/xml, text/xml

Sample:
<ScheduleEditVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.HR">
  <ClinicId>12</ClinicId>
  <CodeId>9</CodeId>
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2026-05-06T01:19:30.6298038+02:00</CreatedOn>
  <Date>sample string 3</Date>
  <EmployeeId>15</EmployeeId>
  <EmployeeNotInZoneConfirmed>true</EmployeeNotInZoneConfirmed>
  <EmployeeOvertimeConfirmed>true</EmployeeOvertimeConfirmed>
  <EmployeeSameDayInOtherClinicConfirmed>true</EmployeeSameDayInOtherClinicConfirmed>
  <EndTime>sample string 5</EndTime>
  <IsDeleted>true</IsDeleted>
  <LastModifiedBy>1</LastModifiedBy>
  <LastModifiedOn>2026-05-06T01:19:30.6298038+02:00</LastModifiedOn>
  <MoreThanOneEmployeeConfirmed>true</MoreThanOneEmployeeConfirmed>
  <NumberNeeded>14</NumberNeeded>
  <PayPeriodId>1</PayPeriodId>
  <PositionCategoryId>16</PositionCategoryId>
  <RegionId>13</RegionId>
  <ScheduleStatusId>1</ScheduleStatusId>
  <Shift>sample string 21</Shift>
  <StartTime>sample string 4</StartTime>
  <TimeZoneId>10</TimeZoneId>
  <ZoneId>11</ZoneId>
  <NotInOperateTimeConfirmed>true</NotInOperateTimeConfirmed>
  <ScheduleId>1</ScheduleId>
</ScheduleEditVm>

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 'ScheduleEditVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.