RESTful API

Trainings

Get trainings

Returns a set of data items of type trainings.

Copy GET /api/hubs/trainings
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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Resource Format

Response Formats
Copy
application/json
[
  {
    "LastModified": "2025-09-12T02:52:12.9084983Z",
    "PublicationDate": "2025-09-12T02:52:12.9084983Z",
    "DateCreated": "2025-09-12T02:52:12.9084983Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "7046fbe3-0ba4-4ea1-89f5-c722714b4f10",
    "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
    "regionscountries": "171320bd-78ef-4a69-925f-537f720ff4d1",
    "trainingtypes": "f88a2ca7-dcc2-43c1-9d6f-5234d1c21bb5",
    "Overview": "sample string 12",
    "trainingeligibility": "9d87e949-9974-43af-977c-e45a460a5faf",
    "Title": "sample string 14",
    "ContactInformation": "sample string 15",
    "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
    "SignUpUrl": "sample string 17",
    "publishingoffices": "83beed4d-2328-4290-a2dd-7e121c6f04b0",
    "IsMultipart": true,
    "Summary": "sample string 20",
    "Provider": "sample string 21",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T02:52:12.9084983+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    },
    "FormatedDate": "sample string 22",
    "ThumbnailUrl": "sample string 23"
  },
  {
    "LastModified": "2025-09-12T02:52:12.9084983Z",
    "PublicationDate": "2025-09-12T02:52:12.9084983Z",
    "DateCreated": "2025-09-12T02:52:12.9084983Z",
    "IncludeInSitemap": true,
    "SystemSourceKey": "sample string 5",
    "UrlName": "sample string 6",
    "ItemDefaultUrl": "sample string 7",
    "healthtopics": "7046fbe3-0ba4-4ea1-89f5-c722714b4f10",
    "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
    "regionscountries": "171320bd-78ef-4a69-925f-537f720ff4d1",
    "trainingtypes": "f88a2ca7-dcc2-43c1-9d6f-5234d1c21bb5",
    "Overview": "sample string 12",
    "trainingeligibility": "9d87e949-9974-43af-977c-e45a460a5faf",
    "Title": "sample string 14",
    "ContactInformation": "sample string 15",
    "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
    "SignUpUrl": "sample string 17",
    "publishingoffices": "83beed4d-2328-4290-a2dd-7e121c6f04b0",
    "IsMultipart": true,
    "Summary": "sample string 20",
    "Provider": "sample string 21",
    "Comments": {
      "Name": "sample string 1",
      "Message": "sample string 2",
      "DateCreated": "2025-09-12T02:52:12.9084983+00:00",
      "ProfilePictureUrl": "sample string 4",
      "ProfilePictureThumbnailUrl": "sample string 5"
    },
    "FormatedDate": "sample string 22",
    "ThumbnailUrl": "sample string 23"
  }
]

Get trainings by key

Gets trainings item by id.

Copy GET /api/hubs/trainings({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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2025-09-12T02:52:12.9084983Z",
  "PublicationDate": "2025-09-12T02:52:12.9084983Z",
  "DateCreated": "2025-09-12T02:52:12.9084983Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "healthtopics": "3f47e0ba-030e-423c-ae86-6c75c7684fd3",
  "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
  "regionscountries": "9147a863-3498-483e-b66e-63acf7b03e6d",
  "trainingtypes": "f091549d-74f7-4f88-a219-df9314ef54aa",
  "Overview": "sample string 12",
  "trainingeligibility": "ec6edcaf-7850-4f6b-bd42-0afbdb16cf23",
  "Title": "sample string 14",
  "ContactInformation": "sample string 15",
  "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
  "SignUpUrl": "sample string 17",
  "publishingoffices": "f08a6485-c21e-4986-8cc0-b1001b4c33f3",
  "IsMultipart": true,
  "Summary": "sample string 20",
  "Provider": "sample string 21",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-09-12T02:52:12.9084983+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  },
  "FormatedDate": "sample string 22",
  "ThumbnailUrl": "sample string 23"
}

Get property

Gets Id property from trainings item.

Copy GET /api/hubs/trainings({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": "0ad3c6c9-f26a-435f-9fb8-fb195fa57095"
}

Post trainings

Creates a trainings item.

Copy POST /api/hubs/trainings
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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-09-12T02:52:12.9084983Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "healthtopics": "04a4747d-e8e1-4ac4-99a8-c5ef954c1633",
  "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
  "regionscountries": "05ccd7b3-91f9-4d19-996e-893026d9406e",
  "trainingtypes": "36401993-dac8-48e2-bed7-c20529c1d7d4",
  "Overview": "sample string 9",
  "trainingeligibility": "8379cb9b-0fce-4ed4-a977-eab2dda590bd",
  "Title": "sample string 11",
  "ContactInformation": "sample string 12",
  "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
  "SignUpUrl": "sample string 14",
  "publishingoffices": "1783f23e-0480-4966-bc19-36f297f7a84e",
  "IsMultipart": true,
  "Summary": "sample string 17"
}
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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Resource Format

Response Formats
Copy
application/json
{
  "LastModified": "2025-09-12T02:52:12.9084983Z",
  "PublicationDate": "2025-09-12T02:52:12.9084983Z",
  "DateCreated": "2025-09-12T02:52:12.9084983Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 5",
  "UrlName": "sample string 6",
  "ItemDefaultUrl": "sample string 7",
  "healthtopics": "2cad5bd1-7713-4de8-9821-9e70bafffa05",
  "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
  "regionscountries": "7b7f27e2-9ee7-4e84-b3cc-85548f1dc90a",
  "trainingtypes": "b1e28aed-ad95-47b9-8517-6f5b7965f8d1",
  "Overview": "sample string 12",
  "trainingeligibility": "bf0a3c41-a4f9-4fe5-997c-0b4f7ae77e45",
  "Title": "sample string 14",
  "ContactInformation": "sample string 15",
  "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
  "SignUpUrl": "sample string 17",
  "publishingoffices": "6120f549-1565-4000-a52f-f241ff26f1c4",
  "IsMultipart": true,
  "Summary": "sample string 20",
  "Provider": "sample string 21",
  "Comments": {
    "Name": "sample string 1",
    "Message": "sample string 2",
    "DateCreated": "2025-09-12T02:52:12.9084983+00:00",
    "ProfilePictureUrl": "sample string 4",
    "ProfilePictureThumbnailUrl": "sample string 5"
  },
  "FormatedDate": "sample string 22",
  "ThumbnailUrl": "sample string 23"
}

Patch trainings by key

Partial update for trainings item.

Copy PATCH /api/hubs/trainings({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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-09-12T02:52:12.9084983Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "healthtopics": "55e07c6c-2a30-4551-a4d0-4a4e12acc16d",
  "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
  "regionscountries": "09c0a470-d050-4a13-a406-6b399c7ee9ed",
  "trainingtypes": "572d1741-6451-420d-9d86-50733008713f",
  "Overview": "sample string 9",
  "trainingeligibility": "72a2201d-a844-43a4-8081-c8808f7707bc",
  "Title": "sample string 11",
  "ContactInformation": "sample string 12",
  "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
  "SignUpUrl": "sample string 14",
  "publishingoffices": "e15e9f39-52f1-4d60-a489-943d5c52e0e5",
  "IsMultipart": true,
  "Summary": "sample string 17"
}
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 trainings by key

Full update for trainings item.

Copy PUT /api/hubs/trainings({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

healthtopics

System.Guid

Read only: False
Selected by default: False

TrainingStartDate

System.DateTimeOffset

Read only: False
Selected by default: True

regionscountries

System.Guid

Read only: False
Selected by default: False

trainingtypes

System.Guid

Read only: False
Selected by default: False

Overview

System.String

Read only: False
Selected by default: True

trainingeligibility

System.Guid

Read only: False
Selected by default: False

Title

System.String

Read only: False
Selected by default: True

ContactInformation

System.String

Read only: False
Selected by default: True

TrainingEndDate

System.DateTimeOffset

Read only: False
Selected by default: True

SignUpUrl

System.String

Read only: False
Selected by default: True

publishingoffices

System.Guid

Read only: False
Selected by default: False

IsMultipart

System.Boolean

Read only: False
Selected by default: True

Summary

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

FormatedDate

System.String

Read only: True
Selected by default: True

ThumbnailUrl

System.String

Read only: True
Selected by default: True

Request Formats
Copy
application/json
{
  "PublicationDate": "2025-09-12T02:52:12.9084983Z",
  "IncludeInSitemap": true,
  "SystemSourceKey": "sample string 3",
  "UrlName": "sample string 4",
  "healthtopics": "535aa372-4a6d-4fc4-9a3d-e9b570a1660d",
  "TrainingStartDate": "2025-09-12T02:52:12.9084983Z",
  "regionscountries": "3a6ff70a-665c-4796-a282-2c50ba3c010a",
  "trainingtypes": "2f2fa9e1-8265-4c86-b3af-c40dcf1b3bac",
  "Overview": "sample string 9",
  "trainingeligibility": "f0d07c43-b429-48d4-9a8b-381983ed36e8",
  "Title": "sample string 11",
  "ContactInformation": "sample string 12",
  "TrainingEndDate": "2025-09-12T02:52:12.9084983Z",
  "SignUpUrl": "sample string 14",
  "publishingoffices": "3930c3f7-36fe-40a1-9995-a6d8904a34a3",
  "IsMultipart": true,
  "Summary": "sample string 17"
}
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 trainings by key

Deletes a trainings item by Id.

Copy DELETE /api/hubs/trainings({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.