PUT api/Admin/DaySchedules

Updates a day schedule

Request Information

URI Parameters

None.

Body Parameters

UpdateDayScheduleRequest
NameDescriptionTypeAdditional information
Id

Day Schedule Id

integer

None.

ChangedBy

Changed by.

string

Required

Max length: 255

DayOfWeek

The day of week.

string

Required

StartTime

Start time.

time interval

Required

EndTime

End time.

time interval

Required

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChangedBy": "sample string 3",
  "DayOfWeek": "sample string 4",
  "StartTime": "00:00",
  "EndTime": "00:00"
}

application/xml, text/xml

Sample:
<UpdateDayScheduleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.Calendar.Service.DTO">
  <DayOfWeek>sample string 4</DayOfWeek>
  <EndTime>PT0.1234567S</EndTime>
  <Id>0</Id>
  <StartTime>PT0.1234567S</StartTime>
  <ChangedBy>sample string 3</ChangedBy>
  <Id>1</Id>
</UpdateDayScheduleRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.