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-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "05188b20-b2a3-41a2-a2eb-e8b00f3faefb",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "e465fc94-49f0-4b0d-b9df-8d45819f7baf",
"trainingtypes": "226a5bf0-cad5-4ca0-a856-77e7484d00be",
"Overview": "sample string 12",
"trainingeligibility": "eca3045d-9b8a-45db-bf36-7002b96f9270",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "a5d5f93a-ac01-4535-95cc-a7d8d71e406f",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-16T19:20:48.0631723+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2026-10-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "05188b20-b2a3-41a2-a2eb-e8b00f3faefb",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "e465fc94-49f0-4b0d-b9df-8d45819f7baf",
"trainingtypes": "226a5bf0-cad5-4ca0-a856-77e7484d00be",
"Overview": "sample string 12",
"trainingeligibility": "eca3045d-9b8a-45db-bf36-7002b96f9270",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "a5d5f93a-ac01-4535-95cc-a7d8d71e406f",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-16T19:20:48.0631723+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-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "859c840b-283e-433b-bb49-140b45f29bc5",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "d42aa22f-b412-422e-adb7-dba081602026",
"trainingtypes": "8ac2552e-c2ee-47ce-9f22-80fb975725e4",
"Overview": "sample string 12",
"trainingeligibility": "51a52eaa-7bf4-4314-8b56-7ea484c693a9",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "fd5df537-bad2-4f67-945c-81d5ef440f20",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-16T19:20:48.0631723+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": "49a7d040-54e9-4537-992d-a16ddf43b636"
}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-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "831a7b6f-7006-48d8-9879-1e6254106b51",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "2ad0ddfb-39e8-4e72-a3d0-05c31dfd5872",
"trainingtypes": "019269d6-e0d9-4581-9e76-1448b481f34e",
"Overview": "sample string 9",
"trainingeligibility": "e49a6209-9cc1-4eb9-9eb6-0474d81bd092",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "5e56fbd2-5acb-4633-890c-869cf6b4b11e",
"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-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "531f7c9f-f03b-4e70-b63d-33e67e4ad8cb",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "3522806c-ed22-4a6e-af28-7e80ce954cc3",
"trainingtypes": "51be7e08-4ffb-455f-af9f-1fde48d6179f",
"Overview": "sample string 12",
"trainingeligibility": "e907d361-b6d4-4f24-8a13-2be814d2cba1",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "eddcb2ac-550a-4e5a-bf6c-80b44025744c",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-10-16T19:20:48.0631723+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-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "9e6c3631-68bb-4394-b9c1-03fc6853a37c",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "af0a6026-0cc6-4a4e-a15d-889f0f8f8304",
"trainingtypes": "2c0fe3d4-3acf-401a-a76e-702d28d74258",
"Overview": "sample string 9",
"trainingeligibility": "23320206-08ec-4e9a-b4c4-aacbb14d8c02",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "d0bb25c2-bcb3-4cbd-8b56-e9457a42ed76",
"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-16T19:20:48.0631723Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "5585f4af-9fee-400d-9c94-253528d3e6b8",
"TrainingStartDate": "2026-10-16T19:20:48.0631723Z",
"regionscountries": "d1bc526e-fb80-4c44-ba46-ef3cd057b521",
"trainingtypes": "213935dc-2f96-4ed2-a91b-fb1f3777e8d3",
"Overview": "sample string 9",
"trainingeligibility": "d7b40197-22bc-437e-84ae-3ab73a4c4c0f",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-10-16T19:20:48.0631723Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "10e6002e-c34d-42fd-9988-5e877acb5d5b",
"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 | |
| OptImgStatus | System.String | 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 | |
| IsOptimized | System.Boolean | 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 | |
| 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-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"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": "a4be5b8f-76ae-4273-8a86-b640c4f87b1d",
"OptImgStatus": "sample string 16",
"publishingoffices": "cc20f655-987a-4e11-89a7-890d835fcb59",
"events": "bdf7eedd-6a46-4886-9ce2-bd721572a5b3",
"targets": "9c1532bf-804d-4590-ae4e-c75593ee7980",
"Category": "1fa61b04-6305-43f7-90fc-19593473dd02",
"imagetypes": "258da68f-0a2f-4188-8324-561e5e6e2110",
"JoomlaArticleId": "sample string 22",
"departmentaltargets": "4ceefa10-e198-4baf-bc77-5e7f70be9a05",
"IsOptimized": true,
"stakeholders": "71107488-9254-4bb9-9f10-a2cb03be9a71",
"Tags": "7081edb4-0250-4f87-9916-3eab7b929906",
"healthtopics": "1e6fb76b-5132-4bb3-89ca-807e39c1aba6",
"targetaudiences": "90867056-b167-4927-a39f-60baeb135195",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "aff04eba-7a4f-470a-8d3a-71c34e260b21",
"ParentId": "b94392d3-9e8f-45bf-a300-d258651751d9",
"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-16T19:20:48.0631723Z",
"PublicationDate": "2026-10-16T19:20:48.0631723Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-10-16T19:20:48.0631723Z",
"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": "a4be5b8f-76ae-4273-8a86-b640c4f87b1d",
"OptImgStatus": "sample string 16",
"publishingoffices": "cc20f655-987a-4e11-89a7-890d835fcb59",
"events": "bdf7eedd-6a46-4886-9ce2-bd721572a5b3",
"targets": "9c1532bf-804d-4590-ae4e-c75593ee7980",
"Category": "1fa61b04-6305-43f7-90fc-19593473dd02",
"imagetypes": "258da68f-0a2f-4188-8324-561e5e6e2110",
"JoomlaArticleId": "sample string 22",
"departmentaltargets": "4ceefa10-e198-4baf-bc77-5e7f70be9a05",
"IsOptimized": true,
"stakeholders": "71107488-9254-4bb9-9f10-a2cb03be9a71",
"Tags": "7081edb4-0250-4f87-9916-3eab7b929906",
"healthtopics": "1e6fb76b-5132-4bb3-89ca-807e39c1aba6",
"targetaudiences": "90867056-b167-4927-a39f-60baeb135195",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "aff04eba-7a4f-470a-8d3a-71c34e260b21",
"ParentId": "b94392d3-9e8f-45bf-a300-d258651751d9",
"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.