RESTful API
news

Departments

Get departments

Returns a set of data items of type departments.

Copy GET /api/news/departments
Request Informaion

URI Parameters

None

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

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
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2025-10-06T10:06:50.2272376Z",
    "PublicationDate": "2025-10-06T10:06:50.2272376Z",
    "DateCreated": "2025-10-06T10:06:50.2272376Z",
    "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-06T10:06:50.2272376+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  },
  {
    "LastModified": "2025-10-06T10:06:50.2272376Z",
    "PublicationDate": "2025-10-06T10:06:50.2272376Z",
    "DateCreated": "2025-10-06T10:06:50.2272376Z",
    "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-06T10:06:50.2272376+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  }
]

Get departments by key

Gets departments item by id.

Copy GET /api/news/departments({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

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
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2025-10-06T10:06:50.2272376Z",
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "DateCreated": "2025-10-06T10:06:50.2272376Z",
  "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-06T10:06:50.2272376+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Get property

Gets Id property from departments item.

Copy GET /api/news/departments({key})/property
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

property

System.String

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

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

Resource Format

Response Formats
Copy
application/json
{
  "Id": "abb970eb-0e76-44ed-8a85-8ca5129c71ff"
}

Post departments

Creates a departments item.

Copy POST /api/news/departments
Request Informaion

URI Parameters

None

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "Title": "sample string 5",
  "ExternalPage": "sample string 6"
}
Response Informaion

Resource Description

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
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2025-10-06T10:06:50.2272376Z",
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "DateCreated": "2025-10-06T10:06:50.2272376Z",
  "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-06T10:06:50.2272376+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Patch departments by key

Partial update for departments item.

Copy PATCH /api/news/departments({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "Title": "sample string 5",
  "ExternalPage": "sample string 6"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Put departments by key

Full update for departments item.

Copy PUT /api/news/departments({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

Name Description Type Additional Information
LastModified

System.DateTimeOffset

Read only: True
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

Title

System.String

Read only: False
Selected by default: True

ExternalPage

System.String

Read only: False
Selected by default: True

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "Title": "sample string 5",
  "ExternalPage": "sample string 6"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete departments by key

Deletes a departments item by Id.

Copy DELETE /api/news/departments({key})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Get Activity

Returns a set of related items of type Activity from departments item.

Copy GET /api/news/departments({key})/Activity
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

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
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

healthtopics

System.Guid

Read only: False
Selected by default: False

MetaTitle

System.String

Read only: False
Selected by default: True

Summary

System.String

Read only: False
Selected by default: True

OpenGraphTitle

System.String

Read only: False
Selected by default: True

ImpactStatistics

System.String

Read only: False
Selected by default: True

OpenGraphDescription

System.String

Read only: False
Selected by default: True

PublicationDateAndTime

System.DateTimeOffset

Read only: False
Selected by default: True

MetaDescription

System.String

Read only: False
Selected by default: True

targetaudiences

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

targets

System.Guid

Read only: False
Selected by default: False

departmentaltargets

System.Guid

Read only: False
Selected by default: False

regionscountries

System.Guid

Read only: False
Selected by default: False

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2025-10-06T10:06:50.2272376Z",
    "PublicationDate": "2025-10-06T10:06:50.2272376Z",
    "DateCreated": "2025-10-06T10:06:50.2272376Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "10d4a9bd-59eb-46f4-8fa3-4ff24e538f6b",
    "MetaTitle": "sample string 9",
    "Summary": "sample string 10",
    "OpenGraphTitle": "sample string 11",
    "ImpactStatistics": "sample string 12",
    "OpenGraphDescription": "sample string 13",
    "PublicationDateAndTime": "2025-10-06T10:06:50.2272376Z",
    "MetaDescription": "sample string 15",
    "targetaudiences": "eeeb49ec-65dc-4550-90d4-2cb70e229dcd",
    "Title": "sample string 17",
    "publishingoffices": "2c42add0-1c1e-4455-b553-01ae6d72e454",
    "targets": "f7ecfb32-5fe2-4ff4-b080-07e0c753ec46",
    "departmentaltargets": "7eb09fed-be27-46f5-a8ac-3ce2d67a2446",
    "regionscountries": "4f0d5529-29ba-41cd-9b6b-0962af1b86da",
    "Provider": "sample string 22",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-10-06T10:06:50.2272376+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  },
  {
    "LastModified": "2025-10-06T10:06:50.2272376Z",
    "PublicationDate": "2025-10-06T10:06:50.2272376Z",
    "DateCreated": "2025-10-06T10:06:50.2272376Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "10d4a9bd-59eb-46f4-8fa3-4ff24e538f6b",
    "MetaTitle": "sample string 9",
    "Summary": "sample string 10",
    "OpenGraphTitle": "sample string 11",
    "ImpactStatistics": "sample string 12",
    "OpenGraphDescription": "sample string 13",
    "PublicationDateAndTime": "2025-10-06T10:06:50.2272376Z",
    "MetaDescription": "sample string 15",
    "targetaudiences": "eeeb49ec-65dc-4550-90d4-2cb70e229dcd",
    "Title": "sample string 17",
    "publishingoffices": "2c42add0-1c1e-4455-b553-01ae6d72e454",
    "targets": "f7ecfb32-5fe2-4ff4-b080-07e0c753ec46",
    "departmentaltargets": "7eb09fed-be27-46f5-a8ac-3ce2d67a2446",
    "regionscountries": "4f0d5529-29ba-41cd-9b6b-0962af1b86da",
    "Provider": "sample string 22",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-10-06T10:06:50.2272376+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  }
]

Get Activity by relatedKey

Returns a related item of type Activity from departments item.

Copy GET /api/news/departments({key})/Activity({relatedKey})
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

relatedKey

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

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
Selected by default: True

PublicationDate

System.DateTimeOffset

Read only: False
Selected by default: True

DateCreated

System.DateTimeOffset

Read only: True
Selected by default: True

IncludeInSitemap

System.Boolean

Read only: False
Selected by default: True

SystemSourceKey

System.String

Read only: False
Selected by default: True

UrlName

System.String

Read only: False
Selected by default: True

ItemDefaultUrl

System.String

Read only: True
Selected by default: True

healthtopics

System.Guid

Read only: False
Selected by default: False

MetaTitle

System.String

Read only: False
Selected by default: True

Summary

System.String

Read only: False
Selected by default: True

OpenGraphTitle

System.String

Read only: False
Selected by default: True

ImpactStatistics

System.String

Read only: False
Selected by default: True

OpenGraphDescription

System.String

Read only: False
Selected by default: True

PublicationDateAndTime

System.DateTimeOffset

Read only: False
Selected by default: True

MetaDescription

System.String

Read only: False
Selected by default: True

targetaudiences

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

targets

System.Guid

Read only: False
Selected by default: False

departmentaltargets

System.Guid

Read only: False
Selected by default: False

regionscountries

System.Guid

Read only: False
Selected by default: False

Provider

System.String

Read only: True
Selected by default: True

Comments

Telerik.Sitefinity.Services.Comments.CommentContract

Read only: True
Selected by default: False

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2025-10-06T10:06:50.2272376Z",
  "PublicationDate": "2025-10-06T10:06:50.2272376Z",
  "DateCreated": "2025-10-06T10:06:50.2272376Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "healthtopics": "413513ee-572f-4419-a6ec-a6ad9b512832",
  "MetaTitle": "sample string 9",
  "Summary": "sample string 10",
  "OpenGraphTitle": "sample string 11",
  "ImpactStatistics": "sample string 12",
  "OpenGraphDescription": "sample string 13",
  "PublicationDateAndTime": "2025-10-06T10:06:50.2272376Z",
  "MetaDescription": "sample string 15",
  "targetaudiences": "9843589d-8ae1-44f4-8a09-a36d4b648811",
  "Title": "sample string 17",
  "publishingoffices": "25ef01eb-0d2c-4dac-ab21-fb1899cf8e94",
  "targets": "af0774a4-0654-4746-86a4-0236ec575ecc",
  "departmentaltargets": "d1d61720-1afd-42fb-be2e-bdc8ba75c012",
  "regionscountries": "f1310140-6dc2-4af7-bb80-6666931542d4",
  "Provider": "sample string 22",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-10-06T10:06:50.2272376+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Post Activity

Add Activity relation to departments item.

Copy POST /api/news/departments({key})/Activity/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats
Copy
application/json
{
  "@odata.id": "http://host/route/service/type(key)"
}
Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete Activity

Delete set of related items of type Activity from departments item.

Copy DELETE /api/news/departments({key})/Activity/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.

Delete Activity by relatedKey

Delete relation of type Activity from departments item.

Copy DELETE /api/news/departments({key})/Activity({relatedKey})/$ref
Request Informaion

URI Parameters

Name Description Type Additional Information
key

System.Guid

Required

relatedKey

System.Guid

Required

Body Parameters

None

Request Formats

None.

Response Informaion

Resource Description

Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.

Resource Format

Response Formats

None.