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": "66fcf3ae-29b5-492e-978c-29c665774bb0", "CreatedByFK": 2, "Title": "sample string 3", "SubTitle": "sample string 4", "ImageFK": "fd8251c0-62f6-440a-9a09-9530394aa385", "HeaderImageFK": "1529a842-03d2-482c-a23d-ea930c48cb2d", "NewsType": 5, "ArticleText": "sample string 6", "CreatedDate": "2025-04-06T12:11:13.2162478-04:00", "PublishDate": "2025-04-06T12:11:13.2162478-04:00", "ExpireDate": "2025-04-06T12:11:13.2162478-04:00", "ImageURL": "sample string 9", "HeaderImageURL": "sample string 10", "BoardID": "d4cec9d6-91fe-4a71-8f5c-c5ad48fcd91a" }
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>d4cec9d6-91fe-4a71-8f5c-c5ad48fcd91a</BoardID> <CreatedByFK>2</CreatedByFK> <CreatedDate>2025-04-06T12:11:13.2162478-04:00</CreatedDate> <ExpireDate>2025-04-06T12:11:13.2162478-04:00</ExpireDate> <HeaderImageFK>1529a842-03d2-482c-a23d-ea930c48cb2d</HeaderImageFK> <HeaderImageURL>sample string 10</HeaderImageURL> <ImageFK>fd8251c0-62f6-440a-9a09-9530394aa385</ImageFK> <ImageURL>sample string 9</ImageURL> <NIIDPK>66fcf3ae-29b5-492e-978c-29c665774bb0</NIIDPK> <NewsType>5</NewsType> <PublishDate>2025-04-06T12:11:13.2162478-04: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>