Returns a set of data items of type newsitems.
GET /api/news/newsitems
None
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
[
{
"LastModified": "2024-04-29T15:19:08.7021149Z",
"PublicationDate": "2024-04-29T15:19:08.7021149Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7021149Z",
"IncludeInSitemap": true,
"UrlName": "sample string 7",
"ShowPhotoCaption": true,
"Category": "d9ef5293-05d2-4943-928d-e53f4d2b3221",
"HideImage": true,
"OpenGraphDescription": "sample string 11",
"OpenGraphTitle": "sample string 12",
"FeaturedNews": true,
"CircularYear": 14.0,
"CircularNumber": 15.0,
"Tags": "ba97a9ab-595b-4f18-8234-61379e2adb18",
"CallToActionText": "sample string 17",
"CallToActionUrl": "sample string 18",
"Summary": "sample string 19",
"Content": "sample string 20",
"Author": "sample string 21",
"SourceName": "sample string 22",
"SourceSite": "sample string 23",
"Provider": "sample string 24"
},
{
"LastModified": "2024-04-29T15:19:08.7021149Z",
"PublicationDate": "2024-04-29T15:19:08.7021149Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7021149Z",
"IncludeInSitemap": true,
"UrlName": "sample string 7",
"ShowPhotoCaption": true,
"Category": "d9ef5293-05d2-4943-928d-e53f4d2b3221",
"HideImage": true,
"OpenGraphDescription": "sample string 11",
"OpenGraphTitle": "sample string 12",
"FeaturedNews": true,
"CircularYear": 14.0,
"CircularNumber": 15.0,
"Tags": "ba97a9ab-595b-4f18-8234-61379e2adb18",
"CallToActionText": "sample string 17",
"CallToActionUrl": "sample string 18",
"Summary": "sample string 19",
"Content": "sample string 20",
"Author": "sample string 21",
"SourceName": "sample string 22",
"SourceSite": "sample string 23",
"Provider": "sample string 24"
}
]
Gets newsitems item by id.
GET /api/news/newsitems({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"LastModified": "2024-04-29T15:19:08.714814Z",
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.714814Z",
"IncludeInSitemap": true,
"UrlName": "sample string 7",
"ShowPhotoCaption": true,
"Category": "9b3eba3e-3e60-4a68-b44c-1b1573099705",
"HideImage": true,
"OpenGraphDescription": "sample string 11",
"OpenGraphTitle": "sample string 12",
"FeaturedNews": true,
"CircularYear": 14.0,
"CircularNumber": 15.0,
"Tags": "071c669c-1e10-4310-bbc3-da8b69c090c5",
"CallToActionText": "sample string 17",
"CallToActionUrl": "sample string 18",
"Summary": "sample string 19",
"Content": "sample string 20",
"Author": "sample string 21",
"SourceName": "sample string 22",
"SourceSite": "sample string 23",
"Provider": "sample string 24"
}
Gets Id property from newsitems item.
GET /api/news/newsitems({key})/property
Name | Description | Type | Additional Information |
key | System.Guid | Required | |
property | System.String | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
Id | System.Guid | Read only: False |
application/json
{
"Id": "06513ba8-2c7a-49f1-8ab2-0a0bdb61fe1f"
}
Creates a newsitems item.
POST /api/news/newsitems
None
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 2",
"Description": "sample string 3",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"ShowPhotoCaption": true,
"Category": "12b8549b-e961-4b2b-b2d3-45d1d0d6183b",
"HideImage": true,
"OpenGraphDescription": "sample string 9",
"OpenGraphTitle": "sample string 10",
"FeaturedNews": true,
"CircularYear": 12.0,
"CircularNumber": 13.0,
"Tags": "bd139286-eef8-4f07-85ba-b215d70559cb",
"CallToActionText": "sample string 15",
"CallToActionUrl": "sample string 16",
"Summary": "sample string 17",
"Content": "sample string 18",
"Author": "sample string 19",
"SourceName": "sample string 20",
"SourceSite": "sample string 21"
}
Method can return success code: Created - 201 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"LastModified": "2024-04-29T15:19:08.714814Z",
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.714814Z",
"IncludeInSitemap": true,
"UrlName": "sample string 7",
"ShowPhotoCaption": true,
"Category": "c2ce8187-674e-4cc5-a33b-305fb33b7186",
"HideImage": true,
"OpenGraphDescription": "sample string 11",
"OpenGraphTitle": "sample string 12",
"FeaturedNews": true,
"CircularYear": 14.0,
"CircularNumber": 15.0,
"Tags": "eca9bf50-c0df-4d63-84b0-d070dc8d1564",
"CallToActionText": "sample string 17",
"CallToActionUrl": "sample string 18",
"Summary": "sample string 19",
"Content": "sample string 20",
"Author": "sample string 21",
"SourceName": "sample string 22",
"SourceSite": "sample string 23",
"Provider": "sample string 24"
}
Partial update for newsitems item.
PATCH /api/news/newsitems({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 2",
"Description": "sample string 3",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"ShowPhotoCaption": true,
"Category": "ccfbe467-00e9-44e1-b52a-1064ec6a5c70",
"HideImage": true,
"OpenGraphDescription": "sample string 9",
"OpenGraphTitle": "sample string 10",
"FeaturedNews": true,
"CircularYear": 12.0,
"CircularNumber": 13.0,
"Tags": "e3608af1-37e3-4073-981f-4fe899948193",
"CallToActionText": "sample string 15",
"CallToActionUrl": "sample string 16",
"Summary": "sample string 17",
"Content": "sample string 18",
"Author": "sample string 19",
"SourceName": "sample string 20",
"SourceSite": "sample string 21"
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Full update for newsitems item.
PUT /api/news/newsitems({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
ShowPhotoCaption | System.Boolean | Read only: False | |
Category | System.Guid | Read only: False | |
HideImage | System.Boolean | Read only: False | |
OpenGraphDescription | System.String | Read only: False | |
OpenGraphTitle | System.String | Read only: False | |
FeaturedNews | System.Boolean | Read only: False | |
CircularYear | System.Decimal | Read only: False | |
CircularNumber | System.Decimal | Read only: False | |
Tags | System.Guid | Read only: False | |
CallToActionText | System.String | Read only: False | |
CallToActionUrl | System.String | Read only: False | |
Summary | System.String | Read only: False | |
Content | System.String | Read only: False | |
Author | System.String | Read only: False | |
SourceName | System.String | Read only: False | |
SourceSite | System.String | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 2",
"Description": "sample string 3",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"ShowPhotoCaption": true,
"Category": "4c49e6bc-5ab1-4f98-86ca-61b6e453b2fb",
"HideImage": true,
"OpenGraphDescription": "sample string 9",
"OpenGraphTitle": "sample string 10",
"FeaturedNews": true,
"CircularYear": 12.0,
"CircularNumber": 13.0,
"Tags": "3f34d84e-d821-4ea0-9c79-60ff3ff5ebba",
"CallToActionText": "sample string 15",
"CallToActionUrl": "sample string 16",
"Summary": "sample string 17",
"Content": "sample string 18",
"Author": "sample string 19",
"SourceName": "sample string 20",
"SourceSite": "sample string 21"
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Deletes a newsitems item by Id.
DELETE /api/news/newsitems({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Returns a set of related items of type RelatedDocuments from newsitems item.
GET /api/news/newsitems({key})/RelatedDocuments
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
Ordinal | System.Single | Read only: False | |
UrlName | System.String | Read only: False | |
Author | System.String | Read only: False | |
Extension | System.String | Read only: True | |
MimeType | System.String | Read only: True | |
TotalSize | System.Int64 | Read only: True | |
Tags | System.Guid | Read only: False | |
Category | System.Guid | Read only: False | |
Parts | System.String | Read only: False | |
FolderId | System.Guid | Read only: False | |
ParentId | System.Guid | Read only: False | |
Provider | System.String | Read only: True | |
Url | System.String | Read only: True | |
ThumbnailUrl | System.String | Read only: True | |
Thumbnails | Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel | Read only: True |
application/json
[
{
"LastModified": "2024-04-29T15:19:08.714814Z",
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.714814Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"Tags": "1ed5da05-cd3b-45b4-ab74-4c1724cc52ec",
"Category": "25db2be8-6c05-4793-8218-29c59d369219",
"Parts": "sample string 15",
"FolderId": "c66eaaca-f3c2-4230-a0ba-6278fc21d4d1",
"ParentId": "e4324035-da3b-41c2-bbc5-6208a472067f",
"Provider": "sample string 18",
"Url": "sample string 19",
"ThumbnailUrl": "sample string 20",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
},
{
"LastModified": "2024-04-29T15:19:08.714814Z",
"PublicationDate": "2024-04-29T15:19:08.714814Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.714814Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"Tags": "1ed5da05-cd3b-45b4-ab74-4c1724cc52ec",
"Category": "25db2be8-6c05-4793-8218-29c59d369219",
"Parts": "sample string 15",
"FolderId": "c66eaaca-f3c2-4230-a0ba-6278fc21d4d1",
"ParentId": "e4324035-da3b-41c2-bbc5-6208a472067f",
"Provider": "sample string 18",
"Url": "sample string 19",
"ThumbnailUrl": "sample string 20",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
}
]
Add RelatedDocuments relation to newsitems item.
POST /api/news/newsitems({key})/RelatedDocuments/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
application/json
{
"@odata.id": "http://host/route/service/type(key)"
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Delete set of related items of type RelatedDocuments from newsitems item.
DELETE /api/news/newsitems({key})/RelatedDocuments/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Returns a set of related items of type NewsImage from newsitems item.
GET /api/news/newsitems({key})/NewsImage
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
Ordinal | System.Single | Read only: False | |
UrlName | System.String | Read only: False | |
Author | System.String | Read only: False | |
Extension | System.String | Read only: True | |
MimeType | System.String | Read only: True | |
TotalSize | System.Int64 | Read only: True | |
LongTextCaption | System.String | Read only: False | |
Category | System.Guid | Read only: False | |
Tags | System.Guid | Read only: False | |
Width | System.Int32 | Read only: True | |
Height | System.Int32 | Read only: True | |
AlternativeText | System.String | Read only: False | |
FolderId | System.Guid | Read only: False | |
ParentId | System.Guid | Read only: False | |
Provider | System.String | Read only: True | |
Url | System.String | Read only: True | |
ThumbnailUrl | System.String | Read only: True | |
Thumbnails | Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel | Read only: True |
application/json
[
{
"LastModified": "2024-04-29T15:19:08.7304726Z",
"PublicationDate": "2024-04-29T15:19:08.7304726Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7304726Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"LongTextCaption": "sample string 13",
"Category": "25446ada-540e-4fa8-8e4f-a278614d5826",
"Tags": "b75ac7ba-1be2-4d18-a600-9393a0b7becc",
"Width": 16,
"Height": 17,
"AlternativeText": "sample string 18",
"FolderId": "104e32fa-e7d9-4b50-9ec7-078586439bce",
"ParentId": "8b434e8d-0b7a-4d3b-8781-e22f0f904151",
"Provider": "sample string 21",
"Url": "sample string 22",
"ThumbnailUrl": "sample string 23",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
},
{
"LastModified": "2024-04-29T15:19:08.7304726Z",
"PublicationDate": "2024-04-29T15:19:08.7304726Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7304726Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"LongTextCaption": "sample string 13",
"Category": "25446ada-540e-4fa8-8e4f-a278614d5826",
"Tags": "b75ac7ba-1be2-4d18-a600-9393a0b7becc",
"Width": 16,
"Height": 17,
"AlternativeText": "sample string 18",
"FolderId": "104e32fa-e7d9-4b50-9ec7-078586439bce",
"ParentId": "8b434e8d-0b7a-4d3b-8781-e22f0f904151",
"Provider": "sample string 21",
"Url": "sample string 22",
"ThumbnailUrl": "sample string 23",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
}
]
Add NewsImage relation to newsitems item.
POST /api/news/newsitems({key})/NewsImage/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
application/json
{
"@odata.id": "http://host/route/service/type(key)"
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Delete set of related items of type NewsImage from newsitems item.
DELETE /api/news/newsitems({key})/NewsImage/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Returns a set of related items of type OpenGraphImage from newsitems item.
GET /api/news/newsitems({key})/OpenGraphImage
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
Title | System.String | Read only: False | |
Description | System.String | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
Ordinal | System.Single | Read only: False | |
UrlName | System.String | Read only: False | |
Author | System.String | Read only: False | |
Extension | System.String | Read only: True | |
MimeType | System.String | Read only: True | |
TotalSize | System.Int64 | Read only: True | |
LongTextCaption | System.String | Read only: False | |
Category | System.Guid | Read only: False | |
Tags | System.Guid | Read only: False | |
Width | System.Int32 | Read only: True | |
Height | System.Int32 | Read only: True | |
AlternativeText | System.String | Read only: False | |
FolderId | System.Guid | Read only: False | |
ParentId | System.Guid | Read only: False | |
Provider | System.String | Read only: True | |
Url | System.String | Read only: True | |
ThumbnailUrl | System.String | Read only: True | |
Thumbnails | Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel | Read only: True |
application/json
[
{
"LastModified": "2024-04-29T15:19:08.7304726Z",
"PublicationDate": "2024-04-29T15:19:08.7304726Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7304726Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"LongTextCaption": "sample string 13",
"Category": "78071500-d8d1-4ad4-846f-f90f6280ff9f",
"Tags": "83a3963c-c83f-4879-8fec-6e0e7c2b9bc2",
"Width": 16,
"Height": 17,
"AlternativeText": "sample string 18",
"FolderId": "4fedb593-857f-47a8-9b56-f7c26f8a71fc",
"ParentId": "1d33449d-21d0-4c64-ad72-a99cb77a3f50",
"Provider": "sample string 21",
"Url": "sample string 22",
"ThumbnailUrl": "sample string 23",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
},
{
"LastModified": "2024-04-29T15:19:08.7304726Z",
"PublicationDate": "2024-04-29T15:19:08.7304726Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2024-04-29T15:19:08.7304726Z",
"IncludeInSitemap": true,
"Ordinal": 7.1,
"UrlName": "sample string 8",
"Author": "sample string 9",
"Extension": "sample string 10",
"MimeType": "sample string 11",
"TotalSize": 12,
"LongTextCaption": "sample string 13",
"Category": "78071500-d8d1-4ad4-846f-f90f6280ff9f",
"Tags": "83a3963c-c83f-4879-8fec-6e0e7c2b9bc2",
"Width": 16,
"Height": 17,
"AlternativeText": "sample string 18",
"FolderId": "4fedb593-857f-47a8-9b56-f7c26f8a71fc",
"ParentId": "1d33449d-21d0-4c64-ad72-a99cb77a3f50",
"Provider": "sample string 21",
"Url": "sample string 22",
"ThumbnailUrl": "sample string 23",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3
}
}
]
Add OpenGraphImage relation to newsitems item.
POST /api/news/newsitems({key})/OpenGraphImage/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
application/json
{
"@odata.id": "http://host/route/service/type(key)"
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Delete set of related items of type OpenGraphImage from newsitems item.
DELETE /api/news/newsitems({key})/OpenGraphImage/$ref
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.