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-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2025-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757+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-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757+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": "f7aee5bc-60bf-492d-9457-31b3eb06a764"
}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-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757+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-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757Z",
"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-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "295c010f-de6a-4d9f-890a-94bca29ccd78",
"MetaTitle": "sample string 9",
"Summary": "sample string 10",
"OpenGraphTitle": "sample string 11",
"ImpactStatistics": "sample string 12",
"OpenGraphDescription": "sample string 13",
"PublicationDateAndTime": "2025-10-25T22:33:53.1898757Z",
"MetaDescription": "sample string 15",
"targetaudiences": "e19b655f-4e82-4fc2-865f-bc302e7b5dfe",
"Title": "sample string 17",
"publishingoffices": "496312ee-2169-478d-bff8-3feef656e11e",
"targets": "60773c33-9b37-4532-be69-54d2303c8076",
"departmentaltargets": "458556ed-5cb2-41cb-85e6-3ed4f0e257ba",
"regionscountries": "b06d033b-8996-477e-944e-015a6036c282",
"Provider": "sample string 22",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-10-25T22:33:53.1898757+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2025-10-25T22:33:53.1898757Z",
"PublicationDate": "2025-10-25T22:33:53.1898757Z",
"DateCreated": "2025-10-25T22:33:53.1898757Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "295c010f-de6a-4d9f-890a-94bca29ccd78",
"MetaTitle": "sample string 9",
"Summary": "sample string 10",
"OpenGraphTitle": "sample string 11",
"ImpactStatistics": "sample string 12",
"OpenGraphDescription": "sample string 13",
"PublicationDateAndTime": "2025-10-25T22:33:53.1898757Z",
"MetaDescription": "sample string 15",
"targetaudiences": "e19b655f-4e82-4fc2-865f-bc302e7b5dfe",
"Title": "sample string 17",
"publishingoffices": "496312ee-2169-478d-bff8-3feef656e11e",
"targets": "60773c33-9b37-4532-be69-54d2303c8076",
"departmentaltargets": "458556ed-5cb2-41cb-85e6-3ed4f0e257ba",
"regionscountries": "b06d033b-8996-477e-944e-015a6036c282",
"Provider": "sample string 22",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2025-10-25T22:33:53.1898757+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.