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-09-20T23:28:01.5368275Z",
"PublicationDate": "2026-09-20T23:28:01.5368275Z",
"DateCreated": "2026-09-20T23:28:01.5368275Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "fe56bda2-8de2-48d5-a42b-079919baac2b",
"TrainingStartDate": "2026-09-20T23:28:01.5368275Z",
"regionscountries": "1cbc1903-8276-4779-aef5-b486f9e3dd53",
"trainingtypes": "3f26f932-cb81-4f5d-838d-a00ad7cbd4da",
"Overview": "sample string 12",
"trainingeligibility": "59d0923d-96f5-4199-ad95-e4a1252cae55",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-09-20T23:28:01.5368275Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "ee1b2c22-0cc7-4d52-b51b-7b3f18b5a9f3",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-09-20T23:28:01.5368275+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2026-09-20T23:28:01.5368275Z",
"PublicationDate": "2026-09-20T23:28:01.5368275Z",
"DateCreated": "2026-09-20T23:28:01.5368275Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "fe56bda2-8de2-48d5-a42b-079919baac2b",
"TrainingStartDate": "2026-09-20T23:28:01.5368275Z",
"regionscountries": "1cbc1903-8276-4779-aef5-b486f9e3dd53",
"trainingtypes": "3f26f932-cb81-4f5d-838d-a00ad7cbd4da",
"Overview": "sample string 12",
"trainingeligibility": "59d0923d-96f5-4199-ad95-e4a1252cae55",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-09-20T23:28:01.5368275Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "ee1b2c22-0cc7-4d52-b51b-7b3f18b5a9f3",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-09-20T23:28:01.5368275+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-09-20T23:28:01.5368275Z",
"PublicationDate": "2026-09-20T23:28:01.5368275Z",
"DateCreated": "2026-09-20T23:28:01.5368275Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "4c79d7a4-0d56-496f-b8b0-bdee87e4af64",
"TrainingStartDate": "2026-09-20T23:28:01.5368275Z",
"regionscountries": "43bd65bf-ee92-4966-999d-c35245b0831c",
"trainingtypes": "ae9960ef-30c3-4e90-8392-c11e158d4f16",
"Overview": "sample string 12",
"trainingeligibility": "6ffbfc3d-54e4-4a61-abf6-e168a0967402",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-09-20T23:28:01.5368275Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "987762ed-cd3c-4d77-ac45-9c7a91618f90",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-09-20T23:28:01.5368275+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": "7f13e605-cbbf-472b-ba8b-1e9c668d55f4"
}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-09-20T23:28:01.5379118Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "d13f0fed-b09a-4a70-9161-67a5fe6933a6",
"TrainingStartDate": "2026-09-20T23:28:01.5379118Z",
"regionscountries": "6ff7454c-f9a2-4393-922a-17bb960fa4c4",
"trainingtypes": "2ad25729-9919-45cf-98ee-892d0649053d",
"Overview": "sample string 9",
"trainingeligibility": "9f366712-c175-43af-8cea-25e2153d774c",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-09-20T23:28:01.5379118Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "329f1ccc-b78a-4aef-b757-36ad139490d7",
"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-09-20T23:28:01.5379118Z",
"PublicationDate": "2026-09-20T23:28:01.5379118Z",
"DateCreated": "2026-09-20T23:28:01.5379118Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "ebdaaa76-7afe-4505-b2b1-45813630220d",
"TrainingStartDate": "2026-09-20T23:28:01.5379118Z",
"regionscountries": "47db6d51-9fb3-4a66-8c30-21fff023f014",
"trainingtypes": "34330927-eb6b-4699-a777-c4ab906f538e",
"Overview": "sample string 12",
"trainingeligibility": "07257264-5a4c-4ab0-85a0-0c09466684e2",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-09-20T23:28:01.5379118Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "daa39aaa-18c1-42e9-b62a-92941e2eb843",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-09-20T23:28:01.5379118+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-09-20T23:28:01.5379118Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "0b9c2648-157d-4dd3-94c3-bdaafab7064a",
"TrainingStartDate": "2026-09-20T23:28:01.5379118Z",
"regionscountries": "74ccbf73-2a51-4304-a067-625c6f4f400e",
"trainingtypes": "aa2bbff6-8a00-4ac9-97e1-c7c31d90fbbc",
"Overview": "sample string 9",
"trainingeligibility": "b7bcab7c-2c1f-4529-8232-4f6f0d94b0ac",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-09-20T23:28:01.5379118Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "b43f2d7b-4f0b-47bd-b397-f1578d26f974",
"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-09-20T23:28:01.5379118Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "dfab1762-d46d-4e77-9c93-cf43818a78c6",
"TrainingStartDate": "2026-09-20T23:28:01.5379118Z",
"regionscountries": "75096e4f-32aa-46f8-bd24-051a22a00c5d",
"trainingtypes": "9b4778cf-4277-4885-89ae-cb2280ea2b4d",
"Overview": "sample string 9",
"trainingeligibility": "3da4e5de-bd11-4ad6-a309-110d3d282981",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-09-20T23:28:01.5379118Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "4e637d98-9568-4d24-9c87-f73d4ffe3752",
"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-09-20T23:28:01.5379118Z",
"PublicationDate": "2026-09-20T23:28:01.5379118Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-09-20T23:28:01.5379118Z",
"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": "5d612845-3358-44c6-94ed-10799b73b4da",
"publishingoffices": "e91e08ba-5da4-4460-93d5-f1bf23e336c8",
"events": "7c25c769-dc51-47c1-9a8e-f055deb31b27",
"targets": "49f4f323-e786-4bae-93d0-99c73740315f",
"Category": "8dbbfced-15d2-4f6f-b820-f33b3321d45b",
"imagetypes": "609805c2-8152-4142-a67c-82f627bb6743",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "81673e13-3bed-48d4-b91d-8acc65c60e79",
"stakeholders": "94f44e01-be18-488c-838a-e83e133f5926",
"Tags": "88ea6bb1-3627-4357-815f-cfbc67e2ca37",
"healthtopics": "ffffe77e-e9d7-4671-81c4-09c0721b5927",
"targetaudiences": "99fb59b4-d76e-4b5b-936d-aff5a88e4ab7",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "d4a3accb-eb55-465d-bb2d-c8ea66a5d274",
"ParentId": "2251eeea-848c-4f4f-9e92-f542203bfc91",
"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-09-20T23:28:01.5379118Z",
"PublicationDate": "2026-09-20T23:28:01.5379118Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-09-20T23:28:01.5379118Z",
"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": "5d612845-3358-44c6-94ed-10799b73b4da",
"publishingoffices": "e91e08ba-5da4-4460-93d5-f1bf23e336c8",
"events": "7c25c769-dc51-47c1-9a8e-f055deb31b27",
"targets": "49f4f323-e786-4bae-93d0-99c73740315f",
"Category": "8dbbfced-15d2-4f6f-b820-f33b3321d45b",
"imagetypes": "609805c2-8152-4142-a67c-82f627bb6743",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "81673e13-3bed-48d4-b91d-8acc65c60e79",
"stakeholders": "94f44e01-be18-488c-838a-e83e133f5926",
"Tags": "88ea6bb1-3627-4357-815f-cfbc67e2ca37",
"healthtopics": "ffffe77e-e9d7-4671-81c4-09c0721b5927",
"targetaudiences": "99fb59b4-d76e-4b5b-936d-aff5a88e4ab7",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "d4a3accb-eb55-465d-bb2d-c8ea66a5d274",
"ParentId": "2251eeea-848c-4f4f-9e92-f542203bfc91",
"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.