PUT api/MasterSchedule

Request Information

URI Parameters

None.

Body Parameters

MasterScheduleEditVm
NameDescriptionTypeAdditional information
Id

integer

None.

Weeks

string

None.

StartTime

time interval

None.

EndTime

time interval

None.

TimeZoneId

integer

None.

ZoneId

integer

None.

ClinicId

integer

None.

RegionId

integer

None.

EmployeeId

integer

None.

TypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "weeks": "sample string 2",
  "startTime": "00:00:00.1234567",
  "endTime": "00:00:00.1234567",
  "timeZoneId": 5,
  "zoneId": 6,
  "clinicId": 7,
  "regionId": 8,
  "employeeId": 9,
  "typeId": 10
}

text/html

Sample:
{"id":1,"weeks":"sample string 2","startTime":"00:00:00.1234567","endTime":"00:00:00.1234567","timeZoneId":5,"zoneId":6,"clinicId":7,"regionId":8,"employeeId":9,"typeId":10}

application/xml, text/xml

Sample:
<MasterScheduleEditVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.HR">
  <ClinicId>7</ClinicId>
  <EmployeeId>9</EmployeeId>
  <EndTime>PT0.1234567S</EndTime>
  <Id>1</Id>
  <RegionId>8</RegionId>
  <StartTime>PT0.1234567S</StartTime>
  <TimeZoneId>5</TimeZoneId>
  <TypeId>10</TypeId>
  <Weeks>sample string 2</Weeks>
  <ZoneId>6</ZoneId>
</MasterScheduleEditVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.