POST classroomAPI/PD/updateNewsItem

Request Information

URI Parameters

None.

Body Parameters

NewsItem
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.

BoardID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "NIIDPK": "b353346e-61a0-4a95-99cd-5f16fbc00807",
  "CreatedByFK": 2,
  "Title": "sample string 3",
  "SubTitle": "sample string 4",
  "ImageFK": "66af2e7d-09b8-4f29-bb94-eb287ef36fb2",
  "HeaderImageFK": "2a1a9ade-d104-4dfc-9085-2bbdb3783c8f",
  "NewsType": 5,
  "ArticleText": "sample string 6",
  "CreatedDate": "2024-06-28T00:22:14.7703736+00:00",
  "PublishDate": "2024-06-28T00:22:14.7703736+00:00",
  "ExpireDate": "2024-06-28T00:22:14.7703736+00:00",
  "ImageURL": "sample string 9",
  "HeaderImageURL": "sample string 10",
  "BoardID": "4b87baa0-e622-4482-9e6d-f90844c0c71e"
}

application/xml, text/xml

Sample:
<NewsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL.Coaching">
  <ArticleText>sample string 6</ArticleText>
  <BoardID>4b87baa0-e622-4482-9e6d-f90844c0c71e</BoardID>
  <CreatedByFK>2</CreatedByFK>
  <CreatedDate>2024-06-28T00:22:14.7703736+00:00</CreatedDate>
  <ExpireDate>2024-06-28T00:22:14.7703736+00:00</ExpireDate>
  <HeaderImageFK>2a1a9ade-d104-4dfc-9085-2bbdb3783c8f</HeaderImageFK>
  <HeaderImageURL>sample string 10</HeaderImageURL>
  <ImageFK>66af2e7d-09b8-4f29-bb94-eb287ef36fb2</ImageFK>
  <ImageURL>sample string 9</ImageURL>
  <NIIDPK>b353346e-61a0-4a95-99cd-5f16fbc00807</NIIDPK>
  <NewsType>5</NewsType>
  <PublishDate>2024-06-28T00:22:14.7703736+00:00</PublishDate>
  <SubTitle>sample string 4</SubTitle>
  <Title>sample string 3</Title>
</NewsItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>