POST Classe
Request Information
URI Parameters
None.
Body Parameters
ClasseRequestName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CourseId | integer |
None. |
|
LessonId | integer |
None. |
|
Title | string |
None. |
|
Content | string |
None. |
|
Master | integer |
None. |
|
Inspector | integer |
None. |
|
Starts | date |
None. |
|
Ends | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CourseId": 2, "LessonId": 3, "Title": "sample string 4", "Content": "sample string 5", "Master": 6, "Inspector": 7, "Starts": "2025-04-04T03:36:14.5298347+02:00", "Ends": "2025-04-04T03:36:14.5298347+02:00" }
text/html
Sample:
{"Id":1,"CourseId":2,"LessonId":3,"Title":"sample string 4","Content":"sample string 5","Master":6,"Inspector":7,"Starts":"2025-04-04T03:36:14.5298347+02:00","Ends":"2025-04-04T03:36:14.5298347+02:00"}
application/xml, text/xml
Sample:
<ClasseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AkademyCore.ViewModel"> <Content>sample string 5</Content> <CourseId>2</CourseId> <Ends>2025-04-04T03:36:14.5298347+02:00</Ends> <Id>1</Id> <Inspector>7</Inspector> <LessonId>3</LessonId> <Master>6</Master> <Starts>2025-04-04T03:36:14.5298347+02:00</Starts> <Title>sample string 4</Title> </ClasseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.