RESTful API
news

Departmental technical units

Get departmentaltechnicalunits

Returns a set of data items of type departmentaltechnicalunits.

Copy GET /api/news/departmentaltechnicalunits
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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "ExternalPage": "sample string 8",
    "Title": "sample string 9",
    "Provider": "sample string 10",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  },
  {
    "LastModified": "2025-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "ExternalPage": "sample string 8",
    "Title": "sample string 9",
    "Provider": "sample string 10",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  }
]

Get departmentaltechnicalunits by key

Gets departmentaltechnicalunits item by id.

Copy GET /api/news/departmentaltechnicalunits({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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
  "PublicationDate": "2025-09-12T03:20:01.7535789Z",
  "DateCreated": "2025-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "ExternalPage": "sample string 8",
  "Title": "sample string 9",
  "Provider": "sample string 10",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Get property

Gets Id property from departmentaltechnicalunits item.

Copy GET /api/news/departmentaltechnicalunits({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": "a7338279-8fb0-44d9-aebe-b3232247811e"
}

Post departmentaltechnicalunits

Creates a departmentaltechnicalunits item.

Copy POST /api/news/departmentaltechnicalunits
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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "ExternalPage": "sample string 5",
  "Title": "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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
  "PublicationDate": "2025-09-12T03:20:01.7535789Z",
  "DateCreated": "2025-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "ExternalPage": "sample string 8",
  "Title": "sample string 9",
  "Provider": "sample string 10",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Patch departmentaltechnicalunits by key

Partial update for departmentaltechnicalunits item.

Copy PATCH /api/news/departmentaltechnicalunits({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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "ExternalPage": "sample string 5",
  "Title": "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 departmentaltechnicalunits by key

Full update for departmentaltechnicalunits item.

Copy PUT /api/news/departmentaltechnicalunits({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

ExternalPage

System.String

Read only: False
Selected by default: True

Title

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-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "ExternalPage": "sample string 5",
  "Title": "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 departmentaltechnicalunits by key

Deletes a departmentaltechnicalunits item by Id.

Copy DELETE /api/news/departmentaltechnicalunits({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 RelatedActivity

Returns a set of related items of type RelatedActivity from departmentaltechnicalunits item.

Copy GET /api/news/departmentaltechnicalunits({key})/RelatedActivity
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-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "23343041-96ad-48ac-99ad-6ab04481022b",
    "MetaTitle": "sample string 9",
    "Summary": "sample string 10",
    "OpenGraphTitle": "sample string 11",
    "ImpactStatistics": "sample string 12",
    "OpenGraphDescription": "sample string 13",
    "PublicationDateAndTime": "2025-09-12T03:20:01.7535789Z",
    "MetaDescription": "sample string 15",
    "targetaudiences": "ead62667-6fc1-4411-8691-292d61cda861",
    "Title": "sample string 17",
    "publishingoffices": "4556bffc-36f5-45f1-9b6e-af75364a4e8b",
    "targets": "1dbecaf3-2d02-4e1f-92bb-4e72ed62024e",
    "departmentaltargets": "aa5c6a39-2f0e-4c34-9607-cc191adb1d34",
    "regionscountries": "c67de3d5-f9d4-4e29-9a4f-ce4a2b810649",
    "Provider": "sample string 22",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  },
  {
    "LastModified": "2025-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "23343041-96ad-48ac-99ad-6ab04481022b",
    "MetaTitle": "sample string 9",
    "Summary": "sample string 10",
    "OpenGraphTitle": "sample string 11",
    "ImpactStatistics": "sample string 12",
    "OpenGraphDescription": "sample string 13",
    "PublicationDateAndTime": "2025-09-12T03:20:01.7535789Z",
    "MetaDescription": "sample string 15",
    "targetaudiences": "ead62667-6fc1-4411-8691-292d61cda861",
    "Title": "sample string 17",
    "publishingoffices": "4556bffc-36f5-45f1-9b6e-af75364a4e8b",
    "targets": "1dbecaf3-2d02-4e1f-92bb-4e72ed62024e",
    "departmentaltargets": "aa5c6a39-2f0e-4c34-9607-cc191adb1d34",
    "regionscountries": "c67de3d5-f9d4-4e29-9a4f-ce4a2b810649",
    "Provider": "sample string 22",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  }
]

Get RelatedActivity by relatedKey

Returns a related item of type RelatedActivity from departmentaltechnicalunits item.

Copy GET /api/news/departmentaltechnicalunits({key})/RelatedActivity({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-09-12T03:20:01.7535789Z",
  "PublicationDate": "2025-09-12T03:20:01.7535789Z",
  "DateCreated": "2025-09-12T03:20:01.7535789Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "healthtopics": "9cd0f15d-528e-43d6-ae11-5ba1e207ee9a",
  "MetaTitle": "sample string 9",
  "Summary": "sample string 10",
  "OpenGraphTitle": "sample string 11",
  "ImpactStatistics": "sample string 12",
  "OpenGraphDescription": "sample string 13",
  "PublicationDateAndTime": "2025-09-12T03:20:01.7535789Z",
  "MetaDescription": "sample string 15",
  "targetaudiences": "2cb16fbb-8f43-4836-92d5-a8f6c21defd8",
  "Title": "sample string 17",
  "publishingoffices": "7dd83a42-7734-4ab8-8ff9-f092efc11529",
  "targets": "21246def-f009-4159-97db-7633cf0052e3",
  "departmentaltargets": "a9ddea00-3757-45a8-b667-665881e14d16",
  "regionscountries": "1d7aa4b4-9de7-49e0-b99f-3f2313209cd2",
  "Provider": "sample string 22",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-09-12T03:20:01.7535789+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Post RelatedActivity

Add RelatedActivity relation to departmentaltechnicalunits item.

Copy POST /api/news/departmentaltechnicalunits({key})/RelatedActivity/$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 RelatedActivity

Delete set of related items of type RelatedActivity from departmentaltechnicalunits item.

Copy DELETE /api/news/departmentaltechnicalunits({key})/RelatedActivity/$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 RelatedActivity by relatedKey

Delete relation of type RelatedActivity from departmentaltechnicalunits item.

Copy DELETE /api/news/departmentaltechnicalunits({key})/RelatedActivity({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.

Get ParentDepartment

Returns a set of related items of type ParentDepartment from departmentaltechnicalunits item.

Copy GET /api/news/departmentaltechnicalunits({key})/ParentDepartment
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-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "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-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  },
  {
    "LastModified": "2025-09-12T03:20:01.7535789Z",
    "PublicationDate": "2025-09-12T03:20:01.7535789Z",
    "DateCreated": "2025-09-12T03:20:01.7535789Z",
    "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-09-12T03:20:01.7535789+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    }
  }
]

Get ParentDepartment by relatedKey

Returns a related item of type ParentDepartment from departmentaltechnicalunits item.

Copy GET /api/news/departmentaltechnicalunits({key})/ParentDepartment({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

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-09-12T03:20:01.7535789Z",
  "PublicationDate": "2025-09-12T03:20:01.7535789Z",
  "DateCreated": "2025-09-12T03:20:01.7535789Z",
  "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-09-12T03:20:01.7535789+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  }
}

Post ParentDepartment

Add ParentDepartment relation to departmentaltechnicalunits item.

Copy POST /api/news/departmentaltechnicalunits({key})/ParentDepartment/$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 ParentDepartment

Delete set of related items of type ParentDepartment from departmentaltechnicalunits item.

Copy DELETE /api/news/departmentaltechnicalunits({key})/ParentDepartment/$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 ParentDepartment by relatedKey

Delete relation of type ParentDepartment from departmentaltechnicalunits item.

Copy DELETE /api/news/departmentaltechnicalunits({key})/ParentDepartment({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.