DELETE api/Tutor/Schedule

Deletes the times lot specified by the given id. Requires the removal of any teams assigned to the time slot

Request Information

URI Parameters

None.

Body Parameters

The input model containing the id.

DeleteTimeslotModel
NameDescriptionTypeAdditional information
TimeSlotId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "TimeSlotId": 1
}

application/xml, text/xml

Sample:
<DeleteTimeslotModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.ScheduleModels.InputModel">
  <TimeSlotId>1</TimeSlotId>
</DeleteTimeslotModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The appropriate status response for the action result.

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.