Returns a set of data items of type trainings.
GET /api/default/trainings
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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
[
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "5065d278-c50b-4a15-8d0c-8465bbbcd12b",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "6fcdbf6d-96c9-40a8-8fb3-868689235629",
"trainingtypes": "a6ca9639-c477-42b8-920a-f177cc446f25",
"Overview": "sample string 12",
"trainingeligibility": "05dc7084-ef5f-4f4b-b991-5efc36bb52e4",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "19ed86ad-38b3-4cce-a04f-cf9ff5c8fa38",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-13T16:29:18.9714995+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "5065d278-c50b-4a15-8d0c-8465bbbcd12b",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "6fcdbf6d-96c9-40a8-8fb3-868689235629",
"trainingtypes": "a6ca9639-c477-42b8-920a-f177cc446f25",
"Overview": "sample string 12",
"trainingeligibility": "05dc7084-ef5f-4f4b-b991-5efc36bb52e4",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "19ed86ad-38b3-4cce-a04f-cf9ff5c8fa38",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-13T16:29:18.9714995+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}
]Gets trainings item by id.
GET /api/default/trainings({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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "7aacae39-6ffc-4124-aef7-6aaa93669887",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "2e970c46-3a46-491e-9703-2fb2d4416859",
"trainingtypes": "99518aa2-cb5b-4e60-a0b7-278a42796126",
"Overview": "sample string 12",
"trainingeligibility": "d1994191-b490-4fb8-add3-d74a964a0f77",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "56a6c9e7-7253-4908-9c4b-19db010e6c65",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-13T16:29:18.9714995+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Gets Id property from trainings item.
GET /api/default/trainings({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": "c76ef59c-3f3e-4b85-9c0e-82c2c6a66b4f"
}Creates a trainings item.
POST /api/default/trainings
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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "ba056c2e-79b1-4c65-9c2d-496824f5b0a5",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "aba45ea6-5611-4d93-ae46-38622e492dbb",
"trainingtypes": "eeb3f853-51a9-4359-8a2a-d4077f120d49",
"Overview": "sample string 9",
"trainingeligibility": "be64c575-0279-4687-b6cf-920d70d7f8e4",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "68ed4711-425f-4cde-9d91-5bde46abe36f",
"IsMultipart": true,
"Summary": "sample string 17"
}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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "402a7f0c-d331-4602-bb83-0e1b7a6fd003",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "ffc8744d-74c4-4d61-9326-0266793dcf10",
"trainingtypes": "d8be62c4-305e-48c0-bb13-98f1539a0676",
"Overview": "sample string 12",
"trainingeligibility": "2564c84e-5be9-4f4e-b9e1-36caf0802597",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "72da57f4-2a74-4bde-a143-a64fd78d0ca7",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-13T16:29:18.9714995+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Partial update for trainings item.
PATCH /api/default/trainings({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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "7fd0338f-7927-4dc8-a755-60cad5267f3c",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "0023fe42-e6e0-4529-98ba-c32ae7911b6c",
"trainingtypes": "68a8ba61-a570-44c5-aa04-6f4ee37761f5",
"Overview": "sample string 9",
"trainingeligibility": "f9abba29-b113-4547-811c-8d1b538ee62a",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "81dc23c9-08ff-479e-8534-b1d8f0f99d47",
"IsMultipart": true,
"Summary": "sample string 17"
}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 trainings item.
PUT /api/default/trainings({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 | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "ae4257cf-ce84-4a3e-afbf-3de6217a9d0b",
"TrainingStartDate": "2026-10-13T16:29:18.9714995Z",
"regionscountries": "92167af1-f429-4560-8517-7d5a3623af14",
"trainingtypes": "9eb103e4-cc2a-4c1c-a12f-ae1ea2c3fad8",
"Overview": "sample string 9",
"trainingeligibility": "4a8b9470-335b-4256-8981-c4031112b667",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-13T16:29:18.9714995Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "c7ac4be7-0500-4290-a04e-120f4dc3822a",
"IsMultipart": true,
"Summary": "sample string 17"
}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 trainings item by Id.
DELETE /api/default/trainings({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 MainImage from trainings item.
GET /api/default/trainings({key})/MainImage
| 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 | |
| Title | System.String | Read only: False | |
| Description | System.String | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| Ordinal | System.Single | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Author | System.String | Read only: False | |
| Extension | System.String | Read only: True | |
| MimeType | System.String | Read only: True | |
| TotalSize | System.Int64 | Read only: True | |
| regionscountries | System.Guid | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| events | System.Guid | Read only: False | |
| targets | System.Guid | Read only: False | |
| Category | System.Guid | Read only: False | |
| imagetypes | System.Guid | Read only: False | |
| JoomlaArticleId | System.String | Read only: False | |
| departmentaltargets | System.Guid | Read only: False | |
| stakeholders | System.Guid | Read only: False | |
| Tags | System.Guid | Read only: False | |
| healthtopics | System.Guid | Read only: False | |
| targetaudiences | System.Guid | Read only: False | |
| IsOptimized | System.Boolean | Read only: False | |
| OptImgStatus | System.String | Read only: False | |
| Width | System.Int32 | Read only: True | |
| Height | System.Int32 | Read only: True | |
| AlternativeText | System.String | Read only: False | |
| FolderId | System.Guid | Read only: False | |
| ParentId | System.Guid | Read only: False | |
| Provider | System.String | Read only: True | |
| Url | System.String | Read only: True | |
| ThumbnailUrl | System.String | Read only: True | |
| Thumbnails | Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel | Read only: True | |
| IsDamMedia | System.Boolean | Read only: True |
application/json
[
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 7",
"Ordinal": 8.1,
"UrlName": "sample string 9",
"ItemDefaultUrl": "sample string 10",
"Author": "sample string 11",
"Extension": "sample string 12",
"MimeType": "sample string 13",
"TotalSize": 14,
"regionscountries": "b4e7a927-dd61-46b3-805b-9cac65faf1d2",
"publishingoffices": "e701268e-50ac-4baf-aee4-d2efb2cbf010",
"events": "ee8331a0-4d7a-4cff-8c3e-bcac00e740d2",
"targets": "4759bb8a-c7fa-42e7-9da1-c3e724a2e23f",
"Category": "d418f322-b874-4b82-b27c-84fa1a59b3e3",
"imagetypes": "c9083f05-e598-4b7b-a468-d1ea2806cb9f",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "88386067-a4d1-4dcd-9773-5d6b6fba1219",
"stakeholders": "6265979f-97d7-4105-8f1f-79a59c172807",
"Tags": "08305522-1a69-49ec-b64f-64e0b4b17394",
"healthtopics": "f95462b6-b324-428e-be48-f38195a11942",
"targetaudiences": "42a11455-acfb-44a5-b6e0-19dccf9f937a",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "d600fa2b-063e-4c97-a457-ec35fa77b520",
"ParentId": "66aa01fc-cce3-44d6-bec1-4a00778b8faa",
"Provider": "sample string 34",
"Url": "sample string 35",
"ThumbnailUrl": "sample string 36",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3,
"Height": 4,
"MimeType": "sample string 5"
},
"IsDamMedia": true
},
{
"LastModified": "2026-10-13T16:29:18.9714995Z",
"PublicationDate": "2026-10-13T16:29:18.9714995Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-10-13T16:29:18.9714995Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 7",
"Ordinal": 8.1,
"UrlName": "sample string 9",
"ItemDefaultUrl": "sample string 10",
"Author": "sample string 11",
"Extension": "sample string 12",
"MimeType": "sample string 13",
"TotalSize": 14,
"regionscountries": "b4e7a927-dd61-46b3-805b-9cac65faf1d2",
"publishingoffices": "e701268e-50ac-4baf-aee4-d2efb2cbf010",
"events": "ee8331a0-4d7a-4cff-8c3e-bcac00e740d2",
"targets": "4759bb8a-c7fa-42e7-9da1-c3e724a2e23f",
"Category": "d418f322-b874-4b82-b27c-84fa1a59b3e3",
"imagetypes": "c9083f05-e598-4b7b-a468-d1ea2806cb9f",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "88386067-a4d1-4dcd-9773-5d6b6fba1219",
"stakeholders": "6265979f-97d7-4105-8f1f-79a59c172807",
"Tags": "08305522-1a69-49ec-b64f-64e0b4b17394",
"healthtopics": "f95462b6-b324-428e-be48-f38195a11942",
"targetaudiences": "42a11455-acfb-44a5-b6e0-19dccf9f937a",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "d600fa2b-063e-4c97-a457-ec35fa77b520",
"ParentId": "66aa01fc-cce3-44d6-bec1-4a00778b8faa",
"Provider": "sample string 34",
"Url": "sample string 35",
"ThumbnailUrl": "sample string 36",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3,
"Height": 4,
"MimeType": "sample string 5"
},
"IsDamMedia": true
}
]Add MainImage relation to trainings item.
POST /api/default/trainings({key})/MainImage/$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 MainImage from trainings item.
DELETE /api/default/trainings({key})/MainImage/$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.