PUT api/RcAdminTcSchedules/Put

Updates the start time and end time of the specified tutoring center schedule event. If updateRecurring is true, recurring events that happens after the initial event are updated as well.

Request Information

URI Parameters

None.

Body Parameters

PutTcScheduleDto
NameDescriptionTypeAdditional information
RcId

integer

Required

TcScheduleId

integer

Required

TcId

integer

None.

MaxPooled

integer

None.

StartTime

integer

None.

EndTime

integer

None.

UpdateRecurring

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RcId": 1,
  "TcScheduleId": 2,
  "TcId": 3,
  "MaxPooled": 4,
  "StartTime": 5,
  "EndTime": 6,
  "UpdateRecurring": true
}

application/xml, text/xml

Sample:
<PutTcScheduleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.UniversityNs.TutoringCenterNs">
  <EndTime>6</EndTime>
  <MaxPooled>4</MaxPooled>
  <RcId>1</RcId>
  <StartTime>5</StartTime>
  <TcId>3</TcId>
  <TcScheduleId>2</TcScheduleId>
  <UpdateRecurring>true</UpdateRecurring>
</PutTcScheduleDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.