GET ClassNewsAPI/GetClassNewsByPkCourseSectionID?pkcoursesectionid={pkcoursesectionid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pkcoursesectionid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ClassNews
NameDescriptionTypeAdditional 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClassNewsID": 1,
    "Active": true,
    "NewsText": "sample string 3",
    "pkCourseSectionID": 4,
    "TheNewsDateAdded": "2024-04-18T12:42:12.4357339+01:00",
    "TheNewsDateAddedStr": "sample string 6",
    "SelectedSectionArray": [
      1,
      2
    ],
    "CourseSectionID": "sample string 7",
    "FullName": "sample string 8"
  },
  {
    "ClassNewsID": 1,
    "Active": true,
    "NewsText": "sample string 3",
    "pkCourseSectionID": 4,
    "TheNewsDateAdded": "2024-04-18T12:42:12.4357339+01:00",
    "TheNewsDateAddedStr": "sample string 6",
    "SelectedSectionArray": [
      1,
      2
    ],
    "CourseSectionID": "sample string 7",
    "FullName": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfClassNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <ClassNews>
    <Active>true</Active>
    <ClassNewsID>1</ClassNewsID>
    <CourseSectionID>sample string 7</CourseSectionID>
    <FullName>sample string 8</FullName>
    <NewsText>sample string 3</NewsText>
    <SelectedSectionArray xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </SelectedSectionArray>
    <TheNewsDateAdded>2024-04-18T12:42:12.4357339+01:00</TheNewsDateAdded>
    <TheNewsDateAddedStr>sample string 6</TheNewsDateAddedStr>
    <pkCourseSectionID>4</pkCourseSectionID>
  </ClassNews>
  <ClassNews>
    <Active>true</Active>
    <ClassNewsID>1</ClassNewsID>
    <CourseSectionID>sample string 7</CourseSectionID>
    <FullName>sample string 8</FullName>
    <NewsText>sample string 3</NewsText>
    <SelectedSectionArray xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </SelectedSectionArray>
    <TheNewsDateAdded>2024-04-18T12:42:12.4357339+01:00</TheNewsDateAdded>
    <TheNewsDateAddedStr>sample string 6</TheNewsDateAddedStr>
    <pkCourseSectionID>4</pkCourseSectionID>
  </ClassNews>
</ArrayOfClassNews>