POST classroomAPI/PD/updateNewsItem
Request Information
URI Parameters
None.
Body Parameters
NewsItemName | 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. |
|
BoardID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "NIIDPK": "19733246-6951-43d3-8571-dbcf76a8900c", "CreatedByFK": 2, "Title": "sample string 3", "SubTitle": "sample string 4", "ImageFK": "03b92d96-222b-4821-815f-28dc8befbc98", "HeaderImageFK": "1e14be3c-f24e-451d-93be-bb59e9345b03", "NewsType": 5, "ArticleText": "sample string 6", "CreatedDate": "2024-11-25T04:34:51.4289165-05:00", "PublishDate": "2024-11-25T04:34:51.4289165-05:00", "ExpireDate": "2024-11-25T04:34:51.4289165-05:00", "ImageURL": "sample string 9", "HeaderImageURL": "sample string 10", "BoardID": "e6f1cb54-e446-44db-89eb-781d4a6077b8" }
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>e6f1cb54-e446-44db-89eb-781d4a6077b8</BoardID> <CreatedByFK>2</CreatedByFK> <CreatedDate>2024-11-25T04:34:51.4289165-05:00</CreatedDate> <ExpireDate>2024-11-25T04:34:51.4289165-05:00</ExpireDate> <HeaderImageFK>1e14be3c-f24e-451d-93be-bb59e9345b03</HeaderImageFK> <HeaderImageURL>sample string 10</HeaderImageURL> <ImageFK>03b92d96-222b-4821-815f-28dc8befbc98</ImageFK> <ImageURL>sample string 9</ImageURL> <NIIDPK>19733246-6951-43d3-8571-dbcf76a8900c</NIIDPK> <NewsType>5</NewsType> <PublishDate>2024-11-25T04:34:51.4289165-05: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
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>