PUT api/News
Request Information
URI Parameters
None.
Body Parameters
NewsItemDTOName | Description | Type | Additional information |
---|---|---|---|
ThumbnailImageId | integer |
None. |
|
ContentItemId | integer |
None. |
|
Body | string |
None. |
|
DateCreatedUTC | string |
None. |
|
ContentDescription | string |
None. |
|
IsPublished | boolean |
None. |
|
LastModifiedUTC | string |
None. |
|
RemoteLink | string |
None. |
|
PublicationDateUTC | string |
None. |
|
Title | string |
None. |
|
NestRemoteContent | boolean |
None. |
|
VersionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ThumbnailImageId": 1, "ContentItemId": 1, "Body": "sample string 1", "DateCreatedUTC": "sample string 2", "ContentDescription": "sample string 3", "IsPublished": true, "LastModifiedUTC": "sample string 5", "RemoteLink": "sample string 6", "PublicationDateUTC": "sample string 7", "Title": "sample string 8", "NestRemoteContent": true, "VersionId": "sample string 10" }
application/xml, text/xml
Sample:
<NewsItemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO"> <Body>sample string 1</Body> <ContentDescription>sample string 3</ContentDescription> <ContentItemId>1</ContentItemId> <DateCreatedUTC>sample string 2</DateCreatedUTC> <IsPublished>true</IsPublished> <LastModifiedUTC>sample string 5</LastModifiedUTC> <NestRemoteContent>true</NestRemoteContent> <PublicationDateUTC>sample string 7</PublicationDateUTC> <RemoteLink>sample string 6</RemoteLink> <Title>sample string 8</Title> <VersionId>sample string 10</VersionId> <ThumbnailImageId>1</ThumbnailImageId> </NewsItemDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |