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": "95ac80ec-134f-4ffa-97da-e55d0dd4b5a7", "CreatedByFK": 1, "Title": "sample string 1", "SubTitle": "sample string 2", "ImageFK": "7d57e641-f365-46a3-adb5-be4aa6f7fe5c", "HeaderImageFK": "bf1fd8d3-d61a-46e3-9f82-52e3d9b4a864", "NewsType": 1, "ArticleText": "sample string 3", "CreatedDate": "2025-04-03T18:11:02.915855-04:00", "PublishDate": "2025-04-03T18:11:02.915855-04:00", "ExpireDate": "2025-04-03T18:11:02.915855-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-03T18:11:02.915855-04:00</CreatedDate> <ExpireDate>2025-04-03T18:11:02.915855-04:00</ExpireDate> <HeaderImageFK>bf1fd8d3-d61a-46e3-9f82-52e3d9b4a864</HeaderImageFK> <HeaderImageURL>sample string 5</HeaderImageURL> <ImageFK>7d57e641-f365-46a3-adb5-be4aa6f7fe5c</ImageFK> <ImageURL>sample string 4</ImageURL> <NIIDPK>95ac80ec-134f-4ffa-97da-e55d0dd4b5a7</NIIDPK> <NewsType>1</NewsType> <PublishDate>2025-04-03T18:11:02.915855-04:00</PublishDate> <SubTitle>sample string 2</SubTitle> <Title>sample string 1</Title> </NewsChannelItem>