GET classroomAPI/Content/getNewsItem?NID={NID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
NID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

NewsChannelItem
NameDescriptionTypeAdditional 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": "d23f00bd-c99f-413d-98e0-ef2ef5aceea6",
  "CreatedByFK": 1,
  "Title": "sample string 1",
  "SubTitle": "sample string 2",
  "ImageFK": "888cff9e-c4b1-4597-9a24-df4560910adf",
  "HeaderImageFK": "1ef93c58-2107-4815-8816-f0f1823e7e76",
  "NewsType": 1,
  "ArticleText": "sample string 3",
  "CreatedDate": "2024-11-25T04:29:53.5357278-05:00",
  "PublishDate": "2024-11-25T04:29:53.5357278-05:00",
  "ExpireDate": "2024-11-25T04:29:53.5357278-05: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>2024-11-25T04:29:53.5357278-05:00</CreatedDate>
  <ExpireDate>2024-11-25T04:29:53.5357278-05:00</ExpireDate>
  <HeaderImageFK>1ef93c58-2107-4815-8816-f0f1823e7e76</HeaderImageFK>
  <HeaderImageURL>sample string 5</HeaderImageURL>
  <ImageFK>888cff9e-c4b1-4597-9a24-df4560910adf</ImageFK>
  <ImageURL>sample string 4</ImageURL>
  <NIIDPK>d23f00bd-c99f-413d-98e0-ef2ef5aceea6</NIIDPK>
  <NewsType>1</NewsType>
  <PublishDate>2024-11-25T04:29:53.5357278-05:00</PublishDate>
  <SubTitle>sample string 2</SubTitle>
  <Title>sample string 1</Title>
</NewsChannelItem>