POST ClassNewsAPI/RemoveClassNews
Request Information
URI Parameters
None.
Body Parameters
ClassNews| Name | Description | Type | Additional information |
|---|---|---|---|
| ClassNewsID | integer |
None. |
|
| Active | boolean |
None. |
|
| NewsText | string |
None. |
|
| pkCourseSectionID | integer |
None. |
|
| TheNewsDateAdded | date |
None. |
|
| TheNewsDateAddedStr | string |
None. |
|
| SelectedSectionArray | Collection of integer |
None. |
|
| CourseSectionID | string |
None. |
|
| FullName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClassNewsID": 1,
"Active": true,
"NewsText": "sample string 3",
"pkCourseSectionID": 4,
"TheNewsDateAdded": "2025-10-19T19:58:10.9940703+01:00",
"TheNewsDateAddedStr": "sample string 6",
"SelectedSectionArray": [
1,
2
],
"CourseSectionID": "sample string 7",
"FullName": "sample string 8"
}
application/xml, text/xml
Sample:
<ClassNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
<Active>true</Active>
<ClassNewsID>1</ClassNewsID>
<CourseSectionID>sample string 7</CourseSectionID>
<FullName>sample string 8</FullName>
<NewsText>sample string 3</NewsText>
<SelectedSectionArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SelectedSectionArray>
<TheNewsDateAdded>2025-10-19T19:58:10.9940703+01:00</TheNewsDateAdded>
<TheNewsDateAddedStr>sample string 6</TheNewsDateAddedStr>
<pkCourseSectionID>4</pkCourseSectionID>
</ClassNews>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>