GET classroomAPI/Content/getNewsItem?NID={NID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
NID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
NewsChannelItemName | Description | Type | Additional information |
---|---|---|---|
NIIDPK | globally unique identifier |
None. |
|
CreatedByFK | integer |
None. |
|
Title | string |
None. |
|
SubTitle | string |
None. |
|
ImageFK | globally unique identifier |
None. |
|
HeaderImageFK | globally unique identifier |
None. |
|
NewsType | integer |
None. |
|
ArticleText | string |
None. |
|
CreatedDate | date |
None. |
|
PublishDate | date |
None. |
|
ExpireDate | date |
None. |
|
ImageURL | string |
None. |
|
HeaderImageURL | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "NIIDPK": "fba6e68e-6eb7-4b61-a076-b017541fb76c", "CreatedByFK": 1, "Title": "sample string 1", "SubTitle": "sample string 2", "ImageFK": "39515f28-d27b-4a5e-a471-7f6a1073e13f", "HeaderImageFK": "f3330518-a6c3-4f8c-a264-60b34db8d9cb", "NewsType": 1, "ArticleText": "sample string 3", "CreatedDate": "2025-04-03T19:29:31.7431288-04:00", "PublishDate": "2025-04-03T19:29:31.7431288-04:00", "ExpireDate": "2025-04-03T19:29:31.7431288-04:00", "ImageURL": "sample string 4", "HeaderImageURL": "sample string 5" }
application/xml, text/xml
Sample:
<NewsChannelItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL"> <ArticleText>sample string 3</ArticleText> <CreatedByFK>1</CreatedByFK> <CreatedDate>2025-04-03T19:29:31.7431288-04:00</CreatedDate> <ExpireDate>2025-04-03T19:29:31.7431288-04:00</ExpireDate> <HeaderImageFK>f3330518-a6c3-4f8c-a264-60b34db8d9cb</HeaderImageFK> <HeaderImageURL>sample string 5</HeaderImageURL> <ImageFK>39515f28-d27b-4a5e-a471-7f6a1073e13f</ImageFK> <ImageURL>sample string 4</ImageURL> <NIIDPK>fba6e68e-6eb7-4b61-a076-b017541fb76c</NIIDPK> <NewsType>1</NewsType> <PublishDate>2025-04-03T19:29:31.7431288-04:00</PublishDate> <SubTitle>sample string 2</SubTitle> <Title>sample string 1</Title> </NewsChannelItem>