Returns a set of data items of type departments.
GET /api/news/departments
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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
[
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"Title": "sample string 8",
"ExternalPage": "sample string 9",
"Provider": "sample string 10",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"Title": "sample string 8",
"ExternalPage": "sample string 9",
"Provider": "sample string 10",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}
]Gets departments item by id.
GET /api/news/departments({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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"Title": "sample string 8",
"ExternalPage": "sample string 9",
"Provider": "sample string 10",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Gets Id property from departments item.
GET /api/news/departments({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": "a7f77cb3-36bd-423a-9afa-e73101e299a6"
}Creates a departments item.
POST /api/news/departments
None
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"Title": "sample string 5",
"ExternalPage": "sample string 6"
}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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"Title": "sample string 8",
"ExternalPage": "sample string 9",
"Provider": "sample string 10",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Partial update for departments item.
PATCH /api/news/departments({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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"Title": "sample string 5",
"ExternalPage": "sample string 6"
}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 departments item.
PUT /api/news/departments({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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Title | System.String | Read only: False | |
| ExternalPage | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"Title": "sample string 5",
"ExternalPage": "sample string 6"
}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 departments item by Id.
DELETE /api/news/departments({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 Activity from departments item.
GET /api/news/departments({key})/Activity
| 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 | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| MetaTitle | System.String | Read only: False | |
| Summary | System.String | Read only: False | |
| OpenGraphTitle | System.String | Read only: False | |
| ImpactStatistics | System.String | Read only: False | |
| OpenGraphDescription | System.String | Read only: False | |
| PublicationDateAndTime | System.DateTimeOffset | Read only: False | |
| MetaDescription | System.String | Read only: False | |
| targetaudiences | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| targets | System.Guid | Read only: False | |
| departmentaltargets | System.Guid | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
[
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "7ff06298-6309-4c6e-8a1d-8d0b393aa3b5",
"MetaTitle": "sample string 9",
"Summary": "sample string 10",
"OpenGraphTitle": "sample string 11",
"ImpactStatistics": "sample string 12",
"OpenGraphDescription": "sample string 13",
"PublicationDateAndTime": "2025-12-10T02:41:17.9647348Z",
"MetaDescription": "sample string 15",
"targetaudiences": "b0cf0378-2173-4c5c-a1df-bae1b203a4ad",
"Title": "sample string 17",
"publishingoffices": "7c41441a-7718-4360-8860-cce7c918ffd4",
"targets": "19adf250-6cea-4be2-b65f-775b1b79e5aa",
"departmentaltargets": "a0403d3d-f92b-4d46-bb3a-eea61d95a492",
"regionscountries": "9d74da5d-61f9-43ca-9595-fb8ef6c7e7ae",
"Provider": "sample string 22",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2025-12-10T02:41:17.9647348Z",
"PublicationDate": "2025-12-10T02:41:17.9647348Z",
"DateCreated": "2025-12-10T02:41:17.9647348Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "7ff06298-6309-4c6e-8a1d-8d0b393aa3b5",
"MetaTitle": "sample string 9",
"Summary": "sample string 10",
"OpenGraphTitle": "sample string 11",
"ImpactStatistics": "sample string 12",
"OpenGraphDescription": "sample string 13",
"PublicationDateAndTime": "2025-12-10T02:41:17.9647348Z",
"MetaDescription": "sample string 15",
"targetaudiences": "b0cf0378-2173-4c5c-a1df-bae1b203a4ad",
"Title": "sample string 17",
"publishingoffices": "7c41441a-7718-4360-8860-cce7c918ffd4",
"targets": "19adf250-6cea-4be2-b65f-775b1b79e5aa",
"departmentaltargets": "a0403d3d-f92b-4d46-bb3a-eea61d95a492",
"regionscountries": "9d74da5d-61f9-43ca-9595-fb8ef6c7e7ae",
"Provider": "sample string 22",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-12-10T02:41:17.9647348+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}
]Add Activity relation to departments item.
POST /api/news/departments({key})/Activity/$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 Activity from departments item.
DELETE /api/news/departments({key})/Activity/$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.