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": "20e71fcb-5b18-416f-b62f-b09e7215047a",
  "CreatedByFK": 1,
  "Title": "sample string 1",
  "SubTitle": "sample string 2",
  "ImageFK": "2c10a52d-bf1a-4ded-ba92-3d78d36ae10d",
  "HeaderImageFK": "3d933a0e-e4c8-44cc-b419-5c189e30c377",
  "NewsType": 1,
  "ArticleText": "sample string 3",
  "CreatedDate": "2024-06-27T18:23:14.4293576+00:00",
  "PublishDate": "2024-06-27T18:23:14.4293576+00:00",
  "ExpireDate": "2024-06-27T18:23:14.4293576+00: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-06-27T18:23:14.4293576+00:00</CreatedDate>
  <ExpireDate>2024-06-27T18:23:14.4293576+00:00</ExpireDate>
  <HeaderImageFK>3d933a0e-e4c8-44cc-b419-5c189e30c377</HeaderImageFK>
  <HeaderImageURL>sample string 5</HeaderImageURL>
  <ImageFK>2c10a52d-bf1a-4ded-ba92-3d78d36ae10d</ImageFK>
  <ImageURL>sample string 4</ImageURL>
  <NIIDPK>20e71fcb-5b18-416f-b62f-b09e7215047a</NIIDPK>
  <NewsType>1</NewsType>
  <PublishDate>2024-06-27T18:23:14.4293576+00:00</PublishDate>
  <SubTitle>sample string 2</SubTitle>
  <Title>sample string 1</Title>
</NewsChannelItem>