POST api/Schedule/DeleteSessionAttachment

Request Information

URI Parameters

None.

Body Parameters

SessionDetailModel
NameDescriptionTypeAdditional information
ScheduleName

string

None.

SessionId

integer

None.

tempClaSessionId

integer

None.

SessionDate

date

None.

SessionStartDate

date

None.

Week

byte

None.

InstructorName

string

None.

ClassName

string

None.

LocationName

string

None.

SessionEndTime

string

None.

SessionStartTime

string

None.

VideoBeforeDate

date

None.

VideoAfterDate

date

None.

VideoUrl

string

None.

sessionDescription

string

None.

fileUpload0

string

None.

fileUpload1

string

None.

fileUpload2

string

None.

fileUpload0Name

string

None.

fileUpload1Name

string

None.

fileUpload2Name

string

None.

ScheduleID

integer

None.

ClassID

integer

Required

LocationID

integer

Required

Instructor1ID

integer

Required

Instructor2ID

integer

None.

Instructor3ID

integer

None.

Instructor4ID

integer

None.

StartDate

date

Required

ClassLength

integer

Required

SchCreatedDate

date

None.

MaxSeats

integer

Required

SchCreatedBy

string

String length: inclusive between 0 and 20

SchUpdatedDate

date

None.

SchUpdatedBy

string

String length: inclusive between 0 and 20

SchName

string

String length: inclusive between 0 and 100

SchPrice

decimal number

None.

ClassLateDays

integer

Required

ClassLateFees

decimal number

Required

SchStatus

integer

Required

SessionDuration

integer

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Zip

string

None.

Ambassador

string

None.

AmbassadorPhone

string

None.

AmbassadorEmail

string

None.

Id

integer

None.

ApplyCoupon

boolean

None.

CouponCode

string

None.

DiscountPrice

decimal number

None.

DiscountFromDate

date

None.

DiscountToDate

date

None.

applySpecialPrice

boolean

None.

specialPrice

string

None.

descriptionWebsite

string

None.

specialCode

string

None.

SendEmail

boolean

None.

VideoAfterDays

integer

None.

VideoBeforeDays

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduleName": "sample string 1",
  "SessionId": 2,
  "tempClaSessionId": 3,
  "SessionDate": "2025-09-06T22:28:54.5785664+00:00",
  "SessionStartDate": "2025-09-06T22:28:54.5785664+00:00",
  "Week": 64,
  "InstructorName": "sample string 7",
  "ClassName": "sample string 8",
  "LocationName": "sample string 9",
  "SessionEndTime": "sample string 10",
  "SessionStartTime": "sample string 11",
  "VideoBeforeDate": "2025-09-06T22:28:54.597965+00:00",
  "VideoAfterDate": "2025-09-06T22:28:54.597965+00:00",
  "VideoUrl": "sample string 14",
  "sessionDescription": "sample string 15",
  "fileUpload0": "sample string 16",
  "fileUpload1": "sample string 17",
  "fileUpload2": "sample string 18",
  "fileUpload0Name": "sample string 19",
  "fileUpload1Name": "sample string 20",
  "fileUpload2Name": "sample string 21",
  "ScheduleID": 22,
  "ClassID": 1,
  "LocationID": 1,
  "Instructor1ID": 1,
  "Instructor2ID": 1,
  "Instructor3ID": 1,
  "Instructor4ID": 1,
  "StartDate": "2025-09-06T22:28:54.597965+00:00",
  "ClassLength": 1,
  "SchCreatedDate": "2025-09-06T22:28:54.597965+00:00",
  "MaxSeats": 1,
  "SchCreatedBy": "sample string 23",
  "SchUpdatedDate": "2025-09-06T22:28:54.597965+00:00",
  "SchUpdatedBy": "sample string 24",
  "SchName": "sample string 25",
  "SchPrice": 1.0,
  "ClassLateDays": 1,
  "ClassLateFees": 1.0,
  "SchStatus": 1,
  "SessionDuration": 1,
  "Address1": "sample string 26",
  "Address2": "sample string 27",
  "City": "sample string 28",
  "State": "sample string 29",
  "Zip": "sample string 30",
  "Ambassador": "sample string 31",
  "AmbassadorPhone": "sample string 32",
  "AmbassadorEmail": "sample string 33",
  "Id": 34,
  "ApplyCoupon": true,
  "CouponCode": "sample string 36",
  "DiscountPrice": 37.0,
  "DiscountFromDate": "2025-09-06T22:28:54.597965+00:00",
  "DiscountToDate": "2025-09-06T22:28:54.597965+00:00",
  "applySpecialPrice": true,
  "specialPrice": "sample string 41",
  "descriptionWebsite": "sample string 42",
  "specialCode": "sample string 43",
  "SendEmail": true,
  "VideoAfterDays": 45,
  "VideoBeforeDays": 46
}

application/xml, text/xml

Sample:
<SessionDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <Address1>sample string 26</Address1>
  <Address2>sample string 27</Address2>
  <Ambassador>sample string 31</Ambassador>
  <AmbassadorEmail>sample string 33</AmbassadorEmail>
  <AmbassadorPhone>sample string 32</AmbassadorPhone>
  <ApplyCoupon>true</ApplyCoupon>
  <City>sample string 28</City>
  <ClassID>1</ClassID>
  <ClassLateDays>1</ClassLateDays>
  <ClassLateFees>1</ClassLateFees>
  <ClassLength>1</ClassLength>
  <CouponCode>sample string 36</CouponCode>
  <DiscountFromDate>2025-09-06T22:28:54.597965+00:00</DiscountFromDate>
  <DiscountPrice>37</DiscountPrice>
  <DiscountToDate>2025-09-06T22:28:54.597965+00:00</DiscountToDate>
  <Id>34</Id>
  <Instructor1ID>1</Instructor1ID>
  <Instructor2ID>1</Instructor2ID>
  <Instructor3ID>1</Instructor3ID>
  <Instructor4ID>1</Instructor4ID>
  <LocationID>1</LocationID>
  <MaxSeats>1</MaxSeats>
  <SchCreatedBy>sample string 23</SchCreatedBy>
  <SchCreatedDate>2025-09-06T22:28:54.597965+00:00</SchCreatedDate>
  <SchName>sample string 25</SchName>
  <SchPrice>1</SchPrice>
  <SchStatus>1</SchStatus>
  <SchUpdatedBy>sample string 24</SchUpdatedBy>
  <SchUpdatedDate>2025-09-06T22:28:54.597965+00:00</SchUpdatedDate>
  <ScheduleID>22</ScheduleID>
  <ScheduleName i:nil="true" />
  <SendEmail>true</SendEmail>
  <SessionDuration>1</SessionDuration>
  <StartDate>2025-09-06T22:28:54.597965+00:00</StartDate>
  <State>sample string 29</State>
  <VideoAfterDays>45</VideoAfterDays>
  <VideoBeforeDays>46</VideoBeforeDays>
  <Zip>sample string 30</Zip>
  <applySpecialPrice>true</applySpecialPrice>
  <descriptionWebsite>sample string 42</descriptionWebsite>
  <specialCode>sample string 43</specialCode>
  <specialPrice>sample string 41</specialPrice>
  <ClassName>sample string 8</ClassName>
  <InstructorName>sample string 7</InstructorName>
  <LocationName>sample string 9</LocationName>
  <ScheduleName>sample string 1</ScheduleName>
  <SessionDate>2025-09-06T22:28:54.5785664+00:00</SessionDate>
  <SessionEndTime>sample string 10</SessionEndTime>
  <SessionId>2</SessionId>
  <SessionStartDate>2025-09-06T22:28:54.5785664+00:00</SessionStartDate>
  <SessionStartTime>sample string 11</SessionStartTime>
  <VideoAfterDate>2025-09-06T22:28:54.597965+00:00</VideoAfterDate>
  <VideoBeforeDate>2025-09-06T22:28:54.597965+00:00</VideoBeforeDate>
  <VideoUrl>sample string 14</VideoUrl>
  <Week>64</Week>
  <fileUpload0>sample string 16</fileUpload0>
  <fileUpload0Name>sample string 19</fileUpload0Name>
  <fileUpload1>sample string 17</fileUpload1>
  <fileUpload1Name>sample string 20</fileUpload1Name>
  <fileUpload2>sample string 18</fileUpload2>
  <fileUpload2Name>sample string 21</fileUpload2Name>
  <sessionDescription>sample string 15</sessionDescription>
  <tempClaSessionId>3</tempClaSessionId>
</SessionDetailModel>

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

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/" />