POST api/Schedule/DeleteSession

Request Information

URI Parameters

None.

Body Parameters

SessionSaveModel
NameDescriptionTypeAdditional information
SessionId

integer

None.

tempClaSessionId

integer

None.

ScheduleId

integer

None.

SessionDate

date

None.

SessionStartDate

date

None.

Week

byte

None.

InstructorName

string

None.

ClassName

string

None.

LocationName

string

None.

Instructor1Id

integer

None.

Instructor2Id

integer

None.

Instructor3Id

integer

None.

Instructor4Id

integer

None.

SessionDuration

integer

None.

ApplyFurther

boolean

None.

SendEmail

boolean

None.

sessionDescription

string

None.

VideoBeforeDate

date

None.

VideoAfterDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": 1,
  "tempClaSessionId": 2,
  "ScheduleId": 3,
  "SessionDate": "2025-09-06T06:21:33.5285847+00:00",
  "SessionStartDate": "2025-09-06T06:21:33.5285847+00:00",
  "Week": 64,
  "InstructorName": "sample string 7",
  "ClassName": "sample string 8",
  "LocationName": "sample string 9",
  "Instructor1Id": 10,
  "Instructor2Id": 11,
  "Instructor3Id": 12,
  "Instructor4Id": 13,
  "SessionDuration": 14,
  "ApplyFurther": true,
  "SendEmail": true,
  "sessionDescription": "sample string 17",
  "VideoBeforeDate": "2025-09-06T06:21:33.5285847+00:00",
  "VideoAfterDate": "2025-09-06T06:21:33.5285847+00:00"
}

application/xml, text/xml

Sample:
<SessionSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <ApplyFurther>true</ApplyFurther>
  <ClassName>sample string 8</ClassName>
  <Instructor1Id>10</Instructor1Id>
  <Instructor2Id>11</Instructor2Id>
  <Instructor3Id>12</Instructor3Id>
  <Instructor4Id>13</Instructor4Id>
  <InstructorName>sample string 7</InstructorName>
  <LocationName>sample string 9</LocationName>
  <ScheduleId>3</ScheduleId>
  <SendEmail>true</SendEmail>
  <SessionDate>2025-09-06T06:21:33.5285847+00:00</SessionDate>
  <SessionDuration>14</SessionDuration>
  <SessionId>1</SessionId>
  <SessionStartDate>2025-09-06T06:21:33.5285847+00:00</SessionStartDate>
  <VideoAfterDate>2025-09-06T06:21:33.5285847+00:00</VideoAfterDate>
  <VideoBeforeDate>2025-09-06T06:21:33.5285847+00:00</VideoBeforeDate>
  <Week>64</Week>
  <sessionDescription>sample string 17</sessionDescription>
  <tempClaSessionId>2</tempClaSessionId>
</SessionSaveModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />