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": "e37e702d-af89-4b5f-9f85-b08045e132ed", "CreatedByFK": 2, "Title": "sample string 3", "SubTitle": "sample string 4", "ImageFK": "842a77e7-175a-42ba-b291-bacb6590d0aa", "HeaderImageFK": "96a7044e-10b3-41fa-a664-4e4f1b9130f4", "NewsType": 5, "ArticleText": "sample string 6", "CreatedDate": "2025-04-03T19:30:42.5601735-04:00", "PublishDate": "2025-04-03T19:30:42.5601735-04:00", "ExpireDate": "2025-04-03T19:30:42.5601735-04:00", "ImageURL": "sample string 9", "HeaderImageURL": "sample string 10", "BoardID": "1683e2cd-068b-4ce6-ab5e-4f6dba6bcd19" }
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>1683e2cd-068b-4ce6-ab5e-4f6dba6bcd19</BoardID> <CreatedByFK>2</CreatedByFK> <CreatedDate>2025-04-03T19:30:42.5601735-04:00</CreatedDate> <ExpireDate>2025-04-03T19:30:42.5601735-04:00</ExpireDate> <HeaderImageFK>96a7044e-10b3-41fa-a664-4e4f1b9130f4</HeaderImageFK> <HeaderImageURL>sample string 10</HeaderImageURL> <ImageFK>842a77e7-175a-42ba-b291-bacb6590d0aa</ImageFK> <ImageURL>sample string 9</ImageURL> <NIIDPK>e37e702d-af89-4b5f-9f85-b08045e132ed</NIIDPK> <NewsType>5</NewsType> <PublishDate>2025-04-03T19:30:42.5601735-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>